P-OPT: Practical Optimal Cache Replacement for Graph Analytics
Vignesh Balaji, Neal Clayton Crago, Aamer Jaleel, Brandon Lucia
Abstract
Graph analytics is an important workload that achieves suboptimal performance due to poor cache locality. State-of-the-art cache replacement policies fail to capture the highly dynamic and input-specific reuse patterns of graph application data. The main insight of this work is that for graph applications, the transpose of a graph succinctly represents the next references of all vertices in a graph execution; enabling an efficient emulation of Belady's MIN replacement policy. In this work, we propose P-OPT, an architecture solution that uses a specialized compressed representation of a transpose's next reference information to enable a practical implementation of Belady's MIN replacement policy. Our evaluations across multiple applications and inputs reveal that P-OPT improves cache locality for graph applications providing an average performance improvement of 33% (56% maximum) over LRU replacement.
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.
10 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
- RAHP: A Redundancy-aware Accelerator for High-performance Hypergraph Neural Network cites Domain-Specialized Cache Management for Graph Analytics
- Ginex: SSD-enabled Billion-scale Graph Neural Network Training on a Single Machine via Provably Optimal In-memory Caching cites Domain-Specialized Cache Management for Graph Analytics
- Scalar Vector Runahead cites Domain-Specialized Cache Management for Graph Analytics
- CARE: A Concurrency-Aware Enhanced Lightweight Cache Management Framework cites Domain-Specialized Cache Management for Graph Analytics
Cited by top-tier papers10
- Ginex: SSD-enabled Billion-scale Graph Neural Network Training on a Single Machine via Provably Optimal In-memory CachingYeonhong Park, Sunhong Min, Jae W. LeeVLDB 2022 · 57 citations
- A Two Level Neural Approach Combining Off-Chip Prediction with Adaptive Prefetch FilteringAlexandre Valentin Jamet, Georgios Vavouliotis, Daniel A. Jiménez, Lluc Alvarez et al.HPCA 2024 · 18 citations
- Scalar Vector RunaheadJaime Roelandts, Ajeya Naithani, Sam Ainsworth, Timothy M. Jones et al.MICRO 2024 · 11 citations
- CARE: A Concurrency-Aware Enhanced Lightweight Cache Management FrameworkXiaoyang Lu, Rujia Wang, Xian-He SunHPCA 2023 · 11 citations
- RAHP: A Redundancy-aware Accelerator for High-performance Hypergraph Neural NetworkHui Yu, Yu Zhang, Ligang He, Yingqi Zhao et al.MICRO 2024 · 6 citations
Builds on2
Related papers
- Locality-Aware Cache Replacement Policy for Graph TraversalsZeynep Korkmaz, M. Tamer Özsu, Khuzaima DaudjeeVLDB 2025
- Speeding up SpMV for power-law graph analytics by enhancing locality & vectorizationSerif Yesil, Azin Heidarshenas, Adam Morrison, Josep TorrellasSC 2020 · 28 citations
- From Optimal to Practical: Efficient Micro-op Cache Replacement Policies for Data Center ApplicationsKan Zhu, Yilong Zhao, Yufei Gao, Peter Braun et al.HPCA 2025 · 3 citations
- An Imitation Learning Approach for Cache ReplacementEvan Zheran Liu, Milad Hashemi, Kevin Swersky, Parthasarathy Ranganathan et al.ICML 2020 · 108 citations
- Predicting Reuse Interval for Optimized Web Caching: An LSTM-Based Machine Learning ApproachPengcheng Li, Yixin Guo, Yongbin GuSC 2022 · 2 citations
