linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
To: "Chen, Yu C" <yu.c.chen@intel.com>, Arto Jantunen <viiru@iki.fi>
Cc: Doug Smythies <dsmythies@telus.net>,
	"'Rafael J. Wysocki'" <rjw@rjwysocki.net>,
	'Viresh Kumar' <viresh.kumar@linaro.org>,
	"linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>
Subject: Re: PROBLEM: Cpufreq constantly keeps frequency at maximum on 4.5-rc4
Date: Sun, 21 Feb 2016 12:02:28 -0800	[thread overview]
Message-ID: <56CA17D4.8080802@linux.intel.com> (raw)
In-Reply-To: <36DF59CE26D8EE47B0655C516E9CE640286C6319@shsmsx102.ccr.corp.intel.com>



On 02/21/2016 12:52 AM, Chen, Yu C wrote:
>> -----Original Message-----
>> From: Arto Jantunen [mailto:viiru@iki.fi]
>> Sent: Sunday, February 21, 2016 4:45 PM
>> To: Chen, Yu C
>> Cc: Doug Smythies; 'Rafael J. Wysocki'; 'Viresh Kumar'; linux-
>> pm@vger.kernel.org; 'Srinivas Pandruvada'
>> Subject: Re: PROBLEM: Cpufreq constantly keeps frequency at maximum on
>> 4.5-rc4
>>
>> "Chen, Yu C" <yu.c.chen@intel.com> writes:
>>
>>>> -----Original Message-----
>>>> From: linux-pm-owner@vger.kernel.org [mailto:linux-pm-
>>>> owner@vger.kernel.org] On Behalf Of Arto Jantunen
>>>> Sent: Sunday, February 21, 2016 1:11 AM
>>>> To: Doug Smythies
>>>> Cc: 'Rafael J. Wysocki'; 'Viresh Kumar'; linux-pm@vger.kernel.org;
>>>> 'Srinivas Pandruvada'
>>>> Subject: Re: PROBLEM: Cpufreq constantly keeps frequency at maximum
>>>> on
>>>> 4.5-rc4
>>>>
>>>> "Doug Smythies" <dsmythies@telus.net> writes:
>>>>
>>>>> On 2106.02.20 00:50 Arto Jantunen wrote:
>>>>>> I can force the frequency down manually with cpufreq-set, so the
>>>>>> problem doesn't seem to be with the actual frequency changing.
>>>   cpufreq-set modifies the value of scaling_max_freq, it looks like
>>> your system always demands for the max freq, can you provide:
>>> grep . /sys/devices/system/cpu/intel_pstate/*perf_pct
>>> under powersave and performance?
>> Powersave:
>> /sys/devices/system/cpu/intel_pstate/max_perf_pct:100
>> /sys/devices/system/cpu/intel_pstate/min_perf_pct:22
>>
>> Performance:
>> /sys/devices/system/cpu/intel_pstate/max_perf_pct:100
>> /sys/devices/system/cpu/intel_pstate/min_perf_pct:100
>>
>> Also, adding intel_pstate=no_hwp to the command line does not change the
>> result. Changing that to intel_pstate=disable does fix the problem, so the
>> bug seems to be somewhere in intel_pstate instead of cpufreq core.
You have Skylake, which is not compatible with legacy ACPI P states with 
_PSS tables, so not running without intel_pstate is not much use. It may 
be running at at low P-state by disabling.

Is Debian use default mode as performance? I think Ubuntu uses 
performance mode as default.
What is the output of
cat cpu*/cpufreq/scaling_governor

Thanks,
Srinivas
> 1.It would be nice if a git bisect is used to find the commit causing this problem.
>
> 2.
> # cd /sys/kernel/debug/tracing/
> # echo 1 > events/power/pstate_sample/enable
> # echo 1 > events/power/cpu_frequency/enable
> # cat trace
>


  reply	other threads:[~2016-02-21 20:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-20  8:49 PROBLEM: Cpufreq constantly keeps frequency at maximum on 4.5-rc4 Arto Jantunen
2016-02-20 16:31 ` Doug Smythies
2016-02-20 17:10   ` Arto Jantunen
2016-02-20 18:03     ` Chen, Yu C
2016-02-21  8:45       ` Arto Jantunen
2016-02-21  8:52         ` Chen, Yu C
2016-02-21 20:02           ` Srinivas Pandruvada [this message]
2016-02-21 20:33             ` Arto Jantunen
2016-02-22  6:16               ` Viresh Kumar
2016-02-22 16:39                 ` Arto Jantunen
2016-02-22 16:41                   ` Viresh Kumar
2016-02-22 16:48                     ` Viresh Kumar
2016-02-22 19:25                       ` Srinivas Pandruvada
2016-02-28 15:43                     ` Arto Jantunen
2016-02-29  6:22                       ` Doug Smythies
2016-03-01 19:28                         ` Doug Smythies
2016-02-29 16:49                       ` Srinivas Pandruvada
2016-03-01  0:37                         ` Rafael J. Wysocki
     [not found]                       ` <20160229201946.0bdcc48e@annuminas.surriel.com>
2016-03-01  7:06                         ` Arto Jantunen
2016-03-01 16:59                           ` Arto Jantunen
2016-03-01 19:22                           ` Rik van Riel
2016-03-01 19:47                             ` Arto Jantunen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56CA17D4.8080802@linux.intel.com \
    --to=srinivas.pandruvada@linux.intel.com \
    --cc=dsmythies@telus.net \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=viiru@iki.fi \
    --cc=viresh.kumar@linaro.org \
    --cc=yu.c.chen@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).