AlgoViz

Address translation and page faults

medium 7 min

A virtual address identifies a location inside one process.

Where it shows up

The same pattern appears across everyday software.

  • A warm process touches a new working set

    A service maps a large file and starts serving immediately. Mapping returns quickly, yet the first few requests take much longer. Align the latency spike with major faults and storage reads for that process. TLB misses and page faults count different events. Warming the hot range costs startup time and can evict useful pages elsewhere.

  • Verifying the intervention

    Warm the bounded hot range before accepting traffic. Compare first-request latency after a cold restart. A warm page table can still suffer TLB misses. Flat major faults with high CPU time shift the investigation away from cold disk reads.