14
1

Simple Load Balancing

Abstract

We consider the following load balancing process for mm tokens distributed arbitrarily among nn nodes connected by a complete graph: In each time step a pair of nodes is selected uniformly at random. Let 1\ell_1 and 2\ell_2 be their respective number of tokens. The two nodes exchange tokens such that they have (1+2)/2\lceil(\ell_1 + \ell_2)/2\rceil and (1+2)/2\lfloor(\ell_1 + \ell_2)/2\rfloor tokens, respectively. We provide a simple analysis showing that this process reaches almost perfect balance within O(nlogn+nlogΔ)O(n\log{n} + n \log{\Delta}) steps, where Δ\Delta is the maximal initial load difference between any two nodes.

View on arXiv
Comments on this paper