Making Address Translation Fast: the TLB


The key to improving access performance is to rely on locality of reference to the page table. The translation-lookaside buffer (TLB) is a cache that keeps track of recently used address mappings to try to avoid an access to the page table. The TLB includes five fields: The following table shows TLB mappings in color. If there is no matching entry in the TLB for a page, the page table in memory must be examined to determine whether it is a page fault or merely a TLB miss.

The page table either supplies a physical page number for the page (which can be used to build a TLB entry) or indicates that the page resides on disk, a page fault. Since the page table has an entry for every virtual page, no tag field is needed.