CS FundamentalsVery hardGATE CS (PYQ pattern)

A 3-level paging system has a TLB (1 ns, hit ratio 95%) and a cache in front of memory (10 ns hit time, 90% hit ratio, and a miss costs 10 + 100 ns). Every memory reference, including each page-table read, goes through this cache with the same hit ratio. On a TLB miss the 3 levels are read and then the data. What is the effective access time?

  1. A. 23 ns
  2. B. 116 ns
  3. C. 24 ns
  4. D. 34 ns

Correct answer: C. 24 ns

Average memory reference = 0.9 x 10 + 0.1 x 110 = 20 ns. TLB hit: 1 + 20 = 21. TLB miss: 1 + 3 x 20 + 20 = 81. EAT = 0.95 x 21 + 0.05 x 81 = 24 ns.

More Operating Systems questions

Exams that ask this topic