Skip to content
GATEiit

GATE CSE 2017 Session 2 Q39: Miss rates of L1 and L2 from a two-level cache AMAT of 2 cycles

Syllabus topic: Memory interfacing and hierarchy: performance and cache memory mapping

Question

In a two-level cache system, the access times of L1 and L2 caches are 1 and 8 clock cycles, respectively. The miss penalty from the L2 cache to main memory is 18 clock cycles. The miss rate of L1 cache is twice that of L2. The average memory access time (AMAT) of this cache system is 2 cycles. The miss rates of L1 and L2 respectively are:

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: A (official GATE 2017 final answer key)

Concept used: Two-level AMAT =tL1+m1(tL2+m2×penalty).

Concept notes

Loading notes…

First step: Write 2=1+m1(8+18m2) with m1=2m2 and solve the quadratic in m2.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Memory interfacing and hierarchy: performance and cache memory mapping

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2017 Session 2 CS question paper and final answer key, organised by IIT Roorkee. Question paper · Answer key