Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757326AbcCaOaO (ORCPT ); Thu, 31 Mar 2016 10:30:14 -0400 Received: from cmta6.telus.net ([209.171.16.79]:43837 "EHLO cmta6.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756973AbcCaOaL (ORCPT ); Thu, 31 Mar 2016 10:30:11 -0400 X-Authority-Analysis: v=2.1 cv=J7hXl1TS c=1 sm=2 tr=0 a=zJWegnE7BH9C0Gl4FFgQyA==:117 a=zJWegnE7BH9C0Gl4FFgQyA==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=Pyq9K9CWowscuQLKlpiwfMBGOR0=:19 a=IkcTkHD0fZMA:10 a=aatUQebYAAAA:8 a=SUZsYj4mz9dtG8y-E1gA:9 a=QEXdDO2ut3YA:10 X-Telus-Outbound-IP: 173.180.45.4 From: "Doug Smythies" To: Cc: "'Srinivas Pandruvada'" , "'Rafael J. Wysocki'" , "=?utf-8?Q?'J=C3=B6rg_Otte'?=" , , "'LKML'" References: <1459376311.13525.108.camel@linux.intel.com> <003b01d18ad6$831941c0$894bc540$@net> In-Reply-To: Subject: RE: [intel-pstate driver regression] processor frequency very high even if in idle Date: Thu, 31 Mar 2016 07:30:04 -0700 Message-ID: <002301d18b59$d208fe50$761afaf0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdGLJNNEXDrLnYnwS8WyiXGDA7vyUwAMtKpQ Content-Language: en-ca Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1909 Lines: 54 On 2016.03.31 01:11 Sedat Dilek wrote: > On Thu, Mar 31, 2016 at 12:50 AM, Doug Smythies wrote: >> On 2106.03.30 15:19 Srinivas Pandruvada wrote: >>>> >>>> Please see attached files. >>>> >>> Thanks. Your logs make sense. You have config set to performance mode >>> by default (Which I believe default in all kernel Ubuntu). >> >> Yes, but via a startup script, by default Ubuntu sets the governor >> to powersave 1 minute after boot (or ondemand if acpi-cpufreq). >> > > Can you give more and precise informations on this? > script-name etc. The script is /etc/init.d/ondemand It sleeps for 1 minute and then sets the scaling governor, based on availability, in the following order: interactive ondemand powersave See also: $ ls -l /etc/rc?.d/S06ondemand lrwxrwxrwx 1 root root 18 Mar 8 09:51 /etc/rc2.d/S06ondemand -> ../init.d/ondemand lrwxrwxrwx 1 root root 18 Mar 8 09:51 /etc/rc3.d/S06ondemand -> ../init.d/ondemand lrwxrwxrwx 1 root root 18 Mar 8 09:51 /etc/rc4.d/S06ondemand -> ../init.d/ondemand lrwxrwxrwx 1 root root 18 Mar 8 09:51 /etc/rc5.d/S06ondemand -> ../init.d/ondemand >From your other e-mail: > is somehow showing higher > values than TSC_MHz. > Not sure if this really make sense if TSC_MHz is a max-value (which I > don't know it is). That is normal, and is turbo mode. Example: $ sudo turbostat -i 3 --msr=0x199 CPU Avg_MHz %Busy Bzy_MHz TSC_MHz MSR 0x199 - 478 12.53 3798 3413 0x00000000 0 3 0.09 3595 3413 0x00002500 4 1 0.03 3568 3413 0x00001000 1 4 0.11 3649 3413 0x00001200 5 2 0.07 3592 3413 0x00001000 2 3 0.08 3628 3413 0x00001000 6 1 0.03 3546 3413 0x00001000 3 1 0.02 3733 3413 0x00001000 7 3808 99.91 3799 3411 0x00002600 ... Doug