GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A hierarchy has L1 (1 ns), L2 (4 ns), L3 (15 ns) and DRAM (120 ns); each level is accessed only after the previous one misses. Measured miss rates are: L1 10% of all accesses, L2 3% of all accesses (global), L3 1.5% of all accesses (global). What are the average access time and the local miss rate of L3?

  1. A. 3.65 ns; 1.5%
  2. B. 1.45 ns; 50%
  3. C. 3.65 ns; 50%
  4. D. 5.45 ns; 50%

Correct answer: C. 3.65 ns; 50%

With global rates each level's time is paid by the fraction that reaches it: 1 + 0.10 × 4 + 0.03 × 15 + 0.015 × 120 = 3.65 ns. L3 local miss rate = 0.015 / 0.03 = 50%. Nesting the global rates as if local gives 1.45; charging DRAM to every L2 miss gives 5.45.

More Computer Organization and Architecture questions

Exams that ask this topic