Linux NUMA Patches Aim To Reduce Overhead, Avoid Unnecessary Migrations

Written by Michael Larabel in Linux Kernel on 20 February 2020 at 01:43 PM EST. 15 Comments
LINUX KERNEL
A set of patches that continue to be worked on for the Linux kernek is reconciling NUMA balancing decisions with the load balancer. Ultimately this series is about reducing unnecessary task and page migrations and other NUMA balancing overhead.

The main focus with the patch series is addressing inconsistencies between the kernel's NUMA balancing code and the load balancer. "The NUMA balancer makes placement decisions on tasks that partially take the load balancer into account and vice versa but there are inconsistencies. This can result in placement decisions that override each other leading to unnecessary migrations -- both task placement and page placement. This series reconciles many of the decisions -- partially Vincent's work with some fixes and optimisations on top to merge our two series."

The patch series by Mel Gorman and Vincent Guittot also provide other optimizations and improvements, including a case where the NUMA balancer could be fighting with itself.

For some workloads this patch series does help the performance but it doesn't provide across the board benefits but at least helps with unnecessary migrations and lowering overhead. The patch series is up to its fourth round of review and hopefully will soon be mainlined in a forthcoming cycle for helping to clean up the Linux kernel's NUMA code.
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