English

Cuckoo Hashing with Pages

Data Structures and Algorithms 2011-04-28 v1

Abstract

Although cuckoo hashing has significant applications in both theoretical and practical settings, a relevant downside is that it requires lookups to multiple locations. In many settings, where lookups are expensive, cuckoo hashing becomes a less compelling alternative. One such standard setting is when memory is arranged in large pages, and a major cost is the number of page accesses. We propose the study of cuckoo hashing with pages, advocating approaches where each key has several possible locations, or cells, on a single page, and additional choices on a second backup page. We show experimentally that with k cell choices on one page and a single backup cell choice, one can achieve nearly the same loads as when each key has k+1 random cells to choose from, with most lookups requiring just one page access, even when keys are placed online using a simple algorithm. While our results are currently experimental, they suggest several interesting new open theoretical questions for cuckoo hashing with pages.

Keywords

Cite

@article{arxiv.1104.5111,
  title  = {Cuckoo Hashing with Pages},
  author = {Martin Dietzfelbinger and Michael Mitzenmacher and Michael Rink},
  journal= {arXiv preprint arXiv:1104.5111},
  year   = {2011}
}

Comments

18 pages, 6 figures, 6 tables

R2 v1 2026-06-21T17:59:14.092Z