]> www.infradead.org Git - users/jedix/linux-maple.git/commit
amd-pstate: Switch to amd-pstate by default on some Server platforms
authorSwapnil Sapkal <swapnil.sapkal@amd.com>
Mon, 21 Oct 2024 10:18:36 +0000 (15:48 +0530)
committerMario Limonciello <mario.limonciello@amd.com>
Mon, 28 Oct 2024 19:54:36 +0000 (14:54 -0500)
commit54ab7d7c59c9444a28b67eaa10983f86ebf73c69
treecc6f07b4800de6acf9d2ec42f8367e529a3f55c6
parent0c411b39e4f4ce8861301fa201cb4f817751311e
amd-pstate: Switch to amd-pstate by default on some Server platforms

Currently the default cpufreq driver for all the AMD EPYC servers is
acpi-cpufreq. Going forward, switch to amd-pstate as the default
driver on the AMD EPYC server platforms with CPU family 0x1A or
higher. The default mode will be active mode.

Testing shows that amd-pstate with active mode and performance
governor provides comparable or better performance per-watt against
acpi-cpufreq + performance governor.

Likewise, amd-pstate with active mode and powersave governor with the
energy_performance_preference=power (EPP=255) provides comparable or
better performance per-watt against acpi-cpufreq + schedutil governor
for a wide range of workloads.

Users can still revert to using acpi-cpufreq driver on these platforms
with the "amd_pstate=disable" kernel commandline parameter.

Signed-off-by: Swapnil Sapkal <swapnil.sapkal@amd.com>
Signed-off-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20241021101836.9047-3-gautham.shenoy@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c