Linux 5.4 Should Improve NUMA Hugepage Allocation Performance

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.
Add A Comment