Answer: 14
To find the average read access time (Tavg), we use the weighted average of the cache hit and cache miss times based on their respective probabilities.
Given data:
- Cache hit time (Thit) = 5 ns
- Cache miss time (Tmiss) = 50 ns
- Hit ratio (H) = 80%=0.8
- Miss ratio (M) = 1−H=20%=0.2
Formula:
Tavg=(H×Thit)+(M×Tmiss)Calculation:
Tavg=(0.8×5 ns)+(0.2×50 ns)Tavg=4 ns+10 ns=14 nsThus, the average read access time is 14 nanoseconds.