In a cache memory system, if the cache hit rate is 95% and the cache access time is 1 cycle, what is the average memory access time if main memory access time is 10 cycles?
Q1. In a cache memory system, if the cache hit rate is 95% and the cache access time is 1 cycle, what is the average memory access time if main memory access time is 10 cycles?
Answer: 1.45 cycles
Explanation: Average memory access time = cache hit rate * cache access time + (1 - cache hit rate) * main memory access time = 0.95 * 1 + 0.05 * 10 = 0.95 + 0.5 = 1.45