diff options
author | Gautham R. Shenoy <[email protected]> | 2024-10-21 15:48:35 +0530 |
---|---|---|
committer | Mario Limonciello <[email protected]> | 2024-10-28 14:54:35 -0500 |
commit | 0c411b39e4f4ce8861301fa201cb4f817751311e (patch) | |
tree | 20f0cd021621b68f3c4a1a0f73530be8c66591da /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b427ac4084753d7c62ef797bed7f30203f0ef5fb (diff) |
amd-pstate: Set min_perf to nominal_perf for active mode performance gov
The amd-pstate driver sets CPPC_REQ.min_perf to CPPC_REQ.max_perf when
in active mode with performance governor. Typically CPPC_REQ.max_perf
is set to CPPC.highest_perf. This causes frequency throttling on
power-limited platforms which causes performance regressions on
certain classes of workloads.
Hence, set the CPPC_REQ.min_perf to the CPPC.nominal_perf or
CPPC_REQ.max_perf, whichever is lower of the two.
Fixes: ffa5096a7c33 ("cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors")
Signed-off-by: Gautham R. Shenoy <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mario Limonciello <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions