CS FundamentalsHardIBM · Deloitte pattern

A TLB has a hit ratio of 80%. TLB lookup takes 20 ns; a memory access (for the page table on a miss, or for data) takes 100 ns each. On a hit, only one memory access (for data) is needed after the TLB lookup; on a miss, two memory accesses are needed (page table, then data). What is the effective access time?

  1. A. 220 ns
  2. B. 110 ns
  3. C. 140 ns
  4. D. 120 ns

Correct answer: C. 140 ns

Hit: 20 + 100 = 120 ns, with probability 0.8. Miss: 20 + 100 + 100 = 220 ns, with probability 0.2. EMAT = 0.8 × 120 + 0.2 × 220 = 96 + 44 = 140 ns.

More Operating Systems questions

Exams that ask this topic