Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
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.