diff options
| author | K Prateek Nayak <kprateek.nayak@amd.com> | 2026-07-27 07:20:48 +0000 |
|---|---|---|
| committer | Mario Limonciello <superm1@kernel.org> | 2026-07-27 19:46:50 -0500 |
| commit | 5c3ecf36d2918facff40548ee6ae28eef0865266 (patch) | |
| tree | 2450f6010f1335d3f53bd34d6b271b89e570fa57 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 39c0cf62fc7851a17782e7efe8dfb2948739c681 (diff) | |
cpufreq/amd-pstate: Set min_limit_freq based on bios_min_perf
amd_pstate_update_min_max_limit() sets the min_limit_perf to the
nominal_perf to avoid frequency throttling when the system is idling.
This was found to be an ideal default but is suboptimal for users who
have profiled their workload at different operating frequencies and have
configured the optimal idling frequency via bios_min_perf.
Use the bios_min_perf (if configured) as the min_limit_perf when running
with performance governor. In absence of bios_min_perf, continue using
nominal_perf as the default min_limit_perf to avoid throttling.
Fixes: 608a76b65288 ("cpufreq/amd-pstate: Add support for the "Requested CPU Min frequency" BIOS option")
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lore.kernel.org/r/20260727072056.1248-2-kprateek.nayak@amd.com
Signed-off-by: Mario Limonciello <superm1@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
