Question: A particular program runs on a system with cache memory. The program makes a total of 250,000 memory references; 235,000 of these are to cached
A particular program runs on a system with cache memory. The program makes a total of 250,000 memory references; 235,000 of these are to cached locations.
a. What is the hit ratio in this case?
b. If the cache can be accessed in 1.0 ns but the main memory requires 7.5 ns for an access to take place, what is the average time required by this program for a memory access, assuming all accesses are reads?
c. What would be the answer to (b) if a write-through policy is used and 75% of memory accesses are reads?
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
a Hit ratio The hit ratio is the percentage of memory accesses that are served by the cache In this ... View full answer
Get step-by-step solutions from verified subject matter experts
