Linux 5.4 Should Improve NUMA Hugepage Allocation Performance
Written by Michael Larabel in Linux Kernel on 29 September 2019 at 06:41 PM EDT. Add A Comment
LINUX KERNEL --
It turns out Linux 5.3 shipped with potentially subpar performance for the allocation of hugepages but that should be rectified in the now open Linux 5.4 cycle for trying to provide a sane default allocation strategy on NUMA boxes.

With Linux 5.4, the kernel will now avoid the reclaim operation when compaction isn't likely to succeed. It will also allow hugepages to fallback to remote nodes when seeking hugepages via madvise but the node-local hugepage allocation failed. Additionally, Linux 5.4 reverts two patches from Linux 5.3 that ended up regressing other workloads unintentionally.

Ultimately, if all goes well and long story short, Linux 5.4 should be offering a more sane default allocation strategy for hugepages on NUMA systems. That in turn should help performance. More details via this Git merge that happened on Saturday.
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 This Week