From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752373AbcDCS74 (ORCPT ); Sun, 3 Apr 2016 14:59:56 -0400 Received: from cmta5.telus.net ([209.171.16.78]:56127 "EHLO cmta5.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751700AbcDCS7y convert rfc822-to-8bit (ORCPT ); Sun, 3 Apr 2016 14:59:54 -0400 X-Authority-Analysis: v=2.1 cv=QPGVPV/L 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=Ef4qtbom1VFkRl90kncA:9 a=QEXdDO2ut3YA:10 X-Telus-Outbound-IP: 173.180.45.4 From: "Doug Smythies" To: Cc: "'Srinivas Pandruvada'" , "'Rafael J. Wysocki'" , "'Linux PM list'" , "'LKML'" , "=?UTF-8?Q?'J=C3=B6rg_Otte'?=" References: <1459376311.13525.108.camel@linux.intel.com> <003b01d18ad6$831941c0$894bc540$@net> <002301d18b59$d208fe50$761afaf0$@net> <1459610923.5912.36.camel@linux.intel.com> In-Reply-To: Subject: RE: [intel-pstate driver regression] processor frequency very high even if in idle Date: Sun, 3 Apr 2016 11:59:51 -0700 Message-ID: <001201d18ddb$0102ccd0$03086670$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdGNDFg91hEppEr3RAOa1+mpZ9I/8AAyfCwg Content-Language: en-ca Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2016.04.02 11:21 Sedat Dilek wrote: > On Sat, Apr 2, 2016 at 7:19 PM, Jörg Otte wrote: >> 2016-04-02 17:28 GMT+02:00 Srinivas Pandruvada wrote: >>> >>> If you are using Ubuntu, the OS has a script which will automatically >>> change from performance. >>> Doug can give more information on this script. > >> maybe: >> /etc/init.d/ondemand Yes. > With CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y (linux-pm.git#linux-next) I get... > > $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver > acpi-cpufreq > acpi-cpufreq > acpi-cpufreq > acpi-cpufreq > > $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor > ondemand > ondemand > ondemand > ondemand Yes, those are the expected results for the acpi-cpufreq CPU frequency scaling driver. You should be able to observe the governor set to sched util for the first minute after re-boot and/or if you set it yourself after the /etc/init.d/ondemand script has finished (i.e. more than 1 minute after re-boot.) > ...is there a difference when using intel_pstate as scaling_driver? Yes, but only because there are different available governors for the two drivers. > Are the scripts of Ubuntu working properly with acpi-cpufreq (only)? As far as I know the /etc/init.d/ondemand is working properly. It sets the acpi-cpufreq driver to use the "ondemand" governor and it sets the intel_pstate driver to use the "powersave" governor. ... Doug