Abstract

Sparse Matrix operations are frequently used op-erations in scientific, engineering and high-performance com-puting (HPC) applications. Among them, sparse matrix-vector multiplication (SpMV) is a popular kernel and considered an important numerical method for science, engineering and in scientific computing. However, SpMV is a computationally expen-sive operation. To obtain better performance, SpMV depends on certain factors; choosing the right storage format for the sparse matrix is one of them. Other things like data access pattern, the sparsity of the matrix data set, load balancing, sharing of the memory hierarchy, etc. are other factors that affect performance. Metadata, that describes the substructure of the sparse matrix, like shape, density, sparsity, etc. of the sparse matrix also affects performance efficiency for any sparse matrix operation. Various approaches presented in literature over the last few decades given good results for certain types of matrix structures and don’t perform as well with others. Developers thus are faced with a difficulty in choosing the most appropriate format. In this research, an approach is presented that evaluates metadata of a given sparse matrix and suggest to the developers the most suitable storage format to use for SpMV.

Highlights

  • Sparse matrix-vector multiplication (SpMV) is an essential and frequently used kernel in high-performance computing (HPC), scientific and engineering applications

  • Hiroki Yoshizawa claims that performance of SpMV with compressed sparse row (CSR) storage format depends on selection of parameter

  • The performance of SpMV operations depends on many factors

Read more

Summary

INTRODUCTION

Sparse matrix-vector multiplication (SpMV) is an essential and frequently used kernel in high-performance computing (HPC), scientific and engineering applications. Irregular data access is another performance bottleneck for SpMV operation when we use sparse matrix storage formats like COO and CSR. Irregular data accessing in SpMV results in reduction of performance To address these kinds of problems, researchers have proposed different sparse matrix storage formats [2], [4]– [6]. SpMV performance depends on other metadata like diagonal density, row or column-major order, max non-zero values (row thickness) per row, etc Another example is that if the sparse matrix is not pattern symmetric and the row thickness is very large, CSR performs better than ELLPACK. It’s important for a developer to know beforehand the metadata of a sparse matrix to help him decide which storage format to use.

STORAGE FORMATS
ELLPACK
RELATED WORKS
Motivation
Bench Mark
Metrics
Metric Generation
Experimental Setup
Findings
CONCLUSION
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call