Profile-Guided Temporal Prefetching
Mengming Li, Qijun Zhang, Yichuan Gao, Wenji Fang, Yao Lu, Yongqing Ren, Zhiyao Xie
摘要
Temporal prefetching shows promise for handling irregular memory access patterns, which are common in data-dependent and pointer-based data structures. Recent studies introduced on-chip metadata storage to reduce the memory traffic caused by accessing metadata from off-chip DRAM. However, existing prefetching schemes struggle to efficiently utilize the limited on-chip storage. An alternative solution, software indirect access prefetching, remains ineffective for optimizing temporal prefetching.
In this work, we propose Prophet-a hardware-software codesigned framework that leverages profile-guided methods to optimize metadata storage management. Prophet profiles programs using counters instead of traces, injects hints into programs to guide metadata storage management, and dynamically tunes these hints to enable the optimized binary to adapt to different program inputs. Prophet is designed to coexist with existing hardware temporal prefetchers, delivering efficient, high-performance solutions for frequently executed workloads while preserving the original runtime scheme for less frequently executed workloads. Prophet outperforms the state-of-the-art temporal prefetcher, Triangel, by 14.23%, effectively addressing complex temporal patterns where prior profile-guided solutions fall short (only achieving 0.1% performance gain). Prophet delivers superior performance across all evaluated workload inputs, introducing negligible profiling, analysis, and instruction overhead.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory Accesses 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
- Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 Ripple: Profile-Guided Instruction Cache Replacement for Data Center Applications
- Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 Classifying Memory Access Patterns for Prefetching
- Twig: Profile-Guided BTB Prefetching for Data Center Applications 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
- PF-LLM: Large Language Model Hinted Hardware Prefetching 引用了 Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
- PF-LLM: Large Language Model Hinted Hardware Prefetching 引用了 Classifying Memory Access Patterns for Prefetching
- I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing 引用了 Classifying Memory Access Patterns for Prefetching
引用它的顶会 Paper2
它引用的 Paper15
- Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware PrefetchingSamuel Pakalapati, Biswabandan PandaISCA 2020 · 97 次引用
- Classifying Memory Access Patterns for PrefetchingGrant Ayers, Heiner Litz, Christos Kozyrakis, Parthasarathy RanganathanASPLOS 2020 · 83 次引用
- I-SPY: Context-Driven Conditional Instruction Prefetching with CoalescingTanvir Ahmed Khan, Akshitha Sriraman, Joseph Devietti, Gilles Pokam 等MICRO 2020 · 37 次引用
- Ripple: Profile-Guided Instruction Cache Replacement for Data Center ApplicationsTanvir Ahmed Khan, Dexin Zhang, Akshitha Sriraman, Joseph Devietti 等ISCA 2021 · 33 次引用
- Twig: Profile-Guided BTB Prefetching for Data Center ApplicationsTanvir Ahmed Khan, Nathan Brown, Akshitha Sriraman, Niranjan K. Soundararajan 等MICRO 2021 · 33 次引用
相关 Paper
- A New Formulation of Neural Data PrefetchingQuang Duong, Akanksha Jain, Calvin LinISCA 2024 · 16 次引用
- Elevating Temporal Prefetching Through Instruction CorrelationShuiyi He, Zicong Wang, Xuan Tang, Hao Tang 等MICRO 2025 · 3 次引用
- Prodigy: Improving the Memory Latency of Data-Indirect Irregular Workloads Using Hardware-Software Co-DesignNishil Talati, Kyle May, Armand Behroozi, Yichen Yang 等HPCA 2021 · 62 次引用
- Differential-Matching Prefetcher for Indirect Memory AccessGelin Fu, Tian Xia, Zhongpei Luo, Ruiyang Chen 等HPCA 2024 · 15 次引用
- RnR: A Software-Assisted Record-and-Replay Hardware PrefetcherChao Zhang, Yuan Zeng, John Shalf, Xiaochen GuoMICRO 2020 · 10 次引用
