From: "Doug Smythies" <dsmythies@telus.net>
To: "'Chen, Yu C'" <yu.c.chen@intel.com>
Cc: "'Wysocki, Rafael J'" <rafael.j.wysocki@intel.com>,
tglx@linutronix.de, hpa@zytor.com, bp@alien8.de, "'Zhang,
Rui'" <rui.zhang@intel.com>,
linux-pm@vger.kernel.org, x86@kernel.org,
linux-kernel@vger.kernel.org, "'Brown,
Len'" <len.brown@intel.com>, 'Ingo Molnar' <mingo@kernel.org>,
'Pavel Machek' <pavel@ucw.cz>,
"'Pandruvada, Srinivas'" <srinivas.pandruvada@intel.com>,
'Doug Smythies' <dsmythies@telus.net>
Subject: RE: [PATCH] [v4] x86, suspend: Save/restore extra MSR registers for suspend
Date: Thu, 26 Nov 2015 19:28:38 -0800 [thread overview]
Message-ID: <001801d128c3$b72f7710$258e6530$@net> (raw)
In-Reply-To: <001901d1247c$043f3190$0cbd94b0$@net>
On 2015.11.21 08:45 Doug Smythies wrote:
>On 2015.11.12 01:42 Chen, Yu C wrote:
>> On 2015.11.06 11:34 Doug Smythies wrote:
[cut]
>> rdmsr_safe might be better,
> I'll look into it, thanks.
>> you can refer to acpi_throttling_rdmsr
> I don't understand.
>> and I'm OK with this code, are you planning to send a formal patch?
> The delay here is because I have always thought that some actual load
> content needs to be brought back to the intel_pstate driver, which would
> (or at least should) eliminate the need for this patch.
> Anyway, and at least for the interim, I'll try to make and submit a formal version.
I made a mistake in my initial testing. I put a 100% load on CPU 7 and then
cycled through all the clock modulation values to show that my test version of
a possible patch compensated / normalized the Clock Modulation. Indeed, if the
system is already asking for the maximum pstate, it will stay there. However,
whenever the load drops, the target pstate will drop to minimum and it will
never kick back up again, regardless of load.
I am returning to my initial assertion copied below:
>>>>>>> The current version of the intel_pstate driver is incompatible
>>>>>>> with any use of Clock Modulation, always resulting in driving the
>>>>>>> target pstate to the minimum, regardless of load. The result is
>>>>>>> the apparent CPU frequency stuck at minimum * modulation percent.
>>>>>>
>>>>>>> The acpi-cpufreq driver works fine with Clock Modulation,
>>>>>>> resulting in desired frequency * modulation percent.
Chen,
Thanks though for the suggestion to try normalizing.
... Doug
next prev parent reply other threads:[~2015-11-27 3:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 3:18 [PATCH] [v4] x86, suspend: Save/restore extra MSR registers for suspend Chen Yu
2015-09-17 5:30 ` Pavel Machek
2015-10-09 9:39 ` Chen, Yu C
2015-10-09 18:55 ` Doug Smythies
2015-10-11 2:26 ` Chen, Yu C
2015-10-11 15:46 ` Doug Smythies
2015-11-01 16:49 ` Chen, Yu C
2015-11-06 15:33 ` Doug Smythies
2015-11-12 9:42 ` Chen, Yu C
2015-11-21 16:45 ` Doug Smythies
2015-11-27 3:28 ` Doug Smythies [this message]
2015-11-27 6:01 ` Yu Chen
2015-10-09 21:50 ` Rafael J. Wysocki
2015-10-11 2:43 ` Chen, Yu C
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='001801d128c3$b72f7710$258e6530$@net' \
--to=dsmythies@telus.net \
--cc=bp@alien8.de \
--cc=hpa@zytor.com \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=pavel@ucw.cz \
--cc=rafael.j.wysocki@intel.com \
--cc=rui.zhang@intel.com \
--cc=srinivas.pandruvada@intel.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.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).