Share this page
Share this page E-mail this page Print this page RSS feeds
Home > Publications > More Robust Hashing: Cuckoo Hashing with a Stash
More Robust Hashing: Cuckoo Hashing with a Stash

Cuckoo hashing holds great potential as a high-performance hashing scheme for real applications. Up to this point, the greatest drawback of cuckoo hashing appears to be that there is a polynomially small but practically significant probability that a failure occurs during the insertion of an item, requiring an expensive rehashing of all items in the table. In this paper, we show that this failure probability can be dramatically reduced by the addition of a very small constant-sized \emph{stash}. We demonstrate both analytically and through simulations that stashes of size equivalent to only three or four items yield tremendous improvements, enhancing cuckoo hashing's practical viability in both hardware and software. Our analysis naturally extends previous analyses of multiple cuckoo hashing variants, and the approach may prove useful in further related schemes.

Note: The conference version has a few errors. Below is the full version.

stash-full.9-30.pdf
PDF file

In: ESA '08: Proceedings of the 16th annual European symposium on Algorithms

Publisher: Springer-Verlag
Copy right rules apply.

Details

Type: Inproceedings
Pages: 611–622
ISBN: 978-3-540-87743-1
Address: Berlin, Heidelberg