Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752676AbcDBSUf (ORCPT ); Sat, 2 Apr 2016 14:20:35 -0400 Received: from mail-vk0-f65.google.com ([209.85.213.65]:34663 "EHLO mail-vk0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751267AbcDBSUd convert rfc822-to-8bit (ORCPT ); Sat, 2 Apr 2016 14:20:33 -0400 MIME-Version: 1.0 Reply-To: sedat.dilek@gmail.com In-Reply-To: References: <1459376311.13525.108.camel@linux.intel.com> <003b01d18ad6$831941c0$894bc540$@net> <002301d18b59$d208fe50$761afaf0$@net> <1459610923.5912.36.camel@linux.intel.com> Date: Sat, 2 Apr 2016 20:20:32 +0200 Message-ID: Subject: Re: [intel-pstate driver regression] processor frequency very high even if in idle From: Sedat Dilek To: =?UTF-8?Q?J=C3=B6rg_Otte?= Cc: Srinivas Pandruvada , Doug Smythies , "Rafael J. Wysocki" , Linux PM list , LKML Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1662 Lines: 68 On Sat, Apr 2, 2016 at 7:19 PM, Jörg Otte wrote: > 2016-04-02 17:28 GMT+02:00 Srinivas Pandruvada > : >> >> On Sat, 2016-04-02 at 08:30 +0200, Sedat Dilek wrote: >>> > I am trying CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y from >>> > linux-pm.git#linux-next out of curiosity... >>> > >>> > $ ./scripts/diffconfig /boot/config-$(uname -r) .config >>> > CPU_FREQ_DEFAULT_GOV_PERFORMANCE y -> n >>> > +CPU_FREQ_DEFAULT_GOV_SCHEDUTIL y >>> > +CPU_FREQ_GOV_ATTR_SET y >>> > +CPU_FREQ_GOV_SCHEDUTIL y >>> > >>> > ...will report. >>> > >>> >>> Not sure why I see here "powersave". >>> Does Intel-PState driver not support CPU_FREQ_GOV_SCHEDUTIL? >>> >>> $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver >>> intel_pstate >>> intel_pstate >>> intel_pstate >>> intel_pstate >>> >>> $ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor >>> powersave >>> powersave >>> powersave >>> powersave >> >> If you are using Ubuntu, the OS has a script which will automatically >> change from performance. >> Doug can give more information on this script. >> >> Thanks, >> Srinivas >> >> >> >>> >>> See also attached files. >>> >>> - sed@ - > > maybe: > /etc/init.d/ondemand > 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 ...is there a difference when using intel_pstate as scaling_driver? Are the scripts of Ubuntu working properly with acpi-cpufreq (only)? - Sedat -