Feedback Directed Prefetching: Improving the Performance and Bandwidth-Efficiency of Hardware Prefetchers
Santhosh Srinath, Onur Mutlu, Hyesoon Kim et al. · Proceedings - International Symposium on High-Performance Computer Architecture/Proceedings · 2007
High performance processors employ hardware data prefetching to reduce the negative performance impact of large main memory latencies. While prefetching improves performance substantially on many programs, it can significantly reduce performance on others. Also, prefetching can significantly increase memory bandwidth requirements. This paper proposes a mechanism that incorporates dynamic feedback into the design of the prefetcher to increase the performance improvement provided by prefetching as well as to reduce the negative performance and bandwidth impact of prefetching. Our mechanism estimates prefetcher accuracy, prefetcher timeliness, and prefetcher-caused cache pollution to adjust the aggressiveness of the data prefetcher dynamically. We introduce a new method to track cache pollution caused by the prefetcher at run-time. We also introduce a mechanism that dynamically decides where in the LRU stack to insert the prefetched blocks in the cache based on the cache pollution caused by the prefetcher. Using the proposed dynamic mechanism improves average performance by 6.5% on 17 memory-intensive benchmarks in the SPEC CPU2000 suite compared to the best-performing conventional stream-based data prefetcher configuration, while it consumes 18.7% less memory bandwidth. Compared to a conventional stream-based data prefetcher configuration that consumes similar amount of memory bandwidth, feedback directed prefetching provides 13.6% higher performance. Our results show that feedback-directed prefetching eliminates the large negative performance impact incurred on some benchmarks due to prefetching, and it is applicable to stream-based prefetchers, global-history-buffer based delta correlation prefetchers, and PC-based stride prefetchers
Cited by 354 works. doi:10.1109/hpca.2007.346185
Authors
References
- Space/time trade-offs in hash coding with allowable errors
- Cache Memories
- Improving direct-mapped cache performance by the addition of a small fully-associative cache prefetch buffers
- Lockup-free instruction fetch/prefetch cache organization
- POWER4 system microarchitecture
- The microarchitecture of the Pentium 4 processor
- Improving direct-mapped cache performance by the addition of a small fully-associative cache and prefetch buffers
- An effective on-chip preloading scheme to reduce data access penalty
- Evaluating stream buffers as a secondary cache replacement
- Reducing DRAM latencies with an integrated memory hierarchy design