- Research Article
- 10.1016/j.parco.2025.103169
Cache partitioning for sparse matrix–vector multiplication on the A64FX
- Mar 01, 2026
- Parallel Computing
- Sergej Breiter + 2 more +2
One of the novel features of the Fujitsu A64FX CPU is the sector cache . This feature enables hardware-supported partitioning of the L1 and L2 caches and allows the programmer control of which partition is used to place data in. This paper performs an in-depth study of applying the sector cache to sparse matrix-vector multiplication (SpMV) in the Compressed Sparse Row (CSR) format using a collection of 490 sparse matrices. A performance model based on reuse analysis is used to better understand situations in which and how the sector cache leads to improved cache reuse and to predict cache behavior. The model predicts the number of L2 cache misses within an error of 2% without cache partitioning. With sector cache enabled, depending on the configuration, the model predicts the number of L2 cache missed within 2–3% and 4–18% for sequential and parallel SpMV with 48 threads, respectively. Further experiments show the effect of various sector cache configurations on performance. A median speedup of about 1.05 × is achieved, whereas the maximum speedup is about 1.6 × . • A comprehensive performance study and in-depth analysis of CSR SpMV on the A64FX, including the effect of the sector cache feature. • A locality analysis based on reuse distance of sparse matrices using their sparsity pattern. • A cache miss model for parallel codes on multicore architectures with multiple shared caches including the effect of cache partitioning.
Read more