Question 21
A cache memory needs an access time of 30 ns and main memory 150 ns, what is the average access time of CPU (assume hit ratio = 80%)?
Step-by-Step Solution
Detailed Explanation:
$Hierarchical access mode: T_{avg} = T_cache + (1 - H) * T_main.$
$T_{avg} = 30 + (1 - 0.8) * 150 = 30 + 0.2 * 150 = 30 + 30 = 60 ns.$