Random Walks on Huge Graphs at Cache Efficiency
Ke Yang, Xiaosong Ma, Saravanan Thirumuruganathan, Kang Chen, Yongwei Wu
Abstract
Data-intensive applications dominated by random accesses to large working sets fail to utilize the computing power of modern processors. Graph random walk, an indispensable workhorse for many important graph processing and learning applications, is one prominent case of such applications. Existing graph random walk systems are currently unable to match the GPU-side node embedding training speed.
This work reveals that existing approaches fail to effectively utilize the modern CPU memory hierarchy, due to the widely held assumption that the inherent randomness in random walks and the skewed nature of graphs render most memory accesses random. We demonstrate that there is actually plenty of spatial and temporal locality to harvest, by careful partitioning, rearranging, and batching of operations. The resulting system, FlashMob, improves both cache and memory bandwidth utilization by making memory accesses more sequential and regular. We also found that a classical combinatorial optimization problem (and its exact pseudo-polynomial solution) can be applied to complex decision making, for accurate yet efficient data/task partitioning. Our comprehensive experiments over diverse graphs show that our system achieves an order of magnitude performance improvement over the fastest existing system. It processes a 58GB real graph at higher per-step speed than the existing system on a 600KB toy graph fitting in the L2 cache.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 50b110aa-1f1e-4da3-bf67-1e2b0baa7dd7Cited by top-tier papers10
- XPGraph: XPline-Friendly Persistent Memory Graph Stores for Large-Scale Evolving GraphsRui Wang, Shuibing He, Weixu Zong, Yongkun Li et al.MICRO 2022 · 21 citations
- Distributed Graph Embedding with Information-Oriented Random WalksPeng Fang, Arijit Khan, Siqiang Luo, Fang Wang et al.VLDB 2023 · 18 citations
- TEA: A General-Purpose Temporal Graph Random Walk EngineChengying Huan, Shuaiwen Leon Song, Santosh Pandey, Hang Liu et al.EuroSys 2023 · 11 citations
- FlowWalker: A Memory-efficient and High-performance GPU-based Dynamic Graph Random Walk FrameworkJunyi Mei, Shixuan Sun, Chao Li, Cheng Xu et al.VLDB 2024 · 10 citations
- NosWalker: A Decoupled Architecture for Out-of-Core Random Walk ProcessingShuke Wang, Mingxing Zhang, Ke Yang, Kang Chen et al.ASPLOS 2023 · 7 citations
Builds on10
- Creating Embeddings of Heterogeneous Relational Datasets for Data Integration TasksRiccardo Cappuzzo, Paolo Papotti, Saravanan ThirumuruganathanSIGMOD 2020 · 139 citations
- Single Machine Graph Analytics on Massive Datasets Using Intel Optane DC Persistent MemoryGurbinder Gill, Roshan Dathathri, Loc Hoang, Ramesh Peri et al.VLDB 2020 · 82 citations
- Accelerating graph sampling for graph machine learning using GPUsAbhinav Jangda, Sandeep Polisetty, Arjun Guha, Marco SerafiniEuroSys 2021 · 79 citations
- GraphWalker: An I/O-Efficient and Resource-Friendly Graph Analytic System for Fast and Scalable Random WalksRui Wang, Yongkun Li, Hong Xie, Yinlong Xu et al.USENIX ATC 2020 · 64 citations
- Scaling Attributed Network Embedding to Massive GraphsRenchi Yang, Jieming Shi, Xiaokui Xiao, Yin Yang et al.VLDB 2021 · 62 citations
Related papers
- LightTraffic: On Optimizing CPU-GPU Data Traffic for Efficient Large-scale Random WalksYipeng Xing, Yongkun Li, Zhiqiang Wang, Yinlong Xu et al.ICDE 2023 · 3 citations
- ThunderRW: An In-Memory Graph Random Walk EngineShixuan Sun, Yuhang Chen, Shengliang Lu, Bingsheng He et al.VLDB 2021 · 31 citations
- LightRW: FPGA Accelerated Graph Dynamic Random WalksHongshi Tan, Xinyu Chen, Yao Chen, Bingsheng He et al.SIGMOD 2023 · 9 citations
- Large-Scale Graph Processing on FPGAs with Caches for Thousands of Simultaneous MissesMikhail Asiatici, Paolo IenneISCA 2021 · 28 citations
- FreshGNN: Reducing Memory Access via Stable Historical Embeddings for Graph Neural Network TrainingKezhao Huang, Haitian Jiang, Minjie Wang, Guangxuan Xiao et al.VLDB 2024 · 13 citations
