GATE Computer ScienceHardGATE CS (PYQ pattern)

Every memory reference first looks up a TLB (2 ns, hit ratio 96%). On a TLB miss the hardware walks a 3-level page table, each level costing one 100 ns memory read (page-table reads bypass the cache). The data access then goes to a cache with 5 ns hit time and 90% hit ratio; a cache miss adds a further 100 ns memory access after the cache lookup. No page faults occur. What is the effective access time?

  1. A. 25.0 ns
  2. B. 19.0 ns
  3. C. 28.5 ns
  4. D. 29.0 ns

Correct answer: D. 29.0 ns

TLB: 2 + 0.04 × (3 × 100) = 14 ns. Data: 5 + 0.1 × 100 = 15 ns (the cache lookup is always paid). Total 29.0 ns. Using 2 walk levels gives 25.0; ignoring cache misses 19.0; not paying the cache time on a miss 28.5.

More Computer Organization and Architecture questions

Exams that ask this topic