Lune

ASPLOS2024顶会

RPG2: Robust Profile-Guided Runtime Prefetch Generation

Yuxuan Zhang, Nathan Sobotka, Soyoon Park, Saba Jamilan, Tanvir Ahmed Khan, Baris Kasikci, Gilles A. Pokam, Heiner Litz, Joseph Devietti

摘要

Data cache prefetching is a well-established optimization to overcome the limits of the cache hierarchy and keep the processor pipeline fed with data. In principle, accurate, welltimed prefetches can sidestep the majority of cache misses and dramatically improve performance. In practice, however, it is challenging to identify which data to prefetch and when to do so. In particular, data can be easily requested too early, causing eviction of useful data from the cache, or requested too late, failing to avoid cache misses. Competition for limited off-chip memory bandwidth must also be balanced between prefetches and a program's regular "demand" accesses. Due to these challenges, prefetching can both help and hurt performance, and the outcome can depend on program structure, decisions about what to prefetch and when to do it, and, as we demonstrate in a series of experiments, program input, processor microarchitecture, and their interaction as well.

To try to meet these challenges, we have designed the RPG 2 system for online prefetch injection and tuning. RPG 2 is a pure-software system that operates on running C/C++ programs, profiling them, injecting prefetch instructions, and then tuning those prefetches to maximize performance. Across dozens of inputs, we find that RPG 2 can provide speedups of up to 2.15×, comparable to the best profileguided prefetching compilers, but can also respond when

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory Accesses 引用了 Profile-Guided Temporal Prefetching
  • ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory Accesses 引用了 Prodigy: Improving the Memory Latency of Data-Indirect Irregular Workloads Using Hardware-Software Co-Design
  • Constable: Improving Performance and Power Efficiency by Safely Eliminating Load Instruction Execution 引用了 CRISP: critical slice prefetching
  • 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
  • Profile-Guided Temporal Prefetching 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Profile-Guided Temporal Prefetching 引用了 Classifying Memory Access Patterns for Prefetching
  • Profile-Guided Temporal Prefetching 引用了 CRISP: critical slice prefetching
  • Profile-Guided Temporal Prefetching 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • PF-LLM: Large Language Model Hinted Hardware Prefetching 引用了 Profile-Guided Temporal Prefetching
  • PF-LLM: Large Language Model Hinted Hardware Prefetching 引用了 Classifying Memory Access Patterns for Prefetching
  • CRISP: critical slice prefetching 引用了 Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • CRISP: critical slice prefetching 引用了 Classifying Memory Access Patterns for Prefetching
  • CRISP: critical slice prefetching 引用了 I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing 引用了 Classifying Memory Access Patterns for Prefetching
  • Harvesting Memory-bound CPU Stall Cycles in Software with MSH 引用了 Classifying Memory Access Patterns for Prefetching
  • Harvesting Memory-bound CPU Stall Cycles in Software with MSH 引用了 CRISP: critical slice prefetching
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Constable: Improving Performance and Power Efficiency by Safely Eliminating Load Instruction ExecutionRahul Bera, Adithya Ranganathan, Joydeep Rakshit, Sujit Mahto 等ISCA 2024 · 8 次引用
  2. Harvesting Memory-bound CPU Stall Cycles in Software with MSHZhihong Luo, Sam Son, Sylvia Ratnasamy, Scott ShenkerOSDI 2024 · 5 次引用
  3. Profile-Guided Temporal PrefetchingMengming Li, Qijun Zhang, Yichuan Gao, Wenji Fang 等ISCA 2025 · 4 次引用
  4. ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory AccessesMengming Li, Chenlu Miao, Buqing Xu, Qijun Zhang 等ISCA 2026
  5. PF-LLM: Large Language Model Hinted Hardware PrefetchingCeyu Xu, Xiangfeng Sun, Weihang Li, Chen Bai 等ASPLOS 2026

它引用的 Paper9

  1. Classifying Memory Access Patterns for PrefetchingGrant Ayers, Heiner Litz, Christos Kozyrakis, Parthasarathy RanganathanASPLOS 2020 · 83 次引用
  2. 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 次引用
  3. I-SPY: Context-Driven Conditional Instruction Prefetching with CoalescingTanvir Ahmed Khan, Akshitha Sriraman, Joseph Devietti, Gilles Pokam 等MICRO 2020 · 37 次引用
  4. Twig: Profile-Guided BTB Prefetching for Data Center ApplicationsTanvir Ahmed Khan, Nathan Brown, Akshitha Sriraman, Niranjan K. Soundararajan 等MICRO 2021 · 33 次引用
  5. CRISP: critical slice prefetchingHeiner Litz, Grant Ayers, Parthasarathy RanganathanASPLOS 2022 · 33 次引用

相关 Paper

  1. R-Max: Extending BéLáDy's MIN with Prefetching to Bound Realistic Cache PerformanceLei Wang, Chia-Hang Lee, Maccoy Merrell, Gino Chacon 等ISCA 2026
  2. APT-GET: profile-guided timely software prefetchingSaba Jamilan, Tanvir Ahmed Khan, Grant Ayers, Baris Kasikci 等EuroSys 2022 · 25 次引用
  3. CrossPrefetch: Accelerating I/O Prefetching for Modern StorageShaleen Garg, Jian Zhang, Rekha Pitchumani, Manish Parashar 等ASPLOS 2024 · 9 次引用
  4. Reducing Load Latency with Cache Level PredictionMajid Jalili, Mattan ErezHPCA 2022 · 17 次引用
  5. Integrating Prefetcher Selection with Dynamic Request Allocation Improves Prefetching EfficiencyMengming Li, Qijun Zhang, Yongqing Ren, Zhiyao XieHPCA 2025 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖