lkml.org 
[lkml]   [2016]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [intel-pstate driver regression] processor frequency very high even if in idle
    From
    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 -

    \
     
     \ /
      Last update: 2016-04-02 20:41    [W:2.659 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site