Messages in this thread | | | Date | Sat, 2 Apr 2016 20:20:32 +0200 | Subject | Re: [intel-pstate driver regression] processor frequency very high even if in idle | From | Sedat Dilek <> |
| |
On Sat, Apr 2, 2016 at 7:19 PM, Jörg Otte <jrg.otte@gmail.com> wrote: > 2016-04-02 17:28 GMT+02:00 Srinivas Pandruvada > <srinivas.pandruvada@linux.intel.com>: >> >> 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 -
| |