Linux 6.10 Supports NUMA Balancing For Multi-Size THPs

Written by Michael Larabel in Linux Kernel on 26 May 2024 at 06:59 AM EDT. Add A Comment
LINUX KERNEL
With the memory management "MM" updates merged for the Linux 6.10 there is now NUMA balancing support for multi-size transparent hugepages (THPs). This is yielding some nice performance results and there is also other work in this new kernel around multi-size THPs.

Baolin Wang of Alibaba spent the past few months working out multi-size THP NUMA balancing support. Long story short, the result of the NUMA balancing support is significant on modern server hardware. In benchmarks of the initial code on a dual socket Intel Xeon Platinum server:

NUMA balancing multi-size THP benchmarks


Linux 6.10's memory management update also has improvements to swapping of multi-size THPs, sysfs stats for monitoring multi-size THPs, and other optimizations. The multi-size THP "mTHP" support was merged at the start of the year for allowing the allocation of memory in blocks bigger than a base page but smaller than the traditional PMD size. Leveraging multi-size THPs can lead to less page faults and other efficiency benefits to net greater system performance.

The full list of memory management changes for Linux 6.10 can be found via this pull request that was already merged to Git.
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