A hierarchical memory system that uses cache memory has cache access time of $50$ nano seconds, main memory access time of $300$ nano seconds, $75$% of memory requests are for read, hit ratio of $0.8$ for read access and the write-through scheme is used. What will be the average access time of the system both for read and write requests ?
Option A).
TRead = 0.8 * 50 + 0.2 * (300 + 50) = 110 ns
TWrite = 1 * max(300,50) = 1* 300 = 300 ns
Hence, Average access time for both read and write requests = 0.75 * 110 + 0.25 * 300
= 157.5 ns
64.3k questions
77.9k answers
244k comments
80.0k users