English

Balanced Allocation on Graphs

Data Structures and Algorithms 2007-05-23 v1

Abstract

In this paper, we study the two choice balls and bins process when balls are not allowed to choose any two random bins, but only bins that are connected by an edge in an underlying graph. We show that for nn balls and nn bins, if the graph is almost regular with degree nϵn^\epsilon, where ϵ\epsilon is not too small, the previous bounds on the maximum load continue to hold. Precisely, the maximum load is loglogn+O(1/ϵ)+O(1)\log \log n + O(1/\epsilon) + O(1). For general Δ\Delta-regular graphs, we show that the maximum load is loglogn+O(lognlog(Δ/log4n))+O(1)\log\log n + O(\frac{\log n}{\log (\Delta/\log^4 n)}) + O(1) and also provide an almost matching lower bound of loglogn+lognlog(Δlogn)\log \log n + \frac{\log n}{\log (\Delta \log n)}. V{\"o}cking [Voc99] showed that the maximum bin size with dd choice load balancing can be further improved to O(loglogn/d)O(\log\log n /d) by breaking ties to the left. This requires dd random bin choices. We show that such bounds can be achieved by making only two random accesses and querying d/2d/2 contiguous bins in each access. By grouping a sequence of nn bins into 2n/d2n/d groups, each of d/2d/2 consecutive bins, if each ball chooses two groups at random and inserts the new ball into the least-loaded bin in the lesser loaded group, then the maximum load is O(loglogn/d)O(\log\log n/d) with high probability.

Keywords

Cite

@article{arxiv.cs/0510086,
  title  = {Balanced Allocation on Graphs},
  author = {K. Kenthapadi and R. Panigrahy},
  journal= {arXiv preprint arXiv:cs/0510086},
  year   = {2007}
}