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].
De-amortized Cuckoo Hashing: Provable Worst-Case Performance and Experimental Results
Cuckoo hashing是一个非常实用的动态字典:它提供了摊销常数插入时间,最坏情况下的常数删除时间和查找时间,以及良好的内存利用率。然而,在插入n个元素的过程中,有一个明显的概率,一些插入需要Ω(log n)时间。尽管这种分期保证可能适用于某些应用,但在其他应用(例如高性能路由)中,这是非常不可取的。最近,Kirsch和Mitzenmacher(Allerton '07)提出了一种使用各种保留其吸引人的特性的加密技术的cuckoo hashing的去摊销。Kirsch和Mitzenmacher通过实验结果证明了对布谷鸟散列的最坏情况性能的显着改善,但他们留下了构建具有可证明属性的方案的问题。在这项工作中,我们遵循Kirsch和Mitzenmacher,并提出了一个去摊销的布谷鸟散列,可证明保证恒定的最坏情况下的操作。具体地,对于多项式多个操作的任何序列,在初始化阶段的随机性上具有压倒性的概率,每个操作在恒定时间内执行。我们的理论分析和实验结果表明,该计划是非常有效的,并提供了一个实际的替代方案,只有其他已知的动态字典与这种最坏的情况下的保证,由于Dietzfelbinger和Meyer auf der Heide(ICALP '90)。
Maximum Bipartite Matching Size And Application to Cuckoo Hashing
Cuckoo hashing with a stash是一种具有高内存利用率的健壮的多选择散列方案,可用于许多网络设备应用程序。不幸的是,对于超过0.5的内存负载,对其性能知之甚少。在本文中,我们分析其平均性能在这样的负载。我们解决这个问题,通过重铸的问题作为一个给定的随机二分图的预期最大匹配大小的分析。我们提供任何有限系统的精确结果,并推导出渐近结果的内存大小的增加。我们进一步考虑这个问题的其他变体,并最终评估我们的模型在互联网骨干网上的表现。更一般地说,我们的结果给出了一个严格的下限的大小所需的任何多项选择哈希方案的隐藏。