edited by
525 views
1 votes
1 votes

 my doubt

1) default is hierarchal or simultaneous.

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

edited by

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

2 votes
2 votes
0 answers
1
Shubhanshu asked Aug 5, 2017
772 views
According to my calculation, the time required in write back is 240ns and for write through it should be 1920ns. Is it correct or not?
0 votes
0 votes
1 answer
3