The Gateway to Computer Science Excellence
0 votes
64 views

please provide a detailed solution

in CO and Architecture by (175 points) | 64 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 πŸ˜‚

Please log in or register to answer this question.

Related questions

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
50,666 questions
56,136 answers
193,704 comments
93,485 users