Abstract
We study the problem of sparse-matrix dense-vector multiplication (SpMV) in external memory. The task of SpMV is to compute y:= Ax, where A is a sparse N × N matrix and x is a vector. We express sparsity by a parameter k, and for each choice of k consider the class of matrices where the number of nonzero entries is kN, i.e., where the average number of nonzero entries per column is k. We investigate what is the external worst-case complexity, i. e., the best possible upper bound on the number of I/Os, as a function of k, N and the parameters M (memory size) and B (track size) of the I/O-model. We determine this complexity up to a constant factor for all meaningful choices of these parameters, as long as k≤N1-ε, where ε depends on the problem variant. Our model of computation for the lower bound is a combination of the I/O-models of Aggarwal and Vitter, and of Hong and Kung. We study variants of the problem, differing in the memory layout of A. If A is stored in column major layout, we prove that SpMV has I/O complexity for k ≤ N1-ε and any constant 0 < ε < 1. If the algorithm can choose the memory layout, the I/O complexity reduces to for k ≤ 3√N. In contrast, if the algorithm must be able to handle an arbitrary layout of the matrix, the I/O complexity is for k ≤ N/2. In the cache oblivious setting we prove that with tall cache assumption M ≥ B1+ε, the I/O complexity is for A in column major layout.
| Original language | English |
|---|---|
| Pages (from-to) | 934-962 |
| Number of pages | 29 |
| Journal | Theory of Computing Systems |
| Volume | 47 |
| Issue number | 4 |
| DOIs | |
| State | Published - 2010 |
Keywords
- External memory algorithms
- I/O-model
- Lower bound
- Sparse matrix dense vector multiplication
Fingerprint
Dive into the research topics of 'Optimal Sparse Matrix Dense Vector Multiplication in the I/O-Model'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver