English

Balanced Allocations in Batches: Simplified and Generalized

Discrete Mathematics 2023-03-15 v1 Data Structures and Algorithms Combinatorics Probability

Abstract

We consider the allocation of mm balls (jobs) into nn bins (servers). In the Two-Choice process, for each of mm sequentially arriving balls, two randomly chosen bins are sampled and the ball is placed in the least loaded bin. It is well-known that the maximum load is m/n+log2logn+O(1)m/n+\log_2 \log n + O(1) w.h.p. Berenbrink, Czumaj, Englert, Friedetzky and Nagel (2012) introduced a parallel version of this process, where mm balls arrive in consecutive batches of size b=nb=n each. Balls within the same batch are allocated in parallel, using the load information of the bins at the beginning of the batch. They proved that the gap of this process is O(logn)O(\log n) with high probability. In this work, we present a new analysis of this setting, which is based on exponential potential functions. This allows us to both simplify and generalize the analysis of [BCE12] in different ways: 1.\quad 1. Our analysis covers a broad class of processes. This includes not only Two-Choice, but also processes with fewer bin samples like (1+β)(1+\beta), processes which can only receive one bit of information from each bin sample and graphical allocation, where bins correspond to vertices in a graph. 2.\quad 2. Balls may be of different weights, as long as their weights are independent samples from a distribution satisfying a technical condition on its moment generating function. 3.\quad 3. For arbitrary batch sizes bnb \geq n, we prove a gap of O(b/nlogn)O(b/n \cdot \log n). For any b[n,n3]b \in [n , n^3], we improve this to O(b/n+logn)O(b/n + \log n) and show that it is tight for a family of processes. This implies the unexpected result that for e.g. (1+β)(1+\beta) with constant β(0,1]\beta \in (0, 1], the gap is Θ(logn)\Theta(\log n) for all b[n,nlogn]b \in [n,n \log n]. We also conduct experiments which support our theoretical results, and even hint at a superiority of less powerful processes like (1+β)(1+\beta) for large batch sizes.

Keywords

Cite

@article{arxiv.2203.13902,
  title  = {Balanced Allocations in Batches: Simplified and Generalized},
  author = {Dimitrios Los and Thomas Sauerwald},
  journal= {arXiv preprint arXiv:2203.13902},
  year   = {2023}
}

Comments

47 pages, 8 Figures, 1 Table

R2 v1 2026-06-24T10:26:29.622Z