in CO and Architecture edited by
508 views
1 vote
1 vote

 my doubt

1) default is hierarchal or simultaneous.

2)will we use hierarchical or simultaneous here..also explain.

in CO and Architecture edited by
by
508 views

10 Comments

Is the answer 277.5ns?
0
0
i am also getting 277.5

but answer is given as 274.125
0
0
For write through we take the effective access time for write operation as the memory access time only.. how have they done?
0
0
they have considered simultaneous arrangement...
0
0
https://gateoverflow.in/3653/gate2004-it-12-isro2016-77

Check here..Arjun Sir has asked to use hierarchical access as the default case.
0
0
i have read that link... but in the video solution  the instructor is using simultaneous ...totally confused.
0
0
But I think what we are using is the case of simultaneous only..I just read from a link in which it said that for write through, cache and memory are updated simultaneously so their access is simultaneous. Hence max(cache time, memory time) is considered which is certainly memory time.

If we would have added the cache time then answer would be greater than 277.5ns..can you share the solution?
0
0

I think until unless they don't mention in the question about the hierarchal access we don't consider it. In terms of hierarchal access following words may be used:- "on the miss in Li cache the data is transferred from Li+1 to Li"

I did:- $0.75 *(0.9*45+0.1*750) + 0.25*750 = 274.125$

0
0
Okay so you considered simultaneous access in case of read operation as well?
0
0
I have considered simultaneous access for "read operation" only because for write you have to employ write-through protocol.
0
0

1 Answer

0 votes
0 votes

Memory request for read $=0.75$

Memory request for write $=0.25$

Now, it is given for read request $90$% is hit and write through protocol is used.

In write through protocol, cache and main memory updated simultaneously.

 

  • So, for Read time required $=0.75(0.9*45+0.1*750)=86.625ns.$

 

  • for Write time required (as hit ratio of write is $1$)$=0.25*750=187.5$

Total time required $=86.625+187.5=274.125ns.$

 

Related questions