Spatial Memory Streaming
Stephen Somogyi, Thomas F. Wenisch, Anastassia Ailamaki et al. · ACM SIGARCH Computer Architecture News · 2006
Prior research indicates that there is much spatial variation in applications' memory access patterns. Modern memory systems, however, use small fixed-size cache blocks and as such cannot exploit the variation. Increasing the block size would not only prohibitively increase pin and interconnect bandwidth demands, but also increase the likelihood of false sharing in shared-memory multiprocessors. In this paper, we show that memory accesses in commercial workloads often exhibit repetitive layouts that span large memory regions (e.g., several kB), and these accesses recur in patterns that are predictable through codebased correlation. We propose Spatial Memory Streaming, a practical on-chip hardware technique that identifies codecorrelated spatial access patterns and streams predicted blocks to the primary cache ahead of demand misses. Using cycle-accurate full-system multiprocessor simulation of commercial and scientific applications, we demonstrate that Spatial Memory Streaming can on average predict 58% of L1 and 65% of off-chip misses, for a mean performance improvement of 37% and at best 307%.
Cited by 189 works. doi:10.1145/1150019.1136508
Authors
References
- Improving direct-mapped cache performance by the addition of a small fully-associative cache prefetch buffers
- Two-level adaptive training branch prediction
- Memory system characterization of commercial workloads
- Shared memory consistency models: a tutorial
- Contrasting characteristics and cache performance of technical and multi-user commercial workloads
- An effective on-chip preloading scheme to reduce data access penalty
- DBMSs on a Modern Processor: Where Does Time Go?
- Computer Architecture, Fifth Edition: A Quantitative Approach
- Performance of database workloads on shared-memory systems with out-of-order processors
- SMARTS