What is the effective memory access time if the TLB hit rate is 90%, TLB access time is 1 cycle, and main memory access time is 10 cycles?
Q1. What is the effective memory access time if the TLB hit rate is 90%, TLB access time is 1 cycle, and main memory access time is 10 cycles?
Answer: 1.9 cycles
Explanation: Effective access time = (0.9 * (1 + 1)) + (0.1 * (1 + 10)) = 1.8 + 1.1 = 1.9 + 1 (for the page table access in case of TLB miss, assuming it is included in the 1 cycle for TLB hit) is not needed, so 1.9 cycles.