The Effects of Block Size
Big blocks are good
- Reduce the overhead of bringing data into the cache
- Exploit spatial locality
Small blocks are good
- Don’t evict so much other data when bringing in a new entry
- More likely that all items in the block will turn out to be useful
How do you choose a block size?