S390 To Get "Fake NUMA" / NUMA Emulation In Linux 4.3

Written by Michael Larabel in Linux Kernel on 31 August 2015 at 12:15 PM EDT. 1 Comment
LINUX KERNEL
The IBM s390 architecture will gain fake NUMA support with the upcoming Linux 4.3 for providing faster performance under some workloads.

Martin Schwidefsky sent in the s390 patches for Linux 4.3 and there he mentioned the main highlight being this "fake NUMA" (Non-Unified Memory Architecture) support. "The big one is support for fake NUMA, splitting a really large machine in more manageable piece improves performance in some cases, e.g. for a KVM host."

For those interested in this fake/emulated NUMA support for S390 in Linux, here's the commit explaining it:
NUMA emulation (aka fake NUMA) distributes the available memory to nodes without using real topology information about the physical memory of the machine.

Splitting the system memory into nodes replicates the memory management structures for each node. Particularly each node has its own "mm locks" and its own "kswapd" task.

For large systems, under certain conditions, this results in improved system performance and/or latency based on reduced pressure on the mm locks and the kswapd tasks.

NUMA emulation distributes CPUs to nodes while respecting the original machine topology information. This is done by trying to avoid to separate CPUs which reside on the same book or even on the same MC. Because the current Linux scheduler code requires a stable cpu to node mapping, cores are pinned to nodes when the first CPU thread is set online.
While most Phoronix readers don't have access to s390 systems, there is a lot of other exciting stuff that will land for Linux 4.3.
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