Glibc Now Enabling 2MB THP On AArch64 By Default For Better Performance
phoronix.com·23h
🧮Memory Allocators
Preview
Report Post

GNU

The GNU C Library’s malloc implementation is now enabling 2MB Transparent Huge Pages (THP) by default for AArch64 Linux. This is being done in the name of better performance – a healthy 6.25% performance improvement is noted for SPEC with this change.

Arm engineer Dev Jain explained with this commit to Glibc enabling the 2MB THP by default on AArch64:

"malloc: Enable 2MB THP by default on Aarch64

Linux supports multi-sized Transparent Huge Pages (mTHP). For the purpose of this patch description, we call the block size mapped by a non-last level pagetable level, the traditional THP size (2M for 4K basepage, 512M for 6…

Similar Posts

Loading similar posts...