arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0901.1155cs.DScs.DMmath.PR
收藏

平衡分配:内存性能权衡

Balanced allocation: Memory performance tradeoffs

Itai Benjamini, Yury Makarychev

摘要:

假设我们顺序地将$n$球放入$n$箱中。如果我们把每个球放入一个随机箱中,那么最重的箱将以高概率包含${\sim}\log n/\log\log n$球。然而,Azar,Broder,Karlin和Upfal [SIAM J. Comput. 29(1999)180--200]表明,如果每次我们随机选择两个箱子,并将球放在两个箱子中最小负载的箱子中,则最重的箱子将以高概率仅包含${\sim}\log\log n$球。我们需要多少内存来实现这个方案?我们大约需要每个bin的$\log\log\log n$位,总共需要$n\log\log\log n$位。现在让我们假设我们有有限的内存。对于每个球,我们有两个随机的箱子,我们必须把球放进其中一个。我们的目标是最大限度地减少最重垃圾箱的负荷。我们证明,如果我们有$n^{1-δ}$位,那么最重的bin将包含至少$Ω(δ\log n/\log\log n)$球的概率很高。在通信复杂性模型中,该界是紧的。

英文摘要:

Suppose we sequentially put $n$ balls into $n$ bins. If we put each ball into a random bin then the heaviest bin will contain ${\sim}\log n/\log\log n$ balls with high probability. However, Azar, Broder, Karlin and Upfal [SIAM J. Comput. 29 (1999) 180--200] showed that if each time we choose two bins at random and put the ball in the least loaded bin among the two, then the heaviest bin will contain only ${\sim}\log\log n$ balls with high probability. How much memory do we need to implement this scheme? We need roughly $\log\log\log n$ bits per bin, and $n\log\log\log n$ bits in total. Let us assume now that we have limited amount of memory. For each ball, we are given two random bins and we have to put the ball into one of them. Our goal is to minimize the load of the heaviest bin. We prove that if we have $n^{1-δ}$ bits then the heaviest bin will contain at least $Ω(δ\log n/\log\log n)$ balls with high probability. The bound is tight in the communication complexity model.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑