• DocumentCode
    3351174
  • Title

    Performance models for evaluation and automatic tuning of symmetric sparse matrix-vector multiply

  • Author

    Lee, Benjamin C. ; Vuduc, Richard W. ; Demmel, James W. ; Yelick, Katherine A.

  • Author_Institution
    Div. of Comput. Sci., California Univ., Berkeley, CA, USA
  • fYear
    2004
  • fDate
    15-18 Aug. 2004
  • Firstpage
    169
  • Abstract
    We present optimizations for sparse matrix-vector multiply SpMV and its generalization to multiple vectors, SpMM, when the matrix is symmetric: (1) symmetric storage, (2) register blocking, and (3) vector blocking. Combined with register blocking, symmetry saves more than 50% in matrix storage. We also show performance speedups of 2.1× for SpMV and 2.6× for SpMM, when compared to the best nonsymmetric register blocked implementation. We present an approach for the selection of tuning parameters, based on empirical modeling and search that consists of three steps: (1) Off-line benchmark, (2) Runtime search, and (3) Heuristic performance model. This approach generally selects parameters to achieve performance with 85% of that achieved with exhaustive search. We evaluate our implementations with respect to upper bounds on performance. Our model bounds performance by considering only the cost of memory operations and using lower bounds on the number of cache misses. Our optimized codes are within 68% of the upper bounds.
  • Keywords
    matrix multiplication; operating system kernels; performance evaluation; sparse matrices; storage management; vectors; empirical modeling; heuristic performance model; memory operations; off-line benchmark; register blocking; runtime search; sparse matrix-vector multiply; symmetric storage; vector blocking; Bandwidth; Computer science; Costs; Kernel; Performance analysis; Registers; Runtime; Sparse matrices; Symmetric matrices; Upper bound;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Processing, 2004. ICPP 2004. International Conference on
  • ISSN
    0190-3918
  • Print_ISBN
    0-7695-2197-5
  • Type

    conf

  • DOI
    10.1109/ICPP.2004.1327917
  • Filename
    1327917