Sched_Ext Changes Merged For Linux 6.13 With LLC & NUMA Awareness

Written by Michael Larabel in Linux Kernel on 22 November 2024 at 06:47 AM EST. 1 Comment
LINUX KERNEL
One of the most prominent new features in Linux 6.12 was the merging of sched_ext for allowing extensible scheduler innovations by altering the scheduling behavior through (e)BPF programs. With the Linux 6.13 kernel there are some nice refinements to this extensible scheduler class.

One of the very useful additions to Sched_EXT with Linux 6.13 is introducing LLC and NUMA awareness. Sched_EXT can now better behave within NUMA environments for multi-socket servers and the like. The last level cache (LLC) awareness also allows for enhancing the idle CPU detection logic with today's chiplet-based processors such as for AMD Ryzen and AMD EPYC Linux systems. These Linux 6.13 additions will help in selecting CPU cores within the same LLC domain followed by NUMA node.

AMD EPYC dual socket server


The sched_ext code in Linux 6.13 also handles WAKE_SYNC better, fixes an issue on multi-socket Intel Xeon Sapphire Rapids servers where hammering on the same queue across sockets could live-lock the system, and improving clarity around the "dispatch" and "consume" terminology.

More details on the sched_ext feature changes for Linux 6.13 via this pull that has since been merged into the Linux Git kernel codebase.
Related News
About The Author
Michael Larabel

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.

Popular News This Week