News: 0001489771

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMD Ryzen 9 9950X Power/Performance With CPU Frequency Scaling Driver Tunables

([Software] 3 Hours Ago 2 Comments)


Continuing on with the AMD Ryzen 9000 series Linux benchmarking, today's testing is looking at the performance and power impact of the [1]AMD Ryzen 9 9950X when adjusting the CPU frequency scaling driver, governor, and Energy Performance Preference (EPP) tunable to help look at the performance and power efficiency characteristics of this current flagship Zen 5 desktop processor.

[2]

Installing Ubuntu 24.04 LTS or most other modern Linux distributions on the AMD Ryzen 9000 series will yield the AMD P-State EPP CPU frequency scaling driver being used and the "powersave" CPU frequency scaling governor and on most platforms at least will be using the "balance_performance" Energy Performance Preference. This article is looking at the impact of switching to the "performance" governor as well as trying other EPP values. Additionally, for reference are benchmarks if falling back to the older/generic ACPI CPUFreq driver in its schedutil and performance governor modes.

[3]

For this article on the Ryzen 9 9950X running Ubuntu 24.04 LTS with the Linux 6.10 kernel the following CPUFreq driver / governor / EPP configurations were tested:

- amd-pstate-epp powersave, EPP balance_performance

- amd-pstate-epp performance, EPP performance

- amd-pstate-epp powersave, EPP performance

- amd-pstate-epp powersave, EPP power

- amd-pstate-epp powersave, EPP balance_power

- acpi-cpufreq schedutil

- acpi-cpufreq performance

These benchmarks are mostly for reference purposes for providing some insight what modifications may be desired by those aiming to achieve greater performance or power efficiency on new Ryzen 9000 series desktops running Linux.

No other changes were made to the system hardware/software during testing besides the noted modifications. Note on the system table above with the difference in reported CPU clock frequency just comes down to the sysfs interface values being exposed differently between the AMD P-State and ACPI CPUFreq drivers -- the Ryzen 9 9950X was running at stock speeds for the entire benchmarking session.



[1] https://www.phoronix.com/search/Ryzen+9+9950X

[2] https://www.phoronix.com/image-viewer.php?id=ryzen-9950x-amd-pstate&image=amd_pstate_9950x_lrg

[3] https://www.phoronix.com/image-viewer.php?id=ryzen-9950x-amd-pstate&image=amd_pstate_sysfs_lrg



The most difficult thing in the world is to know how to do a thing and to
watch someone else doing it wrong, without commenting.
-- T. H. White