A cache has a hit ratio of 0.9 and an access time of 10 ns. On a miss, main memory (100 ns) is accessed after the cache. What is the effective access time?
Correct answer
C. 20 ns
12 views
C. 20 ns
12 views
EAT = 0.9 × 10 + 0.1 × (10 + 100) = 9 + 11 = 20 ns. If memory were accessed in parallel with the cache, the answer would be 0.9 × 10 + 0.1 × 100 = 19 ns.
Asked in: GATE CS, NTS, PEC
Not sure why the answer is C? Ask here and get an explanation.