Accelerating sparse matrix computations via data compression
Authors:
Open Access
- 28 June 2006
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 307-316
Abstract
Sparse matrix computations are important for many scientific computations, with matrix-vector multiplication being a fundamental operation for modern iterative algorithms. For large sparse matrices, the primary performance limitation on matrix-vector product is memory bandwidth, rather than algorithm performance. In fact, the wide disparity between memory bandwidth and CPU performance suggests that one could trade cycles for bandwidth and still improve the time to compute a matrix-vector product. Accordingly, this paper presents an approach to improving the performance of matrix-vector product based on lossless compression of the index information commonly stored in sparse matrix representations. Two compressed formats, and their multiplication algorithms, are given, along with experimental results demonstrating their effectiveness. For an assortment of large sparse matrices, compression ratios and corresponding speedups of up to 30% are achieved. The efficiency of the compression algorithm allows its cost to be easily amortized across repeated matrix-vector products.Keywords
This publication has 16 references indexed in Scilit:
- Vectorized Sparse Matrix Multiply for Compressed Row Storage FormatLecture Notes in Computer Science, 2005
- Fast Sparse Matrix-Vector Multiplication by Exploiting Variable Block Structure2005
- The webgraph framework I2004
- Optimizing Sparse Matrix–Vector Product Computations Using Unroll and JamThe International Journal of High Performance Computing Applications, 2004
- Assigning document identifiers to enhance compressibility of Web Search Engines indexes2004
- Sparsity: Optimization Framework for Sparse Matrix KernelsThe International Journal of High Performance Computing Applications, 2004
- Inverted file compression through document identifier reassignmentInformation Processing & Management, 2003
- Improving performance of sparse matrix-vector multiplication1999
- An efficient algorithm for sparse matrix computations1992
- Symbolic Generation of an Optimal Crout Algorithm for Sparse Systems of Linear EquationsJournal of the ACM, 1970