English

Choice-memory tradeoff in allocations

Combinatorics 2010-10-22 v4 Probability

Abstract

In the classical balls-and-bins paradigm, where nn balls are placed independently and uniformly in nn bins, typically the number of bins with at least two balls in them is Θ(n)\Theta(n) and the maximum number of balls in a bin is Θ(lognloglogn)\Theta(\frac{\log n}{\log \log n}). It is well known that when each round offers kk independent uniform options for bins, it is possible to typically achieve a constant maximal load if and only if k=Ω(logn)k=\Omega(\log n). Moreover, it is possible w.h.p. to avoid any collisions between n/2n/2 balls if k>log2nk>\log_2n. In this work, we extend this into the setting where only mm bits of memory are available. We establish a tradeoff between the number of choices kk and the memory mm, dictated by the quantity km/nkm/n. Roughly put, we show that for kmnkm\gg n one can achieve a constant maximal load, while for kmnkm\ll n no substantial improvement can be gained over the case k=1k=1 (i.e., a random allocation). For any k=Ω(logn)k=\Omega(\log n) and m=Ω(log2n)m=\Omega(\log^2n), one can achieve a constant load w.h.p. if km=Ω(n)km=\Omega(n), yet the load is unbounded if km=o(n)km=o(n). Similarly, if km>Cnkm>Cn then n/2n/2 balls can be allocated without any collisions w.h.p., whereas for km<ϵnkm<\epsilon n there are typically Ω(n)\Omega(n) collisions. Furthermore, we show that the load is w.h.p. at least log(n/m)logk+loglog(n/m)\frac{\log(n/m)}{\log k+\log\log(n/m)}. In particular, for kpolylog(n)k\leq\operatorname {polylog}(n), if m=n1δm=n^{1-\delta} the optimal maximal load is Θ(lognloglogn)\Theta(\frac{\log n}{\log\log n}) (the same as in the case k=1k=1), while m=2nm=2n suffices to ensure a constant load. Finally, we analyze nonadaptive allocation algorithms and give tight upper and lower bounds for their performance.

Keywords

Cite

@article{arxiv.0901.4056,
  title  = {Choice-memory tradeoff in allocations},
  author = {Noga Alon and Ori Gurel-Gurevich and Eyal Lubetzky},
  journal= {arXiv preprint arXiv:0901.4056},
  year   = {2010}
}

Comments

Published in at http://dx.doi.org/10.1214/09-AAP656 the Annals of Applied Probability (http://www.imstat.org/aap/) by the Institute of Mathematical Statistics (http://www.imstat.org)

R2 v1 2026-06-21T12:04:44.987Z