CS FundamentalsHardGATE CS

A system has a 3-level page table and a TLB. TLB lookup = 20 ns, memory access = 100 ns, TLB hit ratio = 95%. The TLB is searched before memory, and on a miss every level of the table is read from memory. What is the effective memory access time?

  1. A. 130 ns
  2. B. 135 ns
  3. C. 115 ns
  4. D. 134 ns

Correct answer: B. 135 ns

Hit: 20 + 100 = 120 ns. Miss: 20 + 3×100 (three table levels) + 100 (data) = 420 ns. EAT = 0.95×120 + 0.05×420 = 135 ns. Forgetting the data access on a miss gives 130.

More Operating Systems questions

Exams that ask this topic