Performance Aspects of Sparse Matrix-Vector Multiplication

Authors

  • I. Šimeček

DOI:

https://doi.org/10.14311/826

Keywords:

sparse matrix-vector multiplication, code restructuring, loop unrolling, software pipelining, cache hierarchy

Abstract

Sparse matrix-vector multiplication (shortly SpM×V) is an important building block in algorithms solving sparse systems of linear equations, e.g., FEM. Due to matrix sparsity, the memory access patterns are irregular and utilization of the cache can suffer from low spatial or temporal locality. Approaches to improve the performance of SpM×V are based on matrix reordering and register blocking [1, 2], sometimes combined with software-pipelining [3]. Due to its overhead, register blocking achieves good speedups only for a large number of executions of SpM×V with the same matrix A.We have investigated the impact of two simple SW transformation techniques (software-pipelining and loop unrolling) on the performance of SpM×V, and have compared it with several implementation modifications aimed at reducing computational and memory complexity and improving the spatial locality. We investigate performance gains of these modifications on four CPU platforms.

Downloads

Download data is not yet available.

Author Biography

I. Šimeček

Downloads

Published

2006-01-03

How to Cite

Šimeček, I. (2006). Performance Aspects of Sparse Matrix-Vector Multiplication. Acta Polytechnica, 46(3). https://doi.org/10.14311/826

Issue

Section

Articles