AMD posts Linux patches for Capacity Aware Scheduling
The patches let amd-pstate distinguish cores by capacity, and AMD says current Zen 4 and Zen 5 chips should benefit too.
AMD engineer Vishal Badole has posted two Linux kernel patches that introduce Capacity Aware Scheduling (CAS) for AMD heterogeneous processors, as reported by pcgamer.com. The patches lay the groundwork for the Linux kernel to handle AMD chips with different core types more efficiently.
Until now, AMD's Linux performance scaling driver amd-pstate treated all cores as equal when assigning tasks. According to Badole, the scheduler saw every CPU as having identical capacity and treated performance and efficiency cores as interchangeable.
Badole stated that the change should also help current heterogeneous processors such as Zen 4 and Zen 5.
Earlier this year, a separate Linux patch suggested that Zen 6 will introduce a new Low Power core type. AMD's current Zen 5 chips pair full-fat Zen 5 cores with Zen 5C cores, with less difference between them than Intel's P-cores and E-cores.
Quick answers
What does Capacity Aware Scheduling do for AMD CPUs on Linux?
It lets the Linux kernel and the amd-pstate driver account for cores with different capacities instead of treating all cores as identical when assigning tasks.
Which AMD processors benefit from these patches?
According to AMD engineer Vishal Badole, the change should help current heterogeneous processors such as Zen 4 and Zen 5, and lays groundwork for future chips with different core types.
Are the patches already in the Linux kernel?
The facts do not say; the two patches were posted by Badole for review.