Dominant Huge Page Sizes & Their TLB Efficiency

On x86-64 architectures, the default 4KiB memory pages are often replaced by common huge page sizes of 2MiB or 1GiB to reduce TLB misses. Using a 2MiB huge page, for instance, requires only one TLB entry to cover the memory space that would otherwise need 512 entries with 4KiB pages, drastically improving TLB hit rates.

Sources

Open the full topic