When cache blocking of sparse matrix vector multiply works and why

  • Authors:
  • Rajesh Nishtala;Richard W. Vuduc;James W. Demmel;Katherine A. Yelick

  • Affiliations:
  • University of California at Berkeley, Computer Science Division, 575 Soda Hall, 94720, Berkeley, CA, USA;University of California at Berkeley, Computer Science Division, 575 Soda Hall, 94720, Berkeley, CA, USA;University of California at Berkeley, Computer Science Division, 575 Soda Hall, 94720, Berkeley, CA, USA;University of California at Berkeley, Computer Science Division, 575 Soda Hall, 94720, Berkeley, CA, USA

  • Venue:
  • Applicable Algebra in Engineering, Communication and Computing
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present new performance models and more compact data structures for cache blocking when applied to sparse matrix-vector multiply (SpM × V). We extend our prior models by relaxing the assumption that the vectors fit in cache and find that the new models are accurate enough to predict optimum block sizes. In addition, we determine criteria that predict when cache blocking improves performance. We conclude with architectural suggestions that would make memory systems execute SpM × V faster.