A computer system has a cache with a cache access time TC = 10 ns, a hit ratio of 80 % and an average memory access time TM = 20 ns. What is the access time for physical memory TP?
A computer system has a cache with a cache access time TC = 10 ns, a hit ratio of 80 % and an average memory access time TM = 20 ns. What is the access time for physical memory TP? Correct Answer 60 ns
Concept:
TM = h × TC + (1 – h) × TP
TM is the average memory access time
TC is the cache access time
TP is the access time for physical memory
h is the hit ratio
Calculation:
Given that TC = 10 ns, TM = 20 ns, h = 80% = 0.8
TM = h × TC + (1 – h) × TP
⇒ 20 = 0.8 × 10 + (1 – 0.8) × TP
⇒ 20 = 8 + 0.2 TP
⇒ TP = 60 ns
মোঃ আরিফুল ইসলাম
Feb 20, 2025