From: "Doug Smythies" <dsmythies@telus.net>
To: "'Rafael J. Wysocki'" <rjw@rjwysocki.net>
Cc: "'Linux Documentation'" <linux-doc@vger.kernel.org>,
"'LKML'" <linux-kernel@vger.kernel.org>,
"'Peter Zijlstra'" <peterz@infradead.org>,
"'Srinivas Pandruvada'" <srinivas.pandruvada@linux.intel.com>,
"'Giovanni Gherdovich'" <ggherdovich@suse.cz>,
"'Francisco Jerez'" <francisco.jerez.plata@intel.com>,
"'Linux PM'" <linux-pm@vger.kernel.org>
Subject: RE: [PATCH] cpufreq: intel_pstate: Implement passive mode with HWP enabled
Date: Wed, 15 Jul 2020 13:39:29 -0700 [thread overview]
Message-ID: <000f01d65ae8$0c607990$25216cb0$@net> (raw)
In-Reply-To: <3955470.QvD6XneCf3@kreacher>
On 2020.07.14 11:16 Rafael J. Wysocki wrote:
>
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
...
> Since the passive mode hasn't worked with HWP at all, and it is not going to
> the default for HWP systems anyway, I don't see any drawbacks related to making
> this change, so I would consider this as 5.9 material unless there are any
> serious objections.
Good point.
Some of the tests I do involve labour intensive post processing of data.
I want to automate some of that work, and it will take time.
We might be into the 5.9-rc series before I have detailed feedback.
However, so far:
Inverse impulse response test [1]:
High level test, i5-9600K, HWP-passive (this patch), ondemand:
3101 tests. 0 failures. (GOOD)
From [1], re-stated:
> . High level: i5-9600K: 2453 tests, 60 failures, 2.45% fail rate. (HWP-active - powersave)
> . Verify acpi-cpufreq/ondemand works fine: i5-9600K: 8975 tests. 0 failures.
My version of that cool Alexander named pipe test [2] serialized workflow:
HWP-passive (this patch), performance: PASS.
From [2], re-stated, and also re-tested.
HWP-disabled passive - performance: FAIL.
Although, I believe the issue to be EPB management, [3].
And yes, I did see the reply to [3] that came earlier,
And have now re-done the test, with the referenced patch added.
It still is FAIL. I reply to the [3] thread, eventually.
[1] https://marc.info/?l=linux-pm&m=159354421400342&w=2
[2] https://marc.info/?l=linux-pm&m=159155067328641&w=2
[3] https://marc.info/?l=linux-pm&m=159438804230744&w=2
Kernel:
b08284a541ad (HEAD -> k58rc5-doug) cpufreq: intel_pstate: Avoid enabling HWP if EPP is not supported
063fd7ccabfe cpufreq: intel_pstate: Implement passive mode with HWP enabled
730ccf5054e9 cpufreq: intel_pstate: Allow raw energy performance preference value
bee36df01c68 cpufreq: intel_pstate: Allow enable/disable energy efficiency
199629d8200e cpufreq: intel_pstate: Fix active mode setting from command line
11ba468877bb (tag: v5.8-rc5, origin/master, origin/HEAD, master) Linux 5.8-rc5
Rules for this work:
. never use x86_energy_perf_policy.
. For HWP disabled: never change from active to passive or via versa, but rather do it via boot.
. after boot always check and reset the various power limit log bits that are set.
. never compile the kernel (well, until after any tests), which will set those bits again.
. never run prime95 high heat torture test, which will set those bits again.
. try to never do anything else that will set those bits again.
To be clear, I do allow changing governors within the context of the above rules.
... Doug
next prev parent reply other threads:[~2020-07-15 20:39 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-14 18:16 [PATCH] cpufreq: intel_pstate: Implement passive mode with HWP enabled Rafael J. Wysocki
2020-07-15 0:09 ` Francisco Jerez
2020-07-15 12:04 ` Rafael J. Wysocki
2020-07-15 21:35 ` Francisco Jerez
2020-07-16 1:14 ` Srinivas Pandruvada
2020-07-16 14:33 ` Rafael J. Wysocki
2020-07-16 14:32 ` Rafael J. Wysocki
2020-07-17 0:21 ` Francisco Jerez
2020-07-19 19:06 ` Rafael J. Wysocki
2020-07-20 23:20 ` Francisco Jerez
2020-07-21 16:25 ` Srinivas Pandruvada
2020-07-21 23:14 ` Francisco Jerez
2020-07-27 17:23 ` Rafael J. Wysocki
2020-07-27 17:15 ` Rafael J. Wysocki
2020-07-28 2:32 ` Francisco Jerez
2020-07-28 18:27 ` Rafael J. Wysocki
2020-07-29 5:46 ` Francisco Jerez
2020-07-29 17:52 ` Rafael J. Wysocki
2020-07-30 0:49 ` Francisco Jerez
2020-07-31 17:52 ` Rafael J. Wysocki
2020-07-31 22:43 ` Francisco Jerez
2020-07-28 15:41 ` Rafael J. Wysocki
2020-07-15 20:39 ` Doug Smythies [this message]
2020-07-16 12:07 ` Rafael J. Wysocki
2020-07-17 13:37 ` Doug Smythies
2020-07-19 11:42 ` Rafael J. Wysocki
2020-08-02 15:17 ` Doug Smythies
2020-08-03 17:08 ` Rafael J. Wysocki
2020-08-06 5:54 ` Doug Smythies
2020-08-06 11:39 ` Rafael J. Wysocki
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='000f01d65ae8$0c607990$25216cb0$@net' \
--to=dsmythies@telus.net \
--cc=francisco.jerez.plata@intel.com \
--cc=ggherdovich@suse.cz \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=peterz@infradead.org \
--cc=rjw@rjwysocki.net \
--cc=srinivas.pandruvada@linux.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).