Question: Problem 5. (5pts) A computer is using a cache, a main memory and a disk for storing memory and data. In a program, if the

 Problem 5. (5pts) A computer is using a cache, a main

Problem 5. (5pts) A computer is using a cache, a main memory and a disk for storing memory and data. In a program, if the he referenced word is in the cache, 10ns are required to access it. If it is in main memory but not in cache 90ns are needed to load it into cache, including the time to determine that it was not in cache, and the referencing is restarted. If the word is not in main memory, then 10ms (miliseconds) are needed to bring it from the disk, 90ns to copy it to the cache and the referencing is restarted. ('restart' means we lookup for the referenced word again.) The cache hit ratio is 90% and the main memory hit ratio is 95%. What is the average time in ns required to access a referenced word in this setup? (Note: the result is an integer.) Problem . (nts)

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!