Demystifying SpMV Performance: Bottleneck Characterization and Open Challenges
Panagiotis Mpakos, Dimitrios Galanopoulos, Petros Anastasiadis, Ioanna Tasou, Nikela Papadopoulou, Nectarios Koziris, Georgios Goumas
Key points
From the paper's conclusion- We characterize matrices via four structural features, each linked to a bottleneck, to enable structured performance analysis.
Abstract
Sparse Matrix-Vector Multiplication (SpMV) is a critical computational kernel in scientific computing, graph processing, and machine learning. Despite its importance, SpMV achieves only a small fraction of peak performance, varying substantially across matrices and architectures. This paper comprehensively analyzes SpMV performance on modern CPUs and GPUs, identifying key bottlenecks: memory bandwidth limitations, low instruction-level parallelism (ILP), load imbalance, and memory latency overheads. We characterize matrices via four structural features, each linked to a bottleneck, to enable structured performance analysis. We also develop and publicly release a matrix generator producing artificial matrices across a broad range of structural properties, enabling extensive benchmarking from high-end HPC accelerators to consumer-grade GPUs. While GPUs achieve superior SpMV performance, modern CPUs with larger caches and increased core counts remain competitive, particularly for small-to-medium sized matrices. Evaluating numerous storage formats, we demonstrate the efficiency of vendor-customized implementations on GPUs and the potential of research formats to address specific CPU performance challenges. Expanding to iterative solvers (BiCG) and FP32 arithmetic reveals non-obvious architectural asymmetries: GPU throughput is resilient to solver-level cache pressure while CPUs degrade significantly, and FP32 scaling yields architecture-specific gains, from bandwidth improvements to unlocked compute capacity on consumer GPUs. Finally, we identify persistent open challenges: memory bandwidth constraints, irregular matrix structures, and short unbalanced rows, underscoring the need for further optimization and architectural improvements.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CB-Sparse:A Cache-Friendly Data Aggregating Algorithm for Block-Based Sparse Matrix Multiplication on GPUsACM Transactions on Architecture and Code Optimization · 2026
- Rethinking Sparse Formats for RISC-V: A Hierarchical Approach to High-Performance SpMVarXiv · 2026
- Fast Entropy Decoding for Sparse MVM on GPUsarXiv · 2026
- Asynchronous Concurrent Multiply-Add Split Vectorized Heterogeneous SpMV Algorithm on MT3000Computers · 2026
- UnifaSVD: A Unified and Fast Framework of Singular Value Decomposition on GPU ArchitecturesACM Transactions on Architecture and Code Optimization · 2026
- Accelerating Sparse LU Factorization with Performance-Aware Partitioning Method on GPUsACM Transactions on Architecture and Code Optimization · 2026