Linux Cache Aware Scheduling Extended for Better Performance: 360% in MySQL

dabinat1 pts0 comments

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

Articles & Reviews

News Archive

Forums

Premium Ad-Free<br>Contact

Popular Categories

Close

Articles & Reviews

News Archive

Forums

Premium

Contact

Categories

Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals

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. 9 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:

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

9 Comments

Tweet

Linux 7.2 Drops Ancient PROFIBUS Driver: Ported From SCO Unix In 1998, Unused For Years<br>MGLRU Improvement Yielding Nice Gains On Linux 7.2: MongoDB 30~100% Higher Throughput<br>Linux 7.2 Protects Against Crafted Perf Data From Going Rogue<br>Linux 7.2 Ready With IMA and EVM Post-Quantum ML-DSA Signature Support<br>"Disgusting" Linux sched_ext Source Code Restructured Following Complaint By Linus Torvalds<br>Linux 7.2 Showing Some Unexpected & Nice Performance Gains On AMD EPYC Sorano

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.

Linux Finally Eliminates The strncpy API After Six Years Of Work, 360+ Patches<br>systemd 261 Released With New systemd-sysinstall OS Installer, IMDSD & Storagectl<br>"Disgusting" Linux sched_ext Source Code Restructured Following Complaint By Linus Torvalds<br>Open-Source NVIDIA NVK Vulkan Driver Now Supports DLSS<br>Google's Gemini Partially Figures Out A Lengthy Linux Boot Time On Modern ASUS Laptop<br>Epic Games Announces Lore Open-Source Version Control System<br>Steam Machine Launches, Priced $1049 To $1428 USD<br>Claude AI Assists In Fixing Years Old AMD Radeon Linux Display Bug Affecting Numerous Laptops

Servo 0.3 Released With The Demo Browser Becoming More Useful

Linux 7.2 Drops Ancient PROFIBUS Driver: Ported From SCO Unix In 1998, Unused For Years

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

AMD Contributes ONNX Runtime Backend To FFmpeg DNN Filter

Linux 7.2 Staging Still Working To Tame The Realtek RTL8723BS "Beast Of A Driver"

MGLRU Improvement Yielding Nice Gains On Linux 7.2: MongoDB 30~100% Higher Throughput

NTFS3 Driver Sees Bug Fixes & Minor Improvements With Linux 7.2

New AMD Linux Patches Expose Gamma 2.4 + Gamma 2.6 Curves

"So Many AI-Fueled Fixes" Means No New ARM64 KVM Features For Linux 7.2

One Line x86 Change To GCC Compiler Nets +12% Benchmark Win For Modern Intel/AMD CPUs

Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations.

Updated Raspberry Pi OS With Linux 6.18 LTS Delivers Some Performance Benefits

Benchmarking Bcachefs 1.38.6: The First Release No Longer "Experimental"

How NVIDIA Vera CPU Performance Compares To The Ampere Altra Max

Open-Source Success Achieved For Greater Transparency & Security: Running AMD openSIL + Coreboot On EPYC

Benchmarking The Performance Benefits To Ubuntu 26.10 amd64v3 Packages

The...

linux cache aware scheduling performance patches

Related Articles