Affiliation:
1. Universität zu Köln, Cologne, North Rhine-Westphalia, Germany
Abstract
We consider a natural variation of cuckoo hashing proposed by Lehman and Panigrahy (2009). Each of
cn
objects is assigned
k
= 2 intervals of size ℓ in a linear hash table of size
n
and both starting 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 ℓ. In particular, the
load threshold
is higher, i.e., the load
c
that can be achieved with high probability. For instance, Lehman and Panigrahy (2009) empirically observed the threshold for ℓ = 2 to be around 96.5% as compared to roughly 89.7% using blocks. They pinned down the asymptotics of the thresholds for large ℓ, but the precise values resisted rigorous analysis.
We establish a method to determine these load thresholds for all ℓ ≥ 2, and, in fact, for general
k
≥ 2. For instance, for
k
= ℓ = 2, we get ≈ 96.4995%. We employ a theorem due to Leconte, Lelarge, and Massoulié (2013), 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 using an adapted version of an algorithm by Khosla (2013).
Publisher
Association for Computing Machinery (ACM)
Subject
Mathematics (miscellaneous)
Reference24 articles.
1. The Objective Method: Probabilistic Combinatorial Optimization and Local Weak Convergence
2. Stephan Beyer. 2012. Analysis of the Linear Probing Variant of Cuckoo Hashing. Master’s Thesis. Technische Universität Ilmenau. Retrieved from http://gso.gbv.de/DB=2.1/PPNSET?PPN=685166759.
3. Julie Anne Cain, Peter Sanders, and Nicholas C. Wormald. 2007. The random graph threshold for \(k\) -orientiability and a fast algorithm for optimal multiple-choice allocation. In Proceedings of the 18th SODA. 469–476. Retrieved from http://dl.acm.org/citation.cfm?id=1283383.1283433.
4. Tight Thresholds for Cuckoo Hashing via XORSAT
5. Balanced Allocation and Dictionaries with Tightly Packed Constant Size Bins
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献