Linux 6.0 Has Some Big Scheduler Changes, Including Improved NUMA Balancing For AMD Zen

Written by Michael Larabel in Linux Kernel on 1 August 2022 at 02:00 PM EDT. 3 Comments
LINUX KERNEL --
Ingo Molnar today submitted the main set of kernel scheduler updates for the in-development Linux 6.0 (nee 5.20). The scheduler updates contain some notable changes that will be interesting to benchmark in the days ahead.

First up, there is improved NUMA balancing on AMD Zen systems for affine workloads. That comes down to this previously reported performance optimization in sched/fair for considering the CPU affinity when allowing NUMA imbalance in the "find_idlest_group" function. The patch is yielding very nice speed-ups in select cases as outlined in that earlier article:


Another notable scheduler change for Linux 6.0 is an Intel-led change to more efficient CPU idle searching under heavy system load as previously talked about on Phoronix.


A number of nice AMD-related improvements and new support preparations are coming with Linux 6.0.


The Linux 6.0 scheduler changes also include improving the handling of reduced-capacity CPUs in load balancing, Energy Model (EM) improvements, improving the NUMA imbalance behavior on certain systems with spare capacity, improve core scheduling, improve wake-up balancing by allowing same-LLC wakeup of idle CPUs for newly woken tasks, and various other small optimizations and fixes. There are also some PREEMPT_RT-related fixes with those real-time kernel patches expected to be merged soon.

See this pull request for the lengthy list of scheduler updates for Linux 6.0... Once the Linux 6.0 merge window settles down I'll be around with some comparison benchmarks to look at the performance improvements (and hopefully no performance regressions...) with this new kernel on some big AMD EPYC and Intel Xeon servers.
Related News
About The Author
Author picture

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