Memory part 3: Show me the cache
Three ways to map a cache
Cache Performance
Improving Cache Performance
Reducing Misses
3Cs Absolute Miss Rate (SPEC92)
2:1 Cache Rule
How Can Reduce Misses?
1. Reduce Misses via Larger Block Size
2. Reduce Misses via Higher Associativity
3. Reducing Misses via a“Victim Cache”
4. Reducing Misses via “Pseudo-Associativity”
5. Reducing Misses by Hardware Prefetching of Instructions & Data
6. Reducing Misses by Software Prefetching Data
7. Reducing Misses by Compiler Optimizations
Summary
Email: hoffman@dlhoffman.com
Home Page: http://www.dlhoffman.com/classnotes/
Download presentation source