Winter Semester 2026–27 · VIT-AP · BACSE106 · Operating Systems · Dr. Krithika L.B

Translation Look-aside Buffer

TLB hits and misses, step by step.

Module 4 Session 4.3 Lesson 2 of 3

Translation Lookaside Buffer (TLB)

A page-table walk is an extra memory access. The TLB is a small fully-associative cache of recent translations.

Effective access time

Hit: TLB + cache/memory for the data. Miss: TLB + page-table walk + data. A miss rate of a few percent is normal; a page-fault rate of a few percent is not.

EAT ≈ h·(tTLB + tmem) + (1−h)·(tTLB + 2·tmem) if the page table is one level in RAM and there is no fault.

Play a trace

TLB holds 4 entries. Access pages in sequence; watch hits and replacements (LRU among TLB slots, not RAM frames).