79 views

| 79 views
0
Kindly type the problem , rather than posting it as a screenshot.
0
Is it around 15? What am I supposed to take stall here? 29 and 59 π
0

bhai L1 ka hit time kya liya @gauravkc

0
0. Usme koi stall nahi ana chahiye. Avg stall per inst pucha h, so. I might be wrong, not sure πΆ
0

Im getting around 20.

Taking L1 hit time 1 cycle.

If there is no miss = 3 cycles / instruction.

If there is miss :-

Cycles taken = 1+1/9[30+1/2[60]] = 7.666666667 = 23 cycles / instruction

Stalls = 23-3 = 20cycles. @gauravkc kaha galat hai bhai

0
Maine try kiya k direct stalls nikle.

hitL1 * 0 + 1/10 (0.5 * 30 + 0.5 * 60)

0.5*30 hona chahiye ya 30?

out of the total miss (50% I'll face 30 cc + 50% I'll face 60 cc)
0
30 bhai . agar 0.5 * 30 karra toh 0.5*(60+30) hona chaiye considering hierarchical access
0
aur isse stalls thodi aa rahe , isse toh cycles aa rahe . π€
0
Oh ha correct. 60+30 ayega fir.

Ha cycles aa rhe..  jane de chd π
0

Ans is 20.

((50/450)*(30)+(25/450)*60)*3

=20.
by (251 points)