The Gateway to Computer Science Excellence
0 votes

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.9k points)
closed by | 62 views

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.)

Please elaborate didn`t get you!
in a cache is working in look-aside mode, then parallel accessing will be done rather than hierarchical access.
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

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,832 questions
57,686 answers
107,200 users