Papers
Topics
Authors
Recent
Search
2000 character limit reached

Contiguous Graph Partitioning For Optimal Total Or Bottleneck Communication

Published 31 Jul 2020 in cs.DS | (2007.16192v4)

Abstract: Graph partitioning schedules parallel calculations like sparse matrix-vector multiply (SpMV). We consider contiguous partitions, where the mm rows (or columns) of a sparse matrix with NN nonzeros are split into KK parts without reordering. We propose the first near-linear time algorithms for several graph partitioning problems in the contiguous regime. Traditional objectives such as the simple edge cut, hyperedge cut, or hypergraph connectivity minimize the total cost of all parts under a balance constraint. Our total partitioners use O(Km+N)O(Km + N) space. They run in O((Kmlog(m)+N)log(N))O((Km\log(m) + N)\log(N)) time, a significant improvement over prior O(K(m<sup>2</sup>+N))O(K(m<sup>2</sup> + N)) time algorithms due to Kernighan and Grandjean et. al. Bottleneck partitioning minimizes the maximum cost of any part. We propose a new bottleneck cost which reflects the sum of communication and computation on each part. Our bottleneck partitioners use linear space. The exact algorithm runs in linear time when K<sup>2K<sup>2 is O(N<sup>C)O(N<sup>C) for $C &lt; 1$. Our (1+ϵ)(1 + \epsilon)-approximate algorithm runs in linear time when Klog(chigh/(clowϵ))K\log(c_{high}/(c_{low}\epsilon)) is O(N<sup>C)O(N<sup>C) for $C &lt; 1$, where chighc_{high} and clowc_{low} are upper and lower bounds on the optimal cost. We also propose a simpler (1+ϵ)(1 + \epsilon)-approximate algorithm which runs in a factor of log(chigh/(clowϵ))\log(c_{high}/(c_{low}\epsilon)) from linear time. We empirically demonstrate that our algorithms efficiently produce high-quality contiguous partitions on a test suite of 42 test matrices. When K=8K = 8, our hypergraph connectivity partitioner achieved a speedup of 53×53\times (mean 15.1×15.1\times) over prior algorithms. The mean runtime of our bottleneck partitioner was 5.15 SpMVs.

Authors (1)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.