Gate2017 ss Q44

0. In a two-level cache system, the access times of L1 and L2 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:

  • Option : A
  • Explanation :
    --Access time of L1 = 1
    --Access Time of L2=8
    --miss penalty L1 cache (2*L2) = 18*2 = 2*a
    --miss penalty L2 cache say a = 18
    --AMAT (average memory access time) =2
    AMAT = Access time of L1 + (MissRate L1 * miss penalty L1) where miss penalty L1 = Access time of L2 + (MissRate L2 * miss penalty L2)
    2 = 1+ 2*a *(8 + a* 18)
    Solving the equation,
    a=0.111
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *