Gaze into the Pattern: Characterizing Spatial Patterns with Internal Temporal Correlations for Hardware Prefetching
Zixiao Chen, Chentao Wu, Yunfei Gu, Ranhao Jia, Jie Li, Minyi Guo
摘要
Hardware prefetching is one of the most widely-used techniques for hiding long data access latency. To address the challenges faced by hardware prefetching, architects have proposed to detect and exploit the spatial locality at the granularity of spatial region. When a new region is activated, they try to find similar previously accessed regions for footprint prediction based on system-level environmental features such as the trigger instruction or data address. However, we find that such context-based prediction cannot capture the essential characteristics of access patterns, leading to limited flexibility, practicality and suboptimal prefetching performance. In this paper, inspired by the temporal property of memory accessing, we note that the temporal correlation exhibited within the spatial footprint is a key feature of spatial patterns. To this end, we propose Gaze, a simple and efficient hardware spatial prefetcher that skillfully utilizes footprint-internal temporal correlations to efficiently characterize spatial patterns. Meanwhile, we observe a unique unresolved challenge in utilizing spatial footprints generated by spatial streaming, which exhibit extremely high access density. Therefore, we further enhance Gaze with a dedicated two-stage approach that mitigates the over-prefetching problem commonly encountered in conventional schemes. Our comprehensive and diverse set of experiments show that Gaze can effectively enhance the performance across a wider range of scenarios. Specifically, Gaze improves performance by and 5.4% at single-core, 11.4% and at eight-core, compared to most recent low-cost solutions PMP and vBerti.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Berti: an Accurate Local-Delta Data Prefetcher 引用了 Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning
- Berti: an Accurate Local-Delta Data Prefetcher 引用了 A hierarchical neural model of data prefetching
- Berti: an Accurate Local-Delta Data Prefetcher 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
- Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning 引用了 A hierarchical neural model of data prefetching
- Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
- Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction 引用了 Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning
- Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
- Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learning 引用了 Berti: an Accurate Local-Delta Data Prefetcher
- Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learning 引用了 Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement Learning
- Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learning 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
- Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement Learning 引用了 Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction
- Drishti: Do Not Forget Slicing While Designing Last-Level Cache Replacement Policies for Many-Core Systems 引用了 Berti: an Accurate Local-Delta Data Prefetcher
- Drishti: Do Not Forget Slicing While Designing Last-Level Cache Replacement Policies for Many-Core Systems 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
引用它的顶会 Paper2
- Drishti: Do Not Forget Slicing While Designing Last-Level Cache Replacement Policies for Many-Core SystemsSweta, Prerna Priyadarshini, Biswabandan PandaMICRO 2025 · 1 次引用
- Athena: Synergizing Data Prefetching and Off-Chip Prediction via Online Reinforcement LearningRahul Bera, Zhenrong Lang, Caroline Hengartner, Konstantinos Kanellopoulos 等HPCA 2026
它引用的 Paper12
- A hierarchical neural model of data prefetchingZhan Shi, Akanksha Jain, Kevin Swersky, Milad Hashemi 等ASPLOS 2021 · 100 次引用
- Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware PrefetchingSamuel Pakalapati, Biswabandan PandaISCA 2020 · 97 次引用
- Pythia: A Customizable Hardware Prefetching Framework Using Online Reinforcement LearningRahul Bera, Konstantinos Kanellopoulos, Anant Nori, Taha Shahroodi 等MICRO 2021 · 95 次引用
- Berti: an Accurate Local-Delta Data PrefetcherAgustín Navarro-Torres, Biswabandan Panda, Jesús Alastruey-Benedé, Pablo Ibáñez 等MICRO 2022 · 82 次引用
- Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load PredictionRahul Bera, Konstantinos Kanellopoulos, Shankar Balachandran, David Novo 等MICRO 2022 · 37 次引用
相关 Paper
- STEP: Spatial Footprint Prefetcher with Multi-Point Temporal TriggersYuanji Ye, Oliver Lenke, Thomas Wild, Andreas HerkersdorfISCA 2026
- A New Formulation of Neural Data PrefetchingQuang Duong, Akanksha Jain, Calvin LinISCA 2024 · 16 次引用
- ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory AccessesMengming Li, Chenlu Miao, Buqing Xu, Qijun Zhang 等ISCA 2026
- Differential-Matching Prefetcher for Indirect Memory AccessGelin Fu, Tian Xia, Zhongpei Luo, Ruiyang Chen 等HPCA 2024 · 15 次引用
- Merging Similar Patterns for Hardware PrefetchingShizhi Jiang, Qiusong Yang, Yiwei CiMICRO 2022 · 27 次引用
