Cache Average Access Time
- is the hit rate of cache level
- is the access time of level
- is the burst rate per word of level (after startup access time)
- is the block size
with cache
Then there are two possible cases.
- We have a hit and only pay cache time.
- We miss and read the whole block to
Therefore, Average Access Time is (Hit Time) + (Miss Ratio) × (Miss Penalty)
with cache
- Hit at cache
- Hit at cache
- We miss and read the whole block from memory
Similarly,