Vector Runahead
Ajeya Naithani, Sam Ainsworth, Timothy M. Jones, Lieven Eeckhout
Abstract
The memory wall places a significant limit on performance for many modern workloads. These applications feature complex chains of dependent, indirect memory accesses, which cannot be picked up by even the most advanced microar-chitectural prefetchers. The result is that current out-of-order superscalar processors spend the majority of their time stalled. While it is possible to build special-purpose architectures to exploit the fundamental memory-level parallelism, a microarchi-tectural technique to automatically improve their performance in conventional processors has remained elusive.Runahead execution is a tempting proposition for hiding latency in program execution. However, to achieve high memory-level parallelism, a standard runahead execution skips ahead of cache misses. In modern workloads, this means it only prefetches the first cache-missing load in each dependent chain. We argue that this is not a fundamental limitation. If runahead were instead to stall on cache misses to generate dependent chain loads, then it could regain performance if it could stall on many at once. With this insight, we present Vector Runahead, a technique that prefetches entire load chains and speculatively reorders scalar operations from multiple loop iterations into vector format to bring in many independent loads at once. Vectorization of the runahead instruction stream increases the effective fetch/decode bandwidth with reduced resource requirements, to achieve high degrees of memory-level parallelism at a much faster rate. Across a variety of memory-latency-bound indirect workloads, Vector Runahead achieves a 1.79× performance speedup on a large out-of-order superscalar system, significantly improving on state-of-the-art techniques.
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.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Constable: Improving Performance and Power Efficiency by Safely Eliminating Load Instruction Execution cites Decoupled Vector Runahead
- Constable: Improving Performance and Power Efficiency by Safely Eliminating Load Instruction Execution cites Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction
- Constable: Improving Performance and Power Efficiency by Safely Eliminating Load Instruction Execution cites Precise Runahead Execution
- Decoupled Vector Runahead cites Pipette: Improving Core Utilization on Irregular Applications through Intra-Core Pipeline Parallelism
- Decoupled Vector Runahead cites Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
- Decoupled Vector Runahead cites Classifying Memory Access Patterns for Prefetching
- Decoupled Vector Runahead cites Livia: Data-Centric Computing Throughout the Memory Hierarchy
- Decoupled Vector Runahead cites Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction
- Decoupled Vector Runahead cites Precise Runahead Execution
- Scalar Vector Runahead cites Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
- Scalar Vector Runahead cites Decoupled Vector Runahead
- Scalar Vector Runahead cites Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction
- Scalar Vector Runahead cites Precise Runahead Execution
- Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load Prediction cites Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware Prefetching
Cited by top-tier papers13
- Crescent: taming memory irregularities for accelerating deep point cloud analyticsYu Feng, Gunnar Hammonds, Yiming Gan, Yuhao ZhuISCA 2022 · 44 citations
- Hermes: Accelerating Long-Latency Load Requests via Perceptron-Based Off-Chip Load PredictionRahul Bera, Konstantinos Kanellopoulos, Shankar Balachandran, David Novo et al.MICRO 2022 · 37 citations
- Decoupled Vector RunaheadAjeya Naithani, Jaime Roelandts, Sam Ainsworth, Timothy M. Jones et al.MICRO 2023 · 15 citations
- Scalar Vector RunaheadJaime Roelandts, Ajeya Naithani, Sam Ainsworth, Timothy M. Jones et al.MICRO 2024 · 11 citations
- 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
Builds on6
- Bouquet of Instruction Pointers: Instruction Pointer Classifier-based Spatial Hardware PrefetchingSamuel Pakalapati, Biswabandan PandaISCA 2020 · 97 citations
- Classifying Memory Access Patterns for PrefetchingGrant Ayers, Heiner Litz, Christos Kozyrakis, Parthasarathy RanganathanASPLOS 2020 · 83 citations
- Livia: Data-Centric Computing Throughout the Memory HierarchyElliot Lockerman, Axel Feldmann, Mohammad Bakhshalipour, Alexandru Stanescu et al.ASPLOS 2020 · 55 citations
- Precise Runahead ExecutionAjeya Naithani, Josué Feliu, Almutaz Adileh, Lieven EeckhoutHPCA 2020 · 32 citations
- Pipette: Improving Core Utilization on Irregular Applications through Intra-Core Pipeline ParallelismQuan M. Nguyen, Daniel SánchezMICRO 2020 · 28 citations
Related papers
- Register file prefetchingSudhanshu Shukla, Sumeet Bandishte, Jayesh Gaur, Sreenivas SubramoneyISCA 2022 · 8 citations
- Interleaved Multi-VectorizingZhuhe Fang, Beilei Zheng, Chuliang WengVLDB 2020 · 19 citations
- CRISP: critical slice prefetchingHeiner Litz, Grant Ayers, Parthasarathy RanganathanASPLOS 2022 · 33 citations
- Reliability-Aware RunaheadAjeya Naithani, Lieven EeckhoutHPCA 2022 · 2 citations
- Reducing Load Latency with Cache Level PredictionMajid Jalili, Mattan ErezHPCA 2022 · 17 citations
