Compute the access time when there is a cache miss


Question:

Cache access time

A single level cache has following specifications.
Access time = 2.5 ns
Line size = 64 bytes
Hit ratio = 0.95

Main memory uses a block transfer capability, and has first word (4 bytes) access time of 50 ns and access time for following words as 5 ns.

Compute the access time when there is a cache miss? Assume that the cache waits until the line has been fetched from main memory and then re-executes for a hit.

Will increasing the line size to 128 bytes, and a resulting increase in H (hit ratio) to .97, reduce the average memory access time?

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Compute the access time when there is a cache miss
Reference No:- TGS01934641

Now Priced at $20 (50% Discount)

Recommended (99%)

Rated (4.3/5)