retagged by
1,123 views
0 votes
0 votes
A computer has a cache, main memory, and a disk used for virtual memory. If a referenced word is in the cache,Cpu access it from cache.. If it is in main memory but not in the cache, 50 ns are needed to load it into the cache, and then the reference is started again. If the word is not in main memory, 16 ms are required to fetch the word from disk, followed by 50 ns to copy it to the cache, and then the reference is started again.The cache hit ratio is 0.7 and the main memory hit ratio is 0.8.What is the average time in nanoseconds required to access a referenced word on this system.Cache access time is 5 ns ,Main memory access time is 10 ns.

 

Edit:- Disk accessed was mentioned twice.Updated it
retagged by

Please log in or register to answer this question.

Related questions

751
views
1 answers
1 votes
Sumaiya23 asked Jan 18, 2018
751 views
Suppose the time taken to write in cache is tc and time to write in main memory is tm. If write back policy is used, only the main memory is written and time ... (time taken would be tm) or serially (time taken would be tc + tm)?
1.6k
views
2 answers
2 votes
1.7k
views
1 answers
5 votes
sumit chakraborty asked Nov 1, 2017
1,658 views
Suppose cache with hit ratio 'Ch' and access time 'Ct' is given and main memory with hit ratio 'Mh' and access time 'Mt' is given and a disk with access time 'Dt' is ... ) * ( Ct + Mt + Dt)If so, why the addition and is it implicit always ?
899
views
2 answers
1 votes
Hemanth_13 asked Nov 7, 2018
899 views
Little confusion with these questions.What will be o/p for these two questions one with Write back and the other is Write through.1.)A 128 word ... ( write-allocate and no write-allocate)followed for Hierarchal and Simultaneous access ?