The Cache Aware Scheduling Looks Like It Will Land for Linux 7.2

rbanffy1 pts0 comments

The Very Exciting Cache Aware Scheduling Looks Like It Will Land For Linux 7.2 - 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

The Very Exciting Cache Aware Scheduling Looks Like It Will Land For Linux 7.2

Written by Michael Larabel in Linux Kernel on 20 May 2026 at 03:44 PM EDT. 3 Comments

As a very exciting development ahead of the Linux 7.2 kernel merge window opening in about one month's time, it looks like the long-awaited Cache Aware Scheduling support will finally be merged! CONFIG_SCHED_CACHE has made it into a TIP branch with all the Cache Aware Scheduling code for helping with Linux performance on modern CPUs sporting multiple last level caches.

Cache Aware Scheduling has been led by Intel software engineers for more than one year and has shown significant benefits on at least modern Intel and AMD CPUs, especially for sever class processors with more cores and bigger caches as well as the demanding workloads that can benefit from enhanced scheduling.

Cache Aware Scheduling tries to help ensure that tasks sharing data are colocated to the same last level cache (LLC) domain for ensuring better cache locality and reducing cache misses/bouncing. I have benchmarked earlier versions of the patches and found great performance on AMD EPYC CPUs and Xeon 6 benefiting nicely too.

Earlier this month I noted that it looked like Cache Aware Scheduling was nearing the mainline kernel and as of the latest Git push to tip/tip.git, it now looks pretty solid that it will be submitted at least for the Linux 7.2 merge window in mid-June.

With this Git merge the "sched/cache" branch by Peter Zijlstra is merged into TIP's sched/core branch. Now being in that branch ahead of the merge window, it should be submitted for Linux 7.2. Assuming no last minute problems or Linus Torvalds finding anything to criticize, this important feature should make it into Linux 7.2!

Once landed, the Cache Aware Scheduling can be enabled with the CONFIG_SCHED_CACHE Kconfig build option. The code does include a llc_balancing DebugFS directory with a knob called enabled for letting the user turn off/on the Cache Aware Scheduling feature at run-time to help with any debugging or performance comparisons.

3 Comments

Tweet

Greg KH Calls For More Rust Linux Developers<br>The Linux Kernel Working On A Rust-Based Untrusted Data API<br>OneXPlayer Configuration Driver Destined For Linux 7.2<br>Torvalds: AI Tools Great When Not Causing Unnecessary Pain & Pointless Make-Believe Work<br>Linux 7.1-rc4 Released With Many Fixes, New Documentation For Security/AI Topics<br>Linux Kernel Adds Documentation For What Qualifies As A Security Bug, Responsible AI Use

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.

OpenZFS 2.4.2 Released With Linux 7.0 Kernel Support, Many Bug Fixes<br>Wine Wayland Driver Merges Pointer Warp Support<br>AMD & Intel Roll Out New Linux Updates For Today's Patch Tuesday<br>FreeBSD 15.2 Will Aim For The Nice KDE Desktop Installation Experience<br>DXVK-NVAPI 0.9.2 Further Improves NVIDIA Integration For Steam Play Linux Gaming<br>Linux Scheduler Work Helping Boost Gaming Performance On Old "Potato" Hardware<br>IBM s390 Is The Latest Architecture Seeing Rust Linux Kernel Support<br>Fwupd 2.1.3 Brings Firmware Updating To Modular Smartphones

AMDGPU HDMI 2.1 FRL To Be Initially Disabled-By-Default

The Very Exciting Cache Aware Scheduling Looks Like It Will Land For Linux 7.2

Firefox 153 Nightly Rolls Out New Settings UI

Patches Trying To Bring Mainline Linux Support For The Infineon/Intel XMM6260 Modem

RHEL 10.2 Released With New AI Command Line Assistance

Greg KH Calls For More Rust Linux Developers

HP Now Sponsoring The Linux Vendor Firmware Service / Fwupd

Valkey 9.1 Delivers More Performance & Enhanced Security

Vim Merges GTK4 Toolkit Support, Co-Authored-By Claude

Fedora Retiring Its Deepin Desktop Packages

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.

Initial Benchmarks Of The SpacemiT K3 RVA23 RISC-V CPU With The K3 Pico-ITX

Linux 6.6 LTS To Linux 7.1 Bechmarks: Performance Up 13% On AMD Threadripper Over Three Years

ROCm 7.0.0 vs. ROCm 7.2.3 Performance On The AMD Radeon AI PRO R9700

GCC 16 Produces Faster Binaries Than GCC 15,...

linux cache scheduling aware performance kernel

Related Articles