Linux Kernel Patches Boost NUMA Multi-Threaded Workloads

Written by Michael Larabel in Linux Kernel on 1 August 2017 at 04:25 AM EDT. 2 Comments
Red Hat developers have been working to improve the performance of multi-threaded workloads on NUMA systems.

Rik van Riel of Red Hat sent out two patches on Monday to refactor the NUMA (non-uniform memory access) balancing code as it spends too much CPU time scanning and faulting during multi-threaded workloads.

He commented on the patch series, "This patch set slows down NUMA PTE scanning when there are lots of shared faults, and when dealing with large NUMA groups that have a large fraction of shared faults."

With these two patches that affect just around one hundred lines of code in sched/fair.c, their tests have found 10 to 30% better performance on a four-node system in NAS benchmarks, 5~10% performance improvements in SPECjbb2005, and similar to small performance improvements in SPECjvm2008.

Interesting results and hopefully we'll see this code land come Linux 4.14 if these performance improvements are indeed valid.
Related News
About The Author
Author picture

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week