CS FundamentalsHardProduct-company MCQ pattern

A system uses two-level paging and a TLB. TLB access = 10 ns, memory access = 100 ns, TLB hit ratio = 90%. The TLB is searched first, and on a miss both page-table levels are read from memory. What is the effective memory access time?

  1. A. 130 ns
  2. B. 140 ns
  3. C. 210 ns
  4. D. 120 ns

Correct answer: A. 130 ns

Hit: 10 + 100 = 110 ns. Miss: 10 + 100 + 100 (two table levels) + 100 (data) = 310 ns. EMAT = 0.9 × 110 + 0.1 × 310 = 99 + 31 = 130 ns. Counting only one table access on a miss gives 120 ns.

More Operating Systems questions

Exams that ask this topic