Parallel Balanced Allocations: The Heavily Loaded Case

04/16/2019
by   Christoph Lenzen, et al.
0

We study parallel algorithms for the classical balls-into-bins problem, in which m balls acting in parallel as separate agents are placed into n bins. Algorithms operate in synchronous rounds, in each of which balls and bins exchange messages once. The goal is to minimize the maximal load over all bins using a small number of rounds and few messages. While the case of m=n balls has been extensively studied, little is known about the heavily loaded case. In this work, we consider parallel algorithms for this somewhat neglected regime of m≫ n. The naive solution of allocating each ball to a bin chosen uniformly and independently at random results in maximal load m/n+Θ(√(m/n· n)) (for m≥ n n) w.h.p. In contrast, for the sequential setting Berenbrink et al (SIAM J. Comput 2006) showed that letting each ball join the least loaded bin of two randomly selected bins reduces the maximal load to m/n+O( m) w.h.p. To date, no parallel variant of such a result is known. We present a simple parallel threshold algorithm that obtains a maximal load of m/n+O(1) w.h.p. within O( (m/n)+^* n) rounds. The algorithm is symmetric (balls and bins all "look the same"), and balls send O(1) messages in expectation per round. The additive term of O(^* n) in the complexity is known to be tight for such algorithms (Lenzen and Wattenhofer Distributed Computing 2016). We also prove that our analysis is tight, i.e., algorithms of the type we provide must run for Ω({ (m/n),n}) rounds w.h.p. Finally, we give a simple asymmetric algorithm (i.e., balls are aware of a common labeling of the bins) that achieves a maximal load of m/n + O(1) in a constant number of rounds w.h.p. Again, balls send only a single message per round, and bins receive (1+o(1))m/n+O( n) messages w.h.p.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/11/2019

Exponentially Faster Massively Parallel Maximal Matching

The study of graph problems in the Massively Parallel Computations (MPC)...
research
07/17/2018

Massively Parallel Symmetry Breaking on Sparse Graphs: MIS and Maximal Matching

The success of massively parallel computation (MPC) paradigms such as Ma...
research
05/25/2022

Deterministic Massively Parallel Algorithms for Ruling Sets

In this paper we present a deterministic O(loglog n)-round algorithm for...
research
06/29/2021

Optimal Spanners for Unit Ball Graphs in Doubling Metrics

Resolving an open question from 2006, we prove the existence of light-we...
research
05/07/2022

Almost 3-Approximate Correlation Clustering in Constant Rounds

We study parallel algorithms for correlation clustering. Each pair among...
research
02/13/2020

Scheduling periodic messages on a shared link

Cloud-RAN is a recent architecture for mobile networks where the process...
research
05/18/2023

Maximal workload, minimal workload, maximal workload difference: optimizing all criteria at once

In a simple model of assigning workers to tasks, every solution that min...

Please sign up or login with your details

Forgot password? Click here to reset