The GATE Grind

GATE 2010 CS (CS1) – Question 58

Computer Organization and Architecture · Memory Interfacing and Hierarchy · 2 marks · Multiple choice

An L1 cache has four-word blocks and 2 ns access time. L2 has sixteen-word blocks and 20 ns access time. Main memory takes 200 ns. Each connecting bus transfers four words per transfer. On an L1 miss and L2 hit, how long does it take to load the required L1 block from L2?

Diagram for GATE 2010 CS (CS1) question 58
  1. 2 ns
  2. 20 ns
  3. 22 ns
  4. 88 ns

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (C) 22 ns

Explanation

An L1 block is four words, so one bus transfer suffices. The L2 read takes twenty nanoseconds and filling the L1 block takes two. Total transfer/fill time is 20+2=22 ns, C, under the sequential timing model in the question.

More Memory Interfacing and Hierarchy questions

All Memory Interfacing and Hierarchy questions →