GATE Computer ScienceHardGATE CSE · UGC NET

Virtual memory uses a two-level page table. A TLB lookup takes 10 ns with a 90% hit rate, and every main-memory access takes 100 ns. On a TLB miss the two page-table levels are read from memory before the data access. What is the effective memory access time (TLB and the memory accesses only)?

  1. A. 120 ns
  2. B. 130 ns
  3. C. 150 ns
  4. D. 170 ns

Correct answer: B. 130 ns

Hit: 10 + 100 = 110 ns; miss: 10 + 2 × 100 + 100 = 310 ns; EAT = 0.9 × 110 + 0.1 × 310 = 130 ns.

More Computer Organization and Architecture questions

Exams that ask this topic