VOOZH about

URL: https://www.phoronix.com/news/Extended-Cache-Aware-Sched

⇱ Linux Cache Aware Scheduling Extended For Even Better Performance: Up To 360% In MySQL - Phoronix


👁 Phoronix

Linux Cache Aware Scheduling Extended For Even Better Performance: Up To 360% In MySQL

Written by Michael Larabel in Linux Kernel on 25 June 2026 at 08:38 AM EDT. 18 Comments
Cache Aware Scheduling is one of the most exciting kernel innovations to land in Linux this year. While it was finally merged last week to Linux 7.2, a new patch series today is already working to extend Cache Aware Scheduling and is showing some exciting performance improvements.

Cache Aware Scheduling can help improve Linux performance on modern CPUs with multiple cache domains as the scheduler tries to help ensure that tasks sharing data are colocated to the same last level cache (LLC) domain. The net result with Cache Aware Scheduling is ensuring better cache locality and reducing cache misses/bouncing.

Cache Aware Scheduling currently relies on an LLC-centric task aggregation model that works well for workloads fitting within a single LLC domain. But it doesn't work well when the scheduler cannot extend aggregation to higher-level domains and the locality is not effectively preserved.

Hygon sent out patches today to extend Cache Aware Scheduling into topology-aware task aggregation that becomes hierarchical and dynamically expanding/contracting across scheduling domains dynamically based on the workload. The patches are looking quite good for enhancing Cache Aware Scheduling across varying workload sizes and system topologies.

Benchmark numbers on these patches show up to a 49% improvement in Hackbench, Schbench up to a 20% improvement, and in MySQL as much as a 360% improvement:

👁 MySQL benchmark improvement


More details on the benchmark results and these new CAS patches via the kernel mailing list.

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.