Document Open Access Logo

Load Thresholds for Cuckoo Hashing with Double Hashing

Authors Michael Mitzenmacher , Konstantinos Panagiotou, Stefan Walzer

Thumbnail PDF


  • Filesize: 0.53 MB
  • 9 pages

Document Identifiers

Author Details

Michael Mitzenmacher
  • Harvard University, School of Engineering and Applied Sciences, Cambridge, USA
Konstantinos Panagiotou
  • University of Munich, Institute for Mathematics, Germany
Stefan Walzer
  • Technische Universität Ilmenau, Germany

Cite AsGet BibTex

Michael Mitzenmacher, Konstantinos Panagiotou, and Stefan Walzer. Load Thresholds for Cuckoo Hashing with Double Hashing. In 16th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT 2018). Leibniz International Proceedings in Informatics (LIPIcs), Volume 101, pp. 29:1-29:9, Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2018)


In k-ary cuckoo hashing, each of cn objects is associated with k random buckets in a hash table of size n. An l-orientation is an assignment of objects to associated buckets such that each bucket receives at most l objects. Several works have determined load thresholds c^* = c^*(k,l) for k-ary cuckoo hashing; that is, for c < c^* an l-orientation exists with high probability, and for c > c^* no l-orientation exists with high probability. A natural variant of k-ary cuckoo hashing utilizes double hashing, where, when the buckets are numbered 0,1,...,n-1, the k choices of random buckets form an arithmetic progression modulo n. Double hashing simplifies implementation and requires less randomness, and it has been shown that double hashing has the same behavior as fully random hashing in several other data structures that similarly use multiple hashes for each object. Interestingly, previous work has come close to but has not fully shown that the load threshold for k-ary cuckoo hashing is the same when using double hashing as when using fully random hashing. Specifically, previous work has shown that the thresholds for both settings coincide, except that for double hashing it was possible that o(n) objects would have been left unplaced. Here we close this open question by showing the thresholds are indeed the same, by providing a combinatorial argument that reconciles this stubborn difference.

Subject Classification

ACM Subject Classification
  • Theory of computation → Bloom filters and hashing
  • Cuckoo Hashing
  • Double Hashing
  • Load Thresholds
  • Hypergraph Orientability


  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    PDF Downloads


  1. Martin Dietzfelbinger and Christoph Weidling. Balanced allocation and dictionaries with tightly packed constant size bins. Theoretical Computer Science, 380(1-2):47-68, 2007. Google Scholar
  2. Dimitris Fotakis, Rasmus Pagh, Peter Sanders, and Paul Spirakis. Space efficient hash tables with worst case constant access time. Theory of Computing Systems, 38(2):229-248, 2005. Google Scholar
  3. Nikolaos Fountoulakis, Megha Khosla, and Konstantinos Panagiotou. The Multiple-Orientability Thresholds for Random Hypergraphs. In Proc. 22nd SODA, pages 1222-1236, 2011. URL:
  4. Adam Kirsch and Michael Mitzenmacher. Less hashing, same performance: Building a better bloom filter. Random Structures &Algorithms, 33(2):187-218, 2008. Google Scholar
  5. M. Leconte, M. Lelarge, and L. Massoulié. Convergence of multivariate belief propagation, with applications to cuckoo hashing and load balancing. In Proc. 24th SODA, pages 35-46, 2013. URL:
  6. Mathieu Leconte. Double hashing thresholds via local weak convergence. In 51st Annual Allerton Conference on Communication, Control, and Computing, Allerton 2013, Allerton Park & Retreat Center, Monticello, IL, USA, October 2-4, 2013, pages 131-137. IEEE, 2013. URL:
  7. Marc Lelarge. A New Approach to the Orientation of Random Hypergraphs. In Proc. 23rd SODA, pages 251-264, 2012. URL:
  8. George S Lueker and Mariko Molodowitch. More analysis of double hashing. Combinatorica, 13(1):83-96, 1993. Google Scholar
  9. Michael Mitzenmacher. Some open questions related to cuckoo hashing. In ESA, pages 1-10. Springer, 2009. Google Scholar
  10. Michael Mitzenmacher. Balanced allocations and double hashing. In Proceedings of the 26th ACM symposium on Parallelism in algorithms and architectures, pages 331-342. ACM, 2014. Google Scholar
  11. Michael Mitzenmacher. More analysis of double hashing for balanced allocations. CoRR, abs/1503.00658, 2015. URL:
  12. Michael Mitzenmacher and Justin Thaler. Peeling arguments and double hashing. In 50th Annual Allerton Conference on Communication, Control, and Computing, Allerton 2012, Allerton Park & Retreat Center, Monticello, IL, USA, October 1-5, 2012, pages 1118-1125. IEEE, 2012. URL:
  13. Rasmus Pagh and Flemming Friche Rodler. Cuckoo hashing. J. Algorithms, 51(2):122-144, 2004. URL:
  14. Lutz Warnke. Upper tails for arithmetic progressions in random subsets. Israel Journal of Mathematics, pages 1-49, 7 2017. URL:
Questions / Remarks / Feedback

Feedback for Dagstuhl Publishing

Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail