GATE Computer ScienceHardGATE CS (PYQ pattern)

A processor has an L1 hit time of 1 cycle and an L1 miss rate of 10%. An L2 cache has a hit time of 10 cycles and a local miss rate of 40%, and main memory takes 100 cycles. The average memory access time is:

  1. A. 42 cycles
  2. B. 2.4 cycles
  3. C. 11.0 cycles
  4. D. 6.0 cycles

Correct answer: D. 6.0 cycles

AMAT = 1 + 0.1 × (10 + 0.4 × 100) = 1 + 0.1 × 50 = 6.0 cycles. Applying the 40% local rate to every access (rather than only to L1 misses) is the usual error.

More Computer Organization and Architecture questions

Exams that ask this topic