Awesome q2a theme
0 votes
Suppose that in 500 memory references there are 50 misses in the first level cache and 20 misses in the second level cache.Assume miss penalty from the L2 cache to memory is 100 cycles.The hit time of L2 cache is 20 cycle.The hit time of the L1 cache is 10 cycles. If there are 2.5 memory references per instruction.How many average stall cycles per instructions are there?
closed with the note: Doubt cleared
in CO & Architecture by (381 points)
closed by | 38 views

At @manu thakur sir notes

This formula given but solution I an not getting .

If miss rate in L1 are 50/500 

Then in L2 should be 20/ 500  but in solution it is taken 20/50 how? Please some explain


It is like 500 students appeared for an exam and each student was given 2 chance to clear the exam.

In first round, 50 student were not able to qualify so they go for round 2. i.e. 50/500 didn’t qualified

In round 2, 20 were not able to qualify the exam i.e. 20/50 didn’t qualified. here we are not writing 20/500 because only 50 students gave 2nd round.

I hope you can relate now.

Thank you
Nice explanation got it .
please close this question if your doubt is resolved.
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
9,003 questions
3,134 answers
95,817 users