Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1241309

Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch

From Prarit Bhargava <prarit@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch
Date 2015-10-07 12:10 +0200
Message-ID <qgTPC-1CH-53@gated-at.bofh.it> (permalink)
References <qgIhs-1Li-7@gated-at.bofh.it> <qgIUa-2Jx-13@gated-at.bofh.it> <qgJ3R-2UE-35@gated-at.bofh.it> <qgQRI-5Cp-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 10/07/2015 02:51 AM, Doug Smythies wrote:

> 
> And before patch I get, using primitives and not cpupower:
> Executive Summary: Everything works fine (or at least as I thought it was supposed to).
> 
> root@s15:/home/doug/temp# grep . /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:powersave
> ...
> /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor:powersave
> root@s15:/home/doug/temp# grep . /sys/devices/system/cpu/intel_pstate/*_perf_*
> /sys/devices/system/cpu/intel_pstate/max_perf_pct:100
> /sys/devices/system/cpu/intel_pstate/min_perf_pct:42
> root@s15:/home/doug/temp# echo 50 > /sys/devices/system/cpu/intel_pstate/min_perf_pct
> root@s15:/home/doug/temp# echo 80 > /sys/devices/system/cpu/intel_pstate/max_perf_pct
> root@s15:/home/doug/temp# grep . /sys/devices/system/cpu/intel_pstate/*_perf_*
> /sys/devices/system/cpu/intel_pstate/max_perf_pct:80
> /sys/devices/system/cpu/intel_pstate/min_perf_pct:50
> root@s15:/home/doug/temp# for file in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do echo "performance" > $file; done
> root@s15:/home/doug/temp# grep . /sys/devices/system/cpu/intel_pstate/*_perf_*
> /sys/devices/system/cpu/intel_pstate/max_perf_pct:100
> /sys/devices/system/cpu/intel_pstate/min_perf_pct:100
> root@s15:/home/doug/temp# grep . /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor:performance

The switch has to be from performance to powersave.  Switch again and you'll see
the problem.  I can also reproduce this without using 'cpupower'.

P.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-06 23:50 +0200
  Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-07 00:30 +0200
    Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-07 00:40 +0200
      RE: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch "Doug Smythies" <dsmythies@telus.net> - 2015-10-07 09:00 +0200
        Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-07 12:10 +0200
          RE: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch "Doug Smythies" <dsmythies@telus.net> - 2015-10-07 16:10 +0200
            Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-07 16:20 +0200
              RE: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch "Doug Smythies" <dsmythies@telus.net> - 2015-10-07 17:50 +0200
                Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-07 17:50 +0200
                RE: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch "Doug Smythies" <dsmythies@telus.net> - 2015-10-07 21:00 +0200
                Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-07 22:50 +0200
                Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2015-10-07 23:40 +0200
                RE: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch "Doug Smythies" <dsmythies@telus.net> - 2015-10-08 00:30 +0200
                Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-08 01:20 +0200
                Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-08 02:20 +0200
                Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-08 01:10 +0200
                Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-07 23:40 +0200
            RE: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-07 16:40 +0200
      Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-07 13:40 +0200
      Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-07 14:20 +0200
        Re: [PATCH] cpufreq, intel_pstate, set max_sysfs_pct and min_sysfs_pct  on governor switch Prarit Bhargava <prarit@redhat.com> - 2015-10-07 17:00 +0200

csiph-web