Lune

Abstract

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

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory Accesses cites Profile-Guided Temporal Prefetching
  • ICP: Exploiting Instruction Correlation for Prefetching Irregular Memory Accesses cites 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 cites CRISP: critical slice prefetching
  • Twig: Profile-Guided BTB Prefetching for Data Center Applications cites Classifying Memory Access Patterns for Prefetching
  • Twig: Profile-Guided BTB Prefetching for Data Center Applications cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • Profile-Guided Temporal Prefetching cites Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • Profile-Guided Temporal Prefetching cites Classifying Memory Access Patterns for Prefetching
  • Profile-Guided Temporal Prefetching cites CRISP: critical slice prefetching
  • Profile-Guided Temporal Prefetching cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • PF-LLM: Large Language Model Hinted Hardware Prefetching cites Profile-Guided Temporal Prefetching
  • PF-LLM: Large Language Model Hinted Hardware Prefetching cites Classifying Memory Access Patterns for Prefetching
  • CRISP: critical slice prefetching cites Twig: Profile-Guided BTB Prefetching for Data Center Applications
  • CRISP: critical slice prefetching cites Classifying Memory Access Patterns for Prefetching
  • CRISP: critical slice prefetching cites I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing
  • I-SPY: Context-Driven Conditional Instruction Prefetching with Coalescing cites Classifying Memory Access Patterns for Prefetching
  • Harvesting Memory-bound CPU Stall Cycles in Software with MSH cites Classifying Memory Access Patterns for Prefetching
  • Harvesting Memory-bound CPU Stall Cycles in Software with MSH cites CRISP: critical slice prefetching
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

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

Builds on9

  1. Classifying Memory Access Patterns for PrefetchingGrant Ayers, Heiner Litz, Christos Kozyrakis, Parthasarathy RanganathanASPLOS 2020 · 83 citations
  2. Prodigy: Improving the Memory Latency of Data-Indirect Irregular Workloads Using Hardware-Software Co-DesignNishil Talati, Kyle May, Armand Behroozi, Yichen Yang et al.HPCA 2021 · 62 citations
  3. I-SPY: Context-Driven Conditional Instruction Prefetching with CoalescingTanvir Ahmed Khan, Akshitha Sriraman, Joseph Devietti, Gilles Pokam et al.MICRO 2020 · 37 citations
  4. Twig: Profile-Guided BTB Prefetching for Data Center ApplicationsTanvir Ahmed Khan, Nathan Brown, Akshitha Sriraman, Niranjan K. Soundararajan et al.MICRO 2021 · 33 citations
  5. CRISP: critical slice prefetchingHeiner Litz, Grant Ayers, Parthasarathy RanganathanASPLOS 2022 · 33 citations

Related papers

  1. R-Max: Extending BéLáDy's MIN with Prefetching to Bound Realistic Cache PerformanceLei Wang, Chia-Hang Lee, Maccoy Merrell, Gino Chacon et al.ISCA 2026
  2. APT-GET: profile-guided timely software prefetchingSaba Jamilan, Tanvir Ahmed Khan, Grant Ayers, Baris Kasikci et al.EuroSys 2022 · 25 citations
  3. CrossPrefetch: Accelerating I/O Prefetching for Modern StorageShaleen Garg, Jian Zhang, Rekha Pitchumani, Manish Parashar et al.ASPLOS 2024 · 9 citations
  4. Reducing Load Latency with Cache Level PredictionMajid Jalili, Mattan ErezHPCA 2022 · 17 citations
  5. Integrating Prefetcher Selection with Dynamic Request Allocation Improves Prefetching EfficiencyMengming Li, Qijun Zhang, Yongqing Ren, Zhiyao XieHPCA 2025 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines