Automatic NUMA Balancing Is Quick To Balance
Written by Michael Larabel in Linux Kernel on 18 November 2012 at 05:33 AM EST. 1 Comment
Automatic NUMA Balancing has been quick to advance as it prepares for eventually merging into the mainline Linux kernel.

There's been several revisions to the "Automatic NUMA Balancing" code the past few days on the kernel mailing list. This work amounts to balancing of CPUs/memory for Non-Uniform Memory Access (NUMA) hardware for automatically migrating pages to optimize NUMA locality. There are two policies: MORON (Migrate On Reference Of pte_numa Node) and a variation of a home-node policy.

Of the 43 patches, some "the concept of a home-node that the scheduler tries to keep processes on. It's advisory only and not particularly strict. There may be a problem with this whereby the load balancer is not pushing processes back to their home node because there are no idle CPUs available. It might need to be more aggressive about swapping two tasks that are both running off their home node." Another patch "implements a CPU follow memory policy that is roughly based on what was in autonuma. It builds statistics on faults on a per-task and per-mm basis and decides if a tasks home node should be updated on that basis."

Within the aforelinked mailing list post are many more details along with some Auto NUMA benchmark results.
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 10,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 or contacted via MichaelLarabel.com.

Related Linux Kernel News
Popular News
Trending Reviews & Featured Articles