From: Russell Haley <yumpusamongus@gmail.com>
To: Shashank Balaji <shashank.mahadasyam@sony.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>,
Viresh Kumar <viresh.kumar@linaro.org>,
Jonathan Corbet <corbet@lwn.net>,
linux-pm@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Shinya Takumi <shinya.takumi@sony.com>
Subject: Re: [PATCH] cpufreq, docs: (userspace governor) add that actual freq is >= scaling_setspeed
Date: Thu, 22 May 2025 06:15:32 -0500 [thread overview]
Message-ID: <8c9fc3d2-991d-4caa-8773-418bea0fdf21@gmail.com> (raw)
In-Reply-To: <aC7yeQvKVQ1No9EW@JPC00244420>
On 5/22/25 4:46 AM, Shashank Balaji wrote:
> Hi Russell,
>
> If intel_pstate is left in "active" mode, then userspace can't use any
> of the other governors. Moreover, intel_pstate's min and max frequencies
> apply to all the cpus. Whereas, the userspace governor can be set on a
> per-cpu basis.
If setting frequencies on a per-CPU basis is how you discovered this,
you may find it to be a source of more automagic. There are a lot of
client processors that cannot (usefully) have different frequency
targets for each CPU, because there is only one voltage regulator. In
that case, slowing any CPU down would only harm its performance (and
efficiency, because race-to-sleep). So, the global frequency target is
taken as the maximum of the per-CPU targets.
Cheers,
Russell
next prev parent reply other threads:[~2025-05-22 11:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-22 8:05 [PATCH] cpufreq, docs: (userspace governor) add that actual freq is >= scaling_setspeed Shashank Balaji
2025-05-22 8:50 ` Russell Haley
2025-05-22 9:46 ` Shashank Balaji
2025-05-22 9:56 ` Rafael J. Wysocki
2025-05-22 11:15 ` Russell Haley [this message]
2025-05-22 9:47 ` Rafael J. Wysocki
2025-05-22 11:15 ` Russell Haley
2025-05-22 11:54 ` Rafael J. Wysocki
2025-05-23 18:57 ` Rafael J. Wysocki
2025-05-23 4:25 ` Shashank Balaji
2025-05-23 19:06 ` Rafael J. Wysocki
2025-05-23 21:47 ` Russell Haley
2025-05-27 8:21 ` Shashank Balaji
2025-05-27 12:00 ` 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=8c9fc3d2-991d-4caa-8773-418bea0fdf21@gmail.com \
--to=yumpusamongus@gmail.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rafael@kernel.org \
--cc=shashank.mahadasyam@sony.com \
--cc=shinya.takumi@sony.com \
--cc=viresh.kumar@linaro.org \
/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