Title :
Improving the locality of the sparse matrix-vector product on shared memory multiprocessors
Author :
Pichel, J.C. ; Heras, D.B. ; Cabaleiro, J.C. ; Rivera, F.F.
Author_Institution :
Dept. Electronica e Computacion, Santiago de Compostela Univ., Spain
Abstract :
We extend a model of locality and the subsequent process of locality improvement previously developed for the case of sparse algebra codes in monoprocessors to the case of NUMA shared memory multiprocessors (SMPs). In particular the product of a sparse matrix by a dense vector (SpM×V) is studied. In the model, locality is established at run-time considering parameters that describe the structure of the sparse matrix involved in the computations. The problem of increasing the locality is formulated as a graph problem, whose solution indicates some appropriate reordering of rows and columns of the sparse matrix. The reordering algorithms were tested for a broad set of matrices. We have also performed a comparison with other reordering algorithms. The results lead to general conclusions about improving SMP performance for other sparse algebra codes.
Keywords :
mathematics computing; matrix multiplication; shared memory systems; sparse matrices; NUMA shared memory multiprocessors; dense vector; graph problem; reordering algorithms; sparse algebra codes; sparse matrix-vector product locality improvement; Algebra; Algorithm design and analysis; Application software; Bandwidth; Computer graphics; Data structures; Kernel; Runtime; Sparse matrices; Testing;
Conference_Titel :
Parallel, Distributed and Network-Based Processing, 2004. Proceedings. 12th Euromicro Conference on
Print_ISBN :
0-7695-2083-9
DOI :
10.1109/EMPDP.2004.1271429