Question: A computer has a cache, main memory, and a disk. If a referenced word is in the cache, 20ns are required to access it. If

 A computer has a cache, main memory, and a disk. If

A computer has a cache, main memory, and a disk. If a referenced word is in the cache, 20ns are required to access it. If it is in main memory but not in the cache (called cache miss), 80ns are needed to load it into the cache (this includes the time to originally check the cache), and then reference is started again. If the word is not in main memory, 25ms are required to fetch the word from disk, followed by 80ns to copy it to the cache, and then the reference is started again. The cache hit ratio is 0.95 and the main memory hit ratio is 0.8. What is the average time in ns required to access a referenced word on this system (state the number only without the unit, round to the closest integer -- for instance of your answer is 100.7 ns, enter: 101)? Note: 1ms = 1000000 ns

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!