TLB & Huge Page Lab — why 2 MiB pages cut TLB misses

local processing
Set the TLB size and associativity, pick random, sequential or strided access over a working set, and compare 4 KiB, 2 MiB and 1 GiB pages: hit rate, first-touch versus capacity misses, page-table walk memory references and TLB reach. A seeded simulation with LRU replacement, so every result is reproducible. Runs in your browser.