Fundamentals · Hard · Free
What is a TLB? How does it speed up address translation?
FresherFundamentalsOperating Systems
Translation Lookaside Buffer
Virtual→physical address translation via page tables is costly. TLB caches recent translations in CPU hardware—hit avoids full table walk.
- TLB miss → page table lookup (and maybe page fault).
- Large pages (huge pages) improve TLB coverage.
- Context switch may flush TLB entries.
One sentence: TLB is a cache for address translation.