Question
A computer has a cache, main memory and a hard disk. If a referenced word is in the cache, it takes 20 ns to access
A computer has a cache, main memory and a hard disk. If a referenced word is in the cache, it takes 20 ns to access it. If it is in main memory but not in the cache, it takes 60 ns to load (the block containing) it into the cache (this includes the time to originally check the cache), and then the reference is started again. If the word is not in main memory, it takes 12 ms to load (the block containing) it from the disk into main memory, and then the reference is started again. The cache hit ratio is 0.5. In the case of a cache miss, the probability that the word is in the main memory is 0.7. Compute the average time required to access a referenced word in this system.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started