SlimSell: A Vectorizable Graph Representation for Breadth-First Search
Authors:
- Maciej BestaMBMaciej Besta
- Florian MarendingFMFlorian Marending
- Edgar SolomonikESEdgar Solomonik
- Torsten HoeflerTHTorsten Hoefler
- 1 May 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 32-41
Abstract
Vectorization and GPUs will profoundly change graph processing. Traditional graph algorithms tuned for 32- or 64-bit based memory accesses will be inefficient on architectures with 512-bit wide (or larger) instruction units that are already present in the Intel Knights Landing (KNL) manycore CPU. Anticipating this shift, we propose SlimSell: a vectorizable graph representation to accelerate Breadth-First Search (BFS) based on sparse-matrix dense-vector (SpMV) products. SlimSell extends and combines the state-of-the-art SIMD-friendly Sell-C-σ matrix storage format with tropical, real, boolean, and sel-max semiring operations. The resulting design reduces the necessary storage (by up to 50%) and thus pressure on the memory subsystem. We augment SlimSell with the SlimWork and SlimChunk schemes that reduce the amount of work and improve load balance, further accelerating BFS. We evaluate all the schemes on Intel Haswell multicore CPUs, the state-of-the-art Intel Xeon Phi KNL manycore CPUs, and NVIDIA Tesla GPUs. Our experiments indicate which semiring offers highest speedups for BFS and illustrate that SlimSell accelerates a tuned Graph500 BFS code by up to 33%. This work shows that vectorization can secure high-performance in BFS based on SpMV products; the proposed principles and designs can be extended to other graph algorithms.Keywords
All Related Versions
This publication has 18 references indexed in Scilit:
- A Unified Sparse Matrix Data Format for Efficient General Sparse Matrix-Vector Multiplication on Modern Processors with Wide SIMD UnitsSIAM Journal on Scientific Computing, 2014
- Defining and evaluating network communities based on ground-truthKnowledge and Information Systems, 2013
- Direction-Optimizing Breadth-First SearchScientific Programming, 2013
- Performance characteristics of Graph500 on large-scale distributed environment2011
- The Combinatorial BLAS: design, implementation, and applicationsThe International Journal of High Performance Computing Applications, 2011
- Fast sparse matrix-vector multiplication on GPUsProceedings of the VLDB Endowment, 2011
- Graph Algorithms in the Language of Linear Algebra2011
- A work-efficient parallel breadth-first search algorithm (or how to cope with the nondeterminism of reducers)2010
- Accelerating Large Graph Algorithms on the GPU Using CUDA2008
- CHALLENGES IN PARALLEL GRAPH PROCESSINGParallel Processing Letters, 2007