Since last August, AMDLinux engineers have been working on providing P-State preferred kernel support for the "amd_pstate" driver to take advantage of this feature for improved task distribution under Linux. Starting from Zen2, AMD processors have the concept of "preferred core", which uses ACPICPPC to indicate that the CPU core can reach a higher maximum frequency or should be used as the preferred core to handle high-priority (important) tasks.
Especially now that some AMD CPUs use a mix of Zen4 and Zen4C cores, AMDP-State preferred cores are even more important to ensure expected behavior and that the most important processes are running on the best-performing CPU core.
Since then, AMD has been developing preferred core Linux patches, which have been revised more than 13 times over the past few months.
This work has come to fruition and AMDP-State preferred kernel support will be available in the next kernel cycle.
Linux power management subsystem maintainer Rafael Wysocki announced that he has queued AMD's version 14 patch into his power management "-next" tree ahead of Linux 6.9.
Therefore, in the Linux 6.9 kernel in a few months, AMDP-StatePreferredCore will be supported and enabled by default on modern Ryzen systems that use the AMDP-State CPU frequency management driver by default.
learn more:
https://lore.kernel.org/linux-acpi/CAJZ5v0hRk3tME7yeC+1r0RM4-oPPrnSu2=JCsOshBbJp_Nq2Hg@mail.gmail.com/