An Extended Compression Format for the Optimization of Sparse Matrix-Vector Multiplication
Authors:
- 9 October 2012
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 24 (10) , 1930-1940
Abstract
Sparse matrix-vector multiplication (SpM × V) has been characterized as one of the most significant computational scientific kernels. The key algorithmic characteristic of the SpM × V kernel, that inhibits it from achieving high performance, is its very low flop:byte ratio. In this paper, we present a compressed storage format, called Compressed Sparse eXtended (CSX), that is able to detect and encode simultaneously multiple commonly encountered substructures inside a sparse matrix. Relying on aggressive compression techniques of the sparse matrix's indexing structure, CSX is able to considerably reduce the memory footprint of a sparse matrix, alleviating the pressure to the memory subsystem. In a diverse set of sparse matrices, CSX was able to provide a more than 40 percent average performance improvement over the standard CSR format in SMP architectures and surpassed 20 percent improvement in NUMA systems, significantly outperforming other CSR alternatives. Additionally, it was able to adapt successfully to the nonzero element structure of the considered matrices, exhibiting very stable performance. Finally, in the context of a “real-life” multiphysics simulation software, CSX accelerated the SpM × V component nearly 40 percent and the total solver time approximately 15 percent.Keywords
This publication has 26 references indexed in Scilit:
- Exploiting compression opportunities to improve SpMxV performance on shared memory systemsACM Transactions on Architecture and Code Optimization, 2010
- RooflineCommunications of the ACM, 2009
- Performance evaluation of the sparse matrix-vector multiplication on modern architecturesThe Journal of Supercomputing, 2008
- Optimization of sparse matrix-vector multiplication on emerging multicore platforms2007
- Accelerating sparse matrix computations via data compression2006
- Fast Sparse Matrix-Vector Multiplication by Exploiting Variable Block Structure2005
- OSKI: A library of automatically tuned sparse matrix kernelsJournal of Physics: Conference Series, 2005
- Sparsity: Optimization Framework for Sparse Matrix KernelsThe International Journal of High Performance Computing Applications, 2004
- Towards a fast parallel sparse symmetric matrix–vector multiplicationParallel Computing, 2001
- A Survey of Indexing Techniques for Sparse MatricesACM Computing Surveys, 1973