Linux Kernel Gets AMD Capacity-Aware Scheduling for Zen 6 Heterogeneous CPU Architectures
It has long been rumored that AMD is working on new Zen 6 LP cores for its next-gen Zen 6 (see our Zen 6 Technical Deep Dive here ) CPU architecture—which has already been unveiled for server applications—and it now appears as though the Linux kernel is being prepared to support that new architecture across the board. A patch series by AMD itself details support for a Capacity-Aware Scheduling, which would effectively allow the Linux kernel to detect the capabilities of each individual CPU core and assign work to that CPU core accordingly. Amd-pstate does not export per-CPU capacity today, so the scheduler treats all cores as equal and places tasks without regard to core strength.
Patch 1 makes amd-pstate publish asymmetric per-CPU capacities via the arch hybrid capacity scaling interface. It is enabled by default on supported hardware and can be turned off with the "amd_cas=disable" boot parameter.
Patch 2 makes amd-hfi stand down when CAS is active, since both manage the same scheduler state.




Comments
No comments yet. Be the first to share your thoughts.