Block Size Tradeoff
In general, larger block size take advantage of spatial locality BUT:
- Larger block size means larger miss penalty:
- Takes longer time to fill up the block
- If block size is too big relative to cache size, miss rate will go up
In gerneral, Average Access Time:
- Hit Time x (1 - Miss Rate) + Miss Penalty x Miss Rate
Exploits Spatial Locality