HomeComputer ScienceTLB Miss & Multi-Level Page Table Walk

🗺️ TLB Miss & Multi-Level Page Table Walk

Explore how virtual addresses are translated to physical addresses, watching TLB hits and misses trigger multi-level page table walks as memory access patterns change.

Computer Science3DModerate60 FPS
tlb-page-table-walk-lab ↗ Open standalone

The simulation shows a virtual address either resolving instantly via a TLB hit or triggering a multi-level page table walk on a miss, with each hierarchy level's memory lookup visualized as a hop toward the final physical frame.

🔬 What It Demonstrates

The simulation shows a virtual address either resolving instantly via a TLB hit or triggering a multi-level page table walk on a miss, with each hierarchy level's memory lookup visualized as a hop toward the final physical frame.

🎮 How to Use

Choose sequential or scattered memory access patterns and step through accesses to see the resulting TLB hit rate and watch individual misses trigger the cascading page table walk, then compare timing between the two patterns.

💡 Did You Know?

A single TLB miss on a four-level page table can require up to four sequential dependent memory reads just to compute one address, which is why TLB hit rates above 99 percent are considered essential for good performance rather than a nice bonus.

⚙ Under the hood

Explore how virtual addresses are translated to physical addresses, watching TLB hits and misses trigger multi-level page table walks as memory access patterns change.

computer-architecturevirtual-memorytlbpage-tablememory-managementoperating-systemscpu-performance

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)