edited by
429 views
0 votes
0 votes

ASAIK for Tavg(read) =  T(read) = HR(read) * Tc + (1-HR) * (Tc+Tm)

but while calculating they have neglected Tc in (Tc+Tm)...

Please verify ??

edited by

1 Answer

1 votes
1 votes

given

Cache access time = 45ns

Main memory access time =750ns

hit ratio for read = 0.9

hit ratio for write = 1 { which means they are using simultaneous access}

avg time for read = hit in cache * access time of cache + miss in cache * MM access time

                               =0.9*45+0.1*750 =115.5ns

avg time for write =  1*750ns {directly accessing last level for write} = 750ns

avg time for read and write = 0.75*115.5 +0.25*750 =274.125

Related questions

0 votes
0 votes
0 answers
2