CS FundamentalsHardGATE CS

Two-level paging, TLB lookup 5 ns, memory access 100 ns, TLB searched first. What minimum TLB hit ratio keeps the effective access time at or below 130 ns?

  1. A. 75%
  2. B. 85%
  3. C. 90%
  4. D. 87.5%

Correct answer: D. 87.5%

EAT = h(5 + 100) + (1 − h)(5 + 300) = 305 − 200h ≤ 130, so h ≥ 175/200 = 87.5%. Treating the table as single-level gives 75%, and ignoring the TLB lookup time gives 85%.

More Operating Systems questions

Exams that ask this topic