Parallel Graph Coloring for Manycore Architectures
Authors:
- Mehmet DeveciMDMehmet Deveci
- Erik G BomanEBErik G Boman
- Karen D. DevineKDKaren D. Devine
- Sivasankaran RajamanickamSRSivasankaran Rajamanickam
- 1 May 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15302075,p. 892-901
Abstract
Graph algorithms are challenging to parallelize on manycore architectures due to complex data dependencies and irregular memory access. We consider the well studied problem of coloring the vertices of a graph. In many applications it is important to compute a coloring with few colors in near-lineartime. In parallel, the optimistic (speculative) coloring method by Gebremedhin and Manne is the preferred approach but it needs to be modified for manycore architectures. We discuss a range of implementation issues for this vertex-based optimistic approach. We also propose a novel edge-based optimistic approach that has more parallelism and is better suited to GPUs. We study the performance empirically on two architectures(Xeon Phi and GPU) and across many data sets (from finite element problems to social networks). Our implementation uses the Kokkos library, so it is portable across platforms. We show that on GPUs, we significantly reduce the number of colors (geometric mean 4X, but up to 48X) as compared to the widely used cuSPARSE library. In addition, our edge-based algorithm is 1.5 times faster on average than cuSPARSE, where it hasspeedups up to 139X on a circuit problem. We also show the effect of the coloring on a conjugate gradient solver using multi-colored Symmetric Gauss-Seidel method as preconditioner, the higher coloring quality found by the proposed methods reduces the overall solve time up to 33% compared to cuSPARSE.Keywords
This publication has 19 references indexed in Scilit:
- A Fast and Scalable Graph Coloring Algorithm for Multi-core and Many-core Architectures2015
- High-Performance Graph Analytics on Manycore Processors2015
- Balanced Coloring for Parallel Computing Applications2015
- Kokkos: Enabling manycore performance portability through polymorphic memory access patternsJournal of Parallel and Distributed Computing, 2014
- ColPackACM Transactions on Mathematical Software, 2013
- Graph coloring algorithms for multi-core and massively multithreaded architecturesParallel Computing, 2012
- A framework for scalable greedy coloring on distributed-memory parallel computersJournal of Parallel and Distributed Computing, 2008
- A Parallel Graph Coloring HeuristicSIAM Journal on Scientific Computing, 1993
- A Simple Parallel Algorithm for the Maximal Independent Set ProblemSIAM Journal on Computing, 1986
- GRAPH COLORING ALGORITHMS††This research was supported in part by the Advanced Research Projects Agency of the Department of Defense under contract SD-302 and by the National Science Foundation under contract GJ-446.1972