Lune

SIGMOD2023Top-tier venue

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Parallel k-Core Decomposition: Theory and Practice cites Parallel Integer Sort: Theory and Practice
  • Fast and Space-Efficient Parallel Algorithms for Influence Maximization cites ConnectIt: A Framework for Static and Incremental Parallel Graph Connectivity Algorithms
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Parallel Integer Sort: Theory and PracticeXiaojun Dong, Laxman Dhulipala, Yan Gu, Yihan SunPPoPP 2024 · 9 citations
  2. Parallel k-Core Decomposition: Theory and PracticeYouzhe Liu, Xiaojun Dong, Yan Gu, Yihan SunSIGMOD 2025 · 7 citations
  3. Fast and Space-Efficient Parallel Algorithms for Influence MaximizationLetong Wang, Xiangyun Ding, Yan Gu, Yihan SunVLDB 2024 · 5 citations

Builds on1

  1. ConnectIt: A Framework for Static and Incremental Parallel Graph Connectivity AlgorithmsLaxman Dhulipala, Changwan Hong, Julian ShunVLDB 2021 · 41 citations

Related papers

  1. Provably Fast and Space-Efficient Parallel BiconnectivityXiaojun Dong, Letong Wang, Yan Gu, Yihan SunPPoPP 2023 · 6 citations
  2. Theoretically and Practically Efficient Parallel Nucleus DecompositionJessica Shi, Laxman Dhulipala, Julian ShunVLDB 2022 · 10 citations
  3. CAVE: Concurrency-Aware Graph Processing on SSDsTarikul Islam Papon, Taishan Chen, Shuo Zhang, Manos AthanassoulisSIGMOD 2024 · 11 citations
  4. A GPU Algorithm for Detecting Strongly Connected ComponentsGhadeer Alabandi, William Sands, George Biros, Martin BurtscherSC 2023 · 4 citations
  5. Parallel Index-Based Structural Graph Clustering and Its ApproximationTom Tseng, Laxman Dhulipala, Julian ShunSIGMOD 2021 · 29 citations
Dusk over the sea between two cliffs drawn in fine vertical lines