CS FundamentalsVery hardGATE CS

A TLB with 32 entries uses 4 KB pages. A program loops over an array of 40 pages, touching each page once per pass. With LRU replacement in a fully associative TLB, what is the steady-state TLB miss rate per page access?

  1. A. 100%
  2. B. 20%
  3. C. 80%
  4. D. 0%

Correct answer: A. 100%

A cyclic sweep over 40 pages with 32 LRU entries always evicts the page that will be needed next (LRU's worst case), so every access misses. Shrinking the loop to 32 pages would give 0% after warm-up.

More Operating Systems questions

Exams that ask this topic