Parallel Strong Connectivity Based on Faster Reachability
Letong Wang, Xiaojun Dong, Yan Gu, Yihan Sun
Abstract
Computing strongly connected components (SCC) is among the most fundamental problems in graph processing. As today's realworld graphs are getting larger and larger, parallel SCC is increasingly important. SCC is challenging in the parallel setting and is particularly hard on large-diameter graphs. Many existing parallel SCC implementations can be even slower than Tarjan's sequential algorithm on large-diameter graphs.
To tackle this challenge, we propose an efficient parallel SCC implementation using a new parallel reachability algorithm. Our solution is based on a novel idea referred to as vertical granularity control (VGC). It breaks the synchronization barriers to increase parallelism and hide scheduling overhead. To use VGC in our SCC algorithm, we also design an efficient data structure called the parallel hash bag. It uses parallel dynamic resizing to avoid redundant work in maintaining frontiers (vertices processed in a round).
We implement the parallel SCC algorithm by Blelloch et al. (J. ACM, 2020) using our new parallel reachability algorithm. We compare our implementation to the state-of-the-art systems, including GBBS, iSpan, Multi-step, and our highly optimized Tarjan's (sequential) algorithm, on 18 graphs, including social, web, 𝑘-NN, and lattice graphs. On a machine with 96 cores, our implementation is the fastest on 16 out of 18 graphs. On average (geometric means) over all graphs, our SCC is 6.0× faster than the best previous parallel code (GBBS), 12.8× faster than Tarjan's sequential algorithms, and 2.7× faster than the best existing implementation on each graph.
We believe that our techniques are of independent interest. We also apply our parallel hash bag and VGC scheme to other graph problems, including connectivity and least-element lists (LE-lists). Our implementations improve the performance of the state-of-theart parallel implementations for these two problems.
• Theory of computation → Shared memory algorithms; Graph algorithms analysis.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext fdfeb3bc-4114-42b7-8570-a74505081113Cited by top-tier papers3
- Parallel Integer Sort: Theory and PracticeXiaojun Dong, Laxman Dhulipala, Yan Gu, Yihan SunPPoPP 2024 · 9 citations
- Parallel k-Core Decomposition: Theory and PracticeYouzhe Liu, Xiaojun Dong, Yan Gu, Yihan SunSIGMOD 2025 · 7 citations
- Fast and Space-Efficient Parallel Algorithms for Influence MaximizationLetong Wang, Xiangyun Ding, Yan Gu, Yihan SunVLDB 2024 · 5 citations
Builds on1
Related papers
- Provably Fast and Space-Efficient Parallel BiconnectivityXiaojun Dong, Letong Wang, Yan Gu, Yihan SunPPoPP 2023 · 6 citations
- Theoretically and Practically Efficient Parallel Nucleus DecompositionJessica Shi, Laxman Dhulipala, Julian ShunVLDB 2022 · 10 citations
- CAVE: Concurrency-Aware Graph Processing on SSDsTarikul Islam Papon, Taishan Chen, Shuo Zhang, Manos AthanassoulisSIGMOD 2024 · 11 citations
- Hierarchical Agglomerative Graph Clustering in Poly-Logarithmic DepthLaxman Dhulipala, David Eisenstat, Jakub Lacki, Vahab Mirrokni et al.NeurIPS 2022 · 24 citations
- A GPU Algorithm for Detecting Strongly Connected ComponentsGhadeer Alabandi, William Sands, George Biros, Martin BurtscherSC 2023 · 4 citations
