批量均衡分配:简化与推广
Balanced Allocations in Batches: Simplified and Generalized
摘要:
我们考虑将$m$球(作业)分配到$n$箱(服务器)中。在二选过程中,对于每个$m$顺序到达的球,对两个随机选择的仓进行采样,并将球放置在最小负载仓中。众所周知,最大负载为$m/n+\log_2 \log n + O(1)$ w.h.p. Berenbrink、Czumaj、Englert、Friedetzky和Nagel(2012)介绍了该工艺的平行版本,其中$m$球以连续批次的尺寸$b=n$到达。使用批次开始时的料箱装载信息,并行分配同一批次中的球。他们证明了这个过程的缺口是$O(\log n)$的概率很高。在这项工作中,我们提出了一个新的分析,这是基于指数势函数。这使我们能够以不同的方式简化和概括[BCE 12]的分析:$\quad 1.$我们的分析涵盖了广泛的过程。这不仅包括二选一,而且还包括具有更少bin样本的过程,如$(1+β)$,这些过程只能从每个bin样本和图形分配中接收一位信息,其中bin对应于图中的顶点。$\quad 2.$球可以具有不同的权重,只要它们的权重是来自满足其矩生成函数的技术条件的分布的独立样本。对于任意批量大小的$b \geq n$,我们证明了$O(b/n \cdot \log n)$的差距。对于任何$b \in [n , n^3]$,我们改进这$O(b/n + \log n)$,并表明,它是一个家庭的过程紧。这意味着意想不到的结果,例如对于具有恒定$β\in (0, 1]$的$(1+β)$,对于所有$b \in [n,n \log n]$,间隙是$Θ(\log n)$。我们还进行了实验,支持我们的理论结果,甚至暗示了一个优势,不太强大的过程,如$(1+β)$大批量。
英文摘要:
We consider the allocation of $m$ balls (jobs) into $n$ bins (servers). In the Two-Choice process, for each of $m$ 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+\log_2 \log n + O(1)$ w.h.p. Berenbrink, Czumaj, Englert, Friedetzky and Nagel (2012) introduced a parallel version of this process, where $m$ balls arrive in consecutive batches of size $b=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(\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: $\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+β)$, processes which can only receive one bit of information from each bin sample and graphical allocation, where bins correspond to vertices in a graph. $\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. $\quad 3.$ For arbitrary batch sizes $b \geq n$, we prove a gap of $O(b/n \cdot \log n)$. For any $b \in [n , n^3]$, we improve this to $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+β)$ with constant $β\in (0, 1]$, the gap is $Θ(\log n)$ for all $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+β)$ for large batch sizes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。