edited by
557 views
0 votes
0 votes

edited by

1 Answer

Best answer
4 votes
4 votes

TavgTotal = 0.7 * TavgR  +  0.3 * TavgW

Now we have to calculate  TavgR and TavgW

TavgR = 0.8 * T+ 0.2 * Tm   -----------------------( We are not doing 0.2*(Tc+Tm) becoz in look aside cache simultaneous cache and memory lookup is done. That means it will be max(Tc,Tm) in case of miss and min(Tc,Tm) in case of hit )

so  TavgR = 0.8*20 + 0.2*100 = 36

TavgW = 0.7 * Tc + 0.3 * Tm  ----------------------- ( Same reason here )

TavgW = 0.7*20 + 0.3*100 = 44

So, TavgTotal = 0.7*36 + 0.3*44 = 38.4

selected by

Related questions

0 votes
0 votes
1 answer
1
Devwritt asked Apr 29, 2017
1,756 views
If a 16-way Set Associative cache is made up of 64 bit words , 16 words per line and 8192 sets,How big is the cache in Megabytes ?
2 votes
2 votes
2 answers
2
2 votes
2 votes
2 answers
3