What is the average memory access time if cache hit rate is 80%, cache access time is 1 cycle, and main memory access time is 10 cycles?
Q1. What is the average memory access time if cache hit rate is 80%, cache access time is 1 cycle, and main memory access time is 10 cycles?
Answer: 2.8 cycles
Explanation: Average access time = (0.8 * 1) + (0.2 * 10) = 0.8 + 2 = 2.8 cycles.