Improving Cache Average Access Time
Warning
This post is more than a year old. Information may be outdated.
- Reduce Miss Rate
- Miss Rates can be:
- Compulsory Misses: first access will always miss
- Capacity Misses: when the cache is too small and when it is full
- Conflict Misses: when the cache has mapping scheme constraints (eviction in direct or set associative)
- Higher miss rate when the block size is too small (not enough data per access) or too large (time spent getting data I wouldn't use, and it takes up space that will prevent other data)
- Larger cache size reduces capacity misses
- High associativity reduces conflict misses. At reasonable cache sizes, associativity above or does not improve much.
Backlinks1
221104Comments