Improving performance of sparse matrix dense matrix multiplication on large-scale parallel systems

Source Title
Parallel Computing
Print ISSN
Electronic ISSN
Elsevier BV
71 - 96
Journal Title
Journal ISSN
Volume Title

We propose a comprehensive and generic framework to minimize multiple and different volume-based communication cost metrics for sparse matrix dense matrix multiplication (SpMM). SpMM is an important kernel that finds application in computational linear algebra and big data analytics. On distributed memory systems, this kernel is usually characterized with its high communication volume requirements. Our approach targets irregularly sparse matrices and is based on both graph and hypergraph partitioning models that rely on the widely adopted recursive bipartitioning paradigm. The proposed models are lightweight, portable (can be realized using any graph and hypergraph partitioning tool) and can simultaneously optimize different cost metrics besides total volume, such as maximum send/receive volume, maximum sum of send and receive volumes, etc., in a single partitioning phase. They allow one to define and optimize as many custom volume-based metrics as desired through a flexible formulation. The experiments on a wide range of about thousand matrices show that the proposed models drastically reduce the maximum communication volume compared to the standard partitioning models that only address the minimization of total volume. The improvements obtained on volume-based partition quality metrics using our models are validated with parallel SpMM as well as parallel multi-source BFS experiments on two large-scale systems. For parallel SpMM, compared to the standard partitioning models, our graph and hypergraph partitioning models respectively achieve reductions of 14% and 22% in runtime, on average. Compared to the state-of-the-art partitioner UMPa, our graph model is overall 14.5 � faster and achieves an average improvement of 19% in the partition quality on instances that are bounded by maximum volume. For parallel BFS, we show on graphs with more than a billion edges that the scalability can significantly be improved with our models compared to a recently proposed two-dimensional partitioning model.

Other identifiers
Book Title
Combinatorial scientific computing, Communication volume balancing, Graph partitioning, Hypergraph partitioning, Irregular applications, Load balancing, Matrix partitioning, Recursive bipartitioning, Sparse matrices, Sparse matrix dense matrix multiplication, Big data, Graph theory, Large scale systems, Linear algebra, Resource allocation, Combinatorial scientific computing, Dense matrices, Graph Partitioning, Hypergraph partitioning, Matrix partitioning, Recursive bipartitioning, Sparse matrices, Matrix algebra
Published Version (Please cite this version)