Connected Components on a PRAM in Log Diameter Time

03/02/2020
by   S. Cliff Liu, et al.
0

We present an O(log d + loglog_m/n n)-time randomized PRAM algorithm for computing the connected components of an n-vertex, m-edge undirected graph with maximum component diameter d. The algorithm runs on an ARBITRARY CRCW (concurrent-read, concurrent-write with arbitrary write resolution) PRAM using O(m) processors. The time bound holds with good probability. Our algorithm is based on the breakthrough results of Andoni et al. [FOCS'18] and Behnezhad et al. [FOCS'19]. Their algorithms run on the more powerful MPC model and rely on sorting and computing prefix sums in O(1) time, tasks that take Ω(log n / loglog n) time on a CRCW PRAM with poly(n) processors. Our simpler algorithm uses limited-collision hashing and does not sort or do prefix sums. It matches the time and space bounds of the algorithm of Behnezhad et al., who improved the time bound of Andoni et al. It is widely believed that the larger private memory per processor and unbounded local computation of the MPC model admit algorithms faster than that on a PRAM. Our result suggests that such additional power might not be necessary, at least for fundamental graph problems like connected components and spanning forest.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/09/2021

Deterministic Massively Parallel Connectivity

We consider the problem of designing fundamental graph algorithms on the...
research
12/14/2018

Simple Concurrent Labeling Algorithms for Connected Components

We present new concurrent labeling algorithms for finding connected comp...
research
05/02/2019

Log Diameter Rounds Algorithms for 2-Vertex and 2-Edge Connectivity

Many modern parallel systems, such as MapReduce, Hadoop and Spark, can b...
research
06/03/2022

Improved Deterministic Connectivity in Massively Parallel Computation

A long line of research about connectivity in the Massively Parallel Com...
research
07/06/2019

A Randomized Algorithm for Edge-Colouring Graphs in O(m√(n)) Time

We present a simple randomized algorithm to edge-colour arbitrary simple...
research
03/31/2022

Instability of backoff protocols with arbitrary arrival rates

In contention resolution, multiple processors are trying to coordinate t...
research
07/24/2023

A faster and simpler algorithm for learning shallow networks

We revisit the well-studied problem of learning a linear combination of ...

Please sign up or login with your details

Forgot password? Click here to reset