The Gateway to Computer Science Excellence
0 votes
62 views

Work done by me :for write it will always be $100ns$ 

Now for read :$20+0.2*100=40$
Total =$0.7*40+0.3*100=58$

closed as a duplicate of: Cache Access Time
in CO and Architecture by Boss (11.8k points)
closed by | 62 views
+2

in qsn given is lookaside cache, parrallel accessing will be followed, i.e for read: $0.8*20 + 0.2*100 = 36$

what you have done for read, i.e $20 + 0.2*100 = 40$(this is for look through cache.)

0
Please elaborate didn`t get you!
0
in a cache is working in look-aside mode, then parallel accessing will be done rather than hierarchical access.
0
Oh so its like simultaneous access? Where if its hit then its find by if its miss we access Both at the same time !

1 Answer

+2 votes
Best answer

Average memory access time =  Time spend for read + Time spend for write

= Read time when cache hit + Read time when cache miss
+Write time when cache hit + Write time when cache miss
 

0.7*(0.8*20 + 0.2*100) (Simultaneous read as look aside mode is given)

+ 0.3*(0.7*100 + 0.3*100) (as write through policy is used)

=25.2 + 30 = 55.2

https://stackoverflow.com/questions/34001002/look-through-vs-look-aside

by Active (1.1k points)
selected by

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,645 questions
56,588 answers
195,788 comments
101,845 users