The GATE Grind

GATE 2025 CS (CS2) – Question 55

Computer Organization and Architecture · Memory Interfacing and Hierarchy · 2 marks · Numerical answer

Given a computing system with two levels of cache (L1 and L2) and a main memory. The first level (L1) cache access time is 1 nanosecond (ns) and the "hit rate" for L1 cache is 90% while the processor is accessing the data from L1 cache. Whereas, for the second level (L2) cache, the "hit rate" is 80% and the "miss penalty" for transferring data from L2 cache to L1 cache is 10 ns. The "miss penalty" for the data to be transferred from main memory to L2 cache is 100 ns.

Then the average memory access time in this system in nanoseconds is ___________ . (rounded off to one decimal place)

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: 4

Explanation

AMAT $= 1 + 0.1 \times (10 + 0.2 \times 100) = 1 + 0.1 \times 30 = 4.0$ ns.