Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone with no article paywalls. Just good, fresh content! Alternatively, you can donate through PayPal, Liberapay or Buy us a Coffee. You can also buy games using our partner links for GOG and Humble Store.

AMD shows off their new CPU frequency control mechanism for Linux

By - | Views: 17,129

Currently limited to Zen 3, AMD has revealed their work on a brand new CPU frequency control mechanism "amd-pstate".

What's this for then? Well, it was previously announced that AMD along with Valve were working on it with a talk that was presented during the X.Org Developers Conference 2021. Seems this is it and they're ready to properly introduce it. Announced on the Linux Kernel mailing list from developer Huang Rui:

The new mechanism is based on Collaborative processor performance control (CPPC) which is finer grain frequency management than legacy ACPI hardware P-States. Current AMD CPU platforms are using the ACPI P-states driver to manage CPU frequency and clocks with switching only in 3 P-states. AMD P-States is to replace the ACPI P-states controls, allows a flexible, low-latency interface for the Linux kernel to directly communicate the performance hints to hardware.

"amd-pstate" leverages the Linux kernel governors such as *schedutil*, *ondemand*, etc. to manage the performance hints which are provided by CPPC hardware functionality. The first version for amd-pstate is to support one of the Zen3 processors, and we will support more in future after we verify the hardware and SBIOS functionalities.

There's a bit more of an explanation available in part 19 of the patchset, which goes over plenty more of the technical details if you want the real nitty-gritty.

Great to see AMD continue to advance their processors on Linux. Hopefully this will provide a better overall experience for all workloads, especially gaming. Highly likely this will benefit the likes of the Steam Deck too, which will be using a special Zen 2 AMD APU.

Article taken from GamingOnLinux.com.
Tags: AMD, Kernel, Meta
32 Likes
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG and Humble Store. See more here.
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
5 comments

bisbyx 9 Sep
Steamdeck is Zen 2. Currently limited to Zen 3. Hopefully they mean it when they say "we will support more in future after we verify the hardware and SBIOS functionalities"
nitro322 9 Sep
View PC info
  • Supporter
Yeah, this is good news. Been running Xen processors for a while now on my main desktop, and while I've been overall happy, some stuff like frequency scaling, power management, and overclocking have been a little less mature than I see with Intel. Glad they're engaged with the kernel developers and actively working to improve that. I hope "more in future" means they're going to backport that it to current Xen CPUs and not just apply newer CPU releases.

Thanks for sharing. I like these phoronix-style hardware posts without the clickbait and endless self-referential links. :-)


Last edited by nitro322 on 9 September 2021 at 3:55 pm UTC
Nibelheim 9 Sep
So hype to test it with my 5900X
The_Aquabat 10 Sep
my 5600X is soo ready for this. Anyone has a patch for 5.14?
pete910 11 Sep
View PC info
  • Supporter Plus
While you're here, please consider supporting GamingOnLinux on:

Patreon, Liberapay or PayPal Donation.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.