arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1707.06855cs.DS
收藏

Cuckoo Hashing算法的块重叠负载均衡

Load Thresholds for Cuckoo Hashing with Overlapping Blocks

Stefan Walzer

摘要:

Dietzfelbinger和Weidling [DW 07]提出了一种布谷鸟散列的自然变体,其中每个$cn$对象在大小为$\ell$的线性(或循环)散列表中被分配大小为$k = 2$的间隔,并且两个起始点都是独立且均匀随机选择的。每个对象必须在其间隔内放置到表格单元格中,但每个单元格只能容纳一个对象。实验表明,该方案优于其中间隔以$\ell$的倍数对齐的块的变体。特别地,负载阈值更高,即可以以高概率实现的负载$c$。例如,Lehman和Panigrahy [LP 09]根据经验观察到$\ell = 2$的阈值约为$96.5\%$,而使用块的阈值约为$89.7\%$。他们设法确定了大$\ell$的阈值的渐近性,但精确的值无法进行严格的分析。我们建立了一种方法来确定这些负载阈值的所有$\ell \geq 2$,事实上,一般$k \geq 2$。例如,对于$k = \ell = 2$,我们得到$\approx 96.4995\%$。我们采用的关键工具是Leconte,Lelarge和Massoulié [LLM13]提出的一个有见地的一般定理,该定理将统计物理学的方法应用于超图可定向性的世界。实际上,我们的图族的可定向性阈值由某些图限制的置信传播方程确定。作为旁注,我们提供了实验证据,表明可以使用Khosla [Kho13]的算法的改编版本在线性时间内构建放置,负载接近阈值。

英文摘要:

Dietzfelbinger and Weidling [DW07] proposed a natural variation of cuckoo hashing where each of $cn$ objects is assigned $k = 2$ intervals of size $\ell$ in a linear (or cyclic) hash table of size $n$ and both start points are chosen independently and uniformly at random. Each object must be placed into a table cell within its intervals, but each cell can only hold one object. Experiments suggested that this scheme outperforms the variant with blocks in which intervals are aligned at multiples of $\ell$. In particular, the load threshold is higher, i.e. the load $c$ that can be achieved with high probability. For instance, Lehman and Panigrahy [LP09] empirically observed the threshold for $\ell = 2$ to be around $96.5\%$ as compared to roughly $89.7\%$ using blocks. They managed to pin down the asymptotics of the thresholds for large $\ell$, but the precise values resisted rigorous analysis. We establish a method to determine these load thresholds for all $\ell \geq 2$, and, in fact, for general $k \geq 2$. For instance, for $k = \ell = 2$ we get $\approx 96.4995\%$. The key tool we employ is an insightful and general theorem due to Leconte, Lelarge, and Massoulié [LLM13], which adapts methods from statistical physics to the world of hypergraph orientability. In effect, the orientability thresholds for our graph families are determined by belief propagation equations for certain graph limits. As a side note we provide experimental evidence suggesting that placements can be constructed in linear time with loads close to the threshold using an adapted version of an algorithm by Khosla [Kho13].

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

↑