CS FundamentalsVery hardGATE CS

A two-level page table, TLB lookup 10 ns, memory 80 ns, TLB hit ratio 90%. On a TLB miss, a page-walk cache holding outer-level entries hits 80% of the time (then only the inner table is read from memory); otherwise both levels are read. What is the effective access time?

  1. A. 106 ns
  2. B. 98 ns
  3. C. 99.6 ns
  4. D. 89.6 ns

Correct answer: C. 99.6 ns

Hit: 90 ns. Miss with PWC hit: 10 + 80 + 80 = 170 ns; full walk: 10 + 160 + 80 = 250 ns. EAT = 0.9×90 + 0.1×(0.8×170 + 0.2×250) = 81 + 18.6 = 99.6 ns.

More Operating Systems questions

Exams that ask this topic