Title :
Perfomance Models for Blocked Sparse Matrix-Vector Multiplication Kernels
Author :
Karakasis, Vasileios ; Goumas, Georgios ; Koziris, Nectarios
Author_Institution :
Nat. Tech. Univ., Athens, Greece
Abstract :
Sparse matrix-vector multiplication (SpMV) is a very challenging computational kernel, since its performance depends greatly on both the input matrix and the underlying architecture. The main problem of SpMV is its high demands on memory bandwidth, which cannot yet be abudantly offered from modern commodity architectures. One of the most promising optimization techniques for SpMV is blocking, which can reduce the indexing structures for storing a sparse matrix, and therefore alleviate the pressure to the memory subsystem. However, blocking methods can severely degrade performance if not used properly. In this paper, we study and evaluate a number of representative blocking storage formats and present a performance model that can accurately select the most suitable blocking storage format and the corresponding block shape and size for a specific sparse matrix. Our model considers both the memory and computational part of the kernel, which can be non-negligible when applying blocking, and also assumes an overlapping of memory accesses and computations that modern commodity architectures can offer through hardware prefetching mechanisms.
Keywords :
matrix multiplication; optimisation; sparse matrices; storage management; blocking storage format; hardware prefetching mechanism; memory bandwidth; optimization technique; sparse matrix-vector multiplication; Bandwidth; Computer architecture; Concurrent computing; Degradation; Indexing; Kernel; Matrix decomposition; Parallel processing; Shape; Sparse matrices; blocking; performance models; sparse matrix-vector multiplication;
Conference_Titel :
Parallel Processing, 2009. ICPP '09. International Conference on
Conference_Location :
Vienna
Print_ISBN :
978-1-4244-4961-3
Electronic_ISBN :
0190-3918
DOI :
10.1109/ICPP.2009.21