AMD P-State Preferred Core Support For Linux Tried A 13th Time

Written by Michael Larabel in AMD on 12 January 2024 at 07:01 AM EST. 20 Comments
AMD
One of the features sadly not having made it in time for the Linux v6.8 kernel merge window is the AMD P-State Preferred Core support. This is about being able to properly communicate to the kernel and scheduler about "preferred cores" such as cases of some CPU cores having higher maximum frequencies or better performance characteristics than others. This is becoming more important with AMD Ryzen processors beginning to see a combination of Zen 4 and Zen 4C cores and other cases like AMD 3D V-Cache enabled processors where some cores would be preferred over others for performance sensitive work.

AMD for months now has been working on this P-State Preferred Core support for being able to expose to the operating system processor cores that have a higher maximum frequency or otherwise more preferred over other cores. The platform communicates these core preferences via the ACPI Collaborative Processor Performance Control (CPPC) data.

Zen 4C + Zen 4 combos appearing


The AMD P-State Preferred Core support for Linux over the course of the patch history has adapted to be able to support dynamic core rankings based on workload and perform conditions such as around thermal and power changes. In turn the AMD preferred core preferences are exposed to the kernel's scheduler so that they will be favored during task scheduling.

Sent out today was the 13th iteration of the AMD Preferred Core patches for the Linux kernel. There's been various small updates and some other basic patch maintenance. Nothing too major though so hopefully this will cross the finish line soon: it's too late now for Linux v6.8 but perhaps we'll see this sought after feature ready for v6.9 in the spring. Those wanting to try out the v13 Linux patches can find them on the kernel mailing list.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week