Speeding up SpMV for power-law graph analytics by enhancing locality & vectorization
Serif Yesil, Azin Heidarshenas, Adam Morrison, Josep Torrellas
摘要
Graph analytics applications often target large-scale web and social networks, which are typically power-law graphs. Graph algorithms can often be recast as generalized Sparse Matrix-Vector multiplication (SpMV) operations, making SpMV optimization important for graph analytics. However, executing SpMV on large-scale power-law graphs results in highly irregular memory access patterns with poor cache utilization. Worse, we find that existing SpMV locality and vectorization optimizations are largely ineffective on modern out-of-order (OOO) processors-they are not faster (or only marginally so) than the standard Compressed Sparse Row (CSR) SpMV implementation. To improve performance for power-law graphs on modern OOO processors, we propose Locality-Aware Vectorization (LAV). LAV is a new approach that leverages a graph's power-law nature to extract locality and enable effective vectorization for SpMV-like memory access patterns. LAV splits the input matrix into a dense and a sparse portion. The dense portion is stored in a new representation, which is vectorization-friendly and exploits data locality. The sparse portion is processed using the standard CSR algorithm. We evaluate LAV with several graphs on an Intel Skylake-SP processor, and find that it is faster than CSR (and prior approaches) by an average of 1.5x. LAV reduces the number of DRAM accesses by 35% on average, with only a 3.3% memory overhead.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
引用它的顶会 Paper6
- TileSpGEMM: a tiled algorithm for parallel sparse general matrix-matrix multiplication on GPUsYuyao Niu, Zhengyang Lu, Haonan Ji, Shuhui Song 等PPoPP 2022 · 被引用 66 次
- WISE: Predicting the Performance of Sparse Matrix Vector Multiplication with Machine LearningSerif Yesil, Azin Heidarshenas, Adam Morrison, Josep TorrellasPPoPP 2023 · 被引用 33 次
- MeNDA: a near-memory multi-way merge solution for sparse transposition and dataflowsSiying Feng, Xin He, Kuan-Yu Chen, Liu Ke 等ISCA 2022 · 被引用 28 次
- NosWalker: A Decoupled Architecture for Out-of-Core Random Walk ProcessingShuke Wang, Mingxing Zhang, Ke Yang, Kang Chen 等ASPLOS 2023 · 被引用 7 次
- Vectorizing Sparse Matrix Computations with Partially-Strided CodeletsKazem Cheshmi, Zachary Cetinic, Maryam Mehri DehnaviSC 2022 · 被引用 4 次
相关 Paper
- Accelerating SpMV for Scale-Free Graphs with Optimized BinsYuAng Chen, Jeffrey Xu YuICDE 2024 · 被引用 3 次
- GPUs All Grown-Up: Fully Device-Driven SpMV Using GPU Work GraphsFabian Wildgrube, Pete Ehrett, Paul Trojahn, Richard Membarth 等ISCA 2025 · 被引用 3 次
- Bringing Order to Sparsity: A Sparse Matrix Reordering Study on Multicore CPUsJames D. Trotter, Sinan Ekmekçibasi, Johannes Langguth, Tugba Torun 等SC 2023 · 被引用 20 次
- LCCG: a locality-centric hardware accelerator for high throughput of concurrent graph processingJin Zhao, Yu Zhang, Xiaofei Liao, Ligang He 等SC 2021 · 被引用 8 次
- Efficient Algorithm Design of Optimizing SpMV on GPUGenshen Chu, Yuanjie He, Lingyu Dong, Zhezhao Ding 等HPDC 2023 · 被引用 17 次
