Skip to main content
QUICK REVIEW

[Paper Review] ConnectIt: A Framework for Static and Incremental Parallel Graph Connectivity Algorithms

Laxman Dhulipala, Changwan Hong|arXiv (Cornell University)|Aug 10, 2020
Graph Theory and AlgorithmsComputer Science113 references6 citations
TL;DR

ConnectIt is a unified framework for static and incremental parallel graph connectivity on multicore systems, combining edge sampling, tree linking, and compression strategies to generate hundreds of algorithm variants. It achieves a 12.4x average speedup over state-of-the-art implementations and computes connectivity on a 3.5B-vertex, 128B-edge graph in under 10 seconds on 72 cores, with incremental updates processed at up to several billion edges per second.

ABSTRACT

Connected components is a fundamental kernel in graph applications. The fastest existing parallel multicore algorithms for connectivity are based on some form of edge sampling and/or linking and compressing trees. However, many combinations of these design choices have been left unexplored. In this paper, we design the ConnectIt framework, which provides different sampling strategies as well as various tree linking and compression schemes. ConnectIt enables us to obtain several hundred new variants of connectivity algorithms, most of which extend to computing spanning forest. In addition to static graphs, we also extend ConnectIt to support mixes of insertions and connectivity queries in the concurrent setting. We present an experimental evaluation of ConnectIt on a 72-core machine, which we believe is the most comprehensive evaluation of parallel connectivity algorithms to date. Compared to a collection of state-of-the-art static multicore algorithms, we obtain an average speedup of 12.4x (2.36x average speedup over the fastest existing implementation for each graph). Using ConnectIt, we are able to compute connectivity on the largest publicly-available graph (with over 3.5 billion vertices and 128 billion edges) in under 10 seconds using a 72-core machine, providing a 3.1x speedup over the fastest existing connectivity result for this graph, in any computational setting. For our incremental algorithms, we show that our algorithms can ingest graph updates at up to several billion edges per second. To guide the user in selecting the best variants in ConnectIt for different situations, we provide a detailed analysis of the different strategies. Finally, we show how the techniques in ConnectIt can be used to speed up two important graph applications: approximate minimum spanning forest and SCAN clustering.

Motivation & Objective

  • To design a flexible, composable framework that enables systematic exploration of diverse algorithmic combinations for parallel graph connectivity.
  • To support both static graph connectivity and dynamic incremental updates (edge insertions) in a concurrent multicore environment.
  • To provide a comprehensive performance evaluation across a wide range of graph workloads and algorithmic variants.
  • To accelerate two key graph applications—approximate minimum spanning forest and SCAN clustering—using the framework's optimized connectivity primitives.
  • To guide users in selecting optimal algorithm variants through detailed analysis of sampling, linking, and compression strategies.

Proposed method

  • Introduces a modular framework that composes different sampling strategies, tree linking schemes, and path compression techniques into a single extensible architecture.
  • Supports multiple union-find variants with atomic operations (CAS) and lock-based synchronization to ensure correctness under concurrent updates.
  • Employs the hook-compress and splice-atomic paradigms to reduce memory access and improve load balancing in parallel execution.
  • Uses edge sampling to reduce the number of edges processed in subsequent phases, improving scalability on large graphs.
  • Integrates early termination and shortcutting techniques to minimize redundant work during connectivity computation.
  • Enables incremental connectivity by maintaining data structures that support efficient insertion of new edges and fast query resolution.

Experimental results

Research questions

  • RQ1Which combinations of sampling, linking, and compression strategies yield the highest performance in parallel graph connectivity on multicore systems?
  • RQ2How does the ConnectIt framework scale across diverse real-world graph workloads, including massive graphs with over 3.5 billion vertices and 128 billion edges?
  • RQ3Can the framework efficiently support incremental connectivity under high-throughput edge insertion workloads, and what are the performance bounds?
  • RQ4How do different union-find variants (e.g., hook-compress, rem-lock, CAS-based) compare in terms of performance and scalability on shared-memory architectures?
  • RQ5To what extent can ConnectIt’s optimized connectivity primitives accelerate higher-level graph applications like minimum spanning forest and SCAN clustering?

Key findings

  • ConnectIt achieves an average speedup of 12.4x over state-of-the-art static multicore connectivity algorithms on a 72-core machine.
  • The framework computes connectivity on the largest publicly available graph (3.5B vertices, 128B edges) in under 10 seconds, a 3.1x improvement over the fastest existing result.
  • Incremental connectivity algorithms in ConnectIt sustain update rates of several billion edges per second, demonstrating high throughput for dynamic workloads.
  • The framework generates hundreds of new algorithm variants by composing different sampling, linking, and compression strategies, most of which extend to spanning forest computation.
  • ConnectIt’s optimized variants significantly accelerate two real-world applications: approximate minimum spanning forest and SCAN clustering, by accelerating the underlying connectivity kernel.
  • The detailed analysis of strategies enables users to select the best-performing variant for their specific graph and workload characteristics.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.