About

Log in?

DTU users get better search results including licensed content and discounts on order fees.

Anyone can log in and get personalized features such as favorites, tags and feeds.

Log in as DTU user Log in as non-DTU user No thanks

DTU Findit

Conference paper

The power of two choices with simple tabulation

In 27th Annual Acm-siam Symposium on Discrete Algorithms, Soda 2016 — 2016, pp. 1631-1642
From

University of Copenhagen1

Department of Applied Mathematics and Computer Science, Technical University of Denmark2

Algorithms and Logic, Department of Applied Mathematics and Computer Science, Technical University of Denmark3

The power of two choices is a classic paradigm for load balancing when assigning m balls to n bins. When placing a ball, we pick two bins according to two hash functions ho and h1, and place the ball in the least loaded bin. Assuming fully random hash functions, when m = O(n), Azar et al. [STOC'94] proved that the maximum load is lglgn + 0(1) with high probability.

No such bound was known with a hash function implementable in constant time. In this paper, we investigate the power of two choices when the hash functions ho and h1 are implemented with simple tabulation, which is a very efficient hash function evaluated in constant time. Following their analysis of Cuckoo hashing [J.ACM'12], PǍtraşcu and Thorup claimed that the expected maximum load with simple tabulation is O(lglgn).

This did not include any high probability guarantee, so the load balancing was not yet to be trusted. Here, we show that with simple tabulation, the maximum load is O(lglgn) with high probability, giving the first constant time hash function with this guarantee. We also give a concrete example where, unlike with fully random hashing, the maximum load is not bounded by lglgn + 0(l), or even (1 + o(l)) lglgn with high probability.

Finally, we show that the expected maximum load is lglgn + 0(1), just like with fully random hashing.

Language: English
Publisher: Association for Computing Machinery
Year: 2016
Pages: 1631-1642
Proceedings: 27th Annual ACM-SIAM Symposium on Discrete AlgorithmsACM-SIAM Symposium on Discrete Algorithms
ISBN: 1510819673 , 9781510819672 , 161197433X , 161197433x and 9781611974331
Types: Conference paper
DOI: 10.1137/1.9781611974331.ch111
ORCIDs: Rotenberg, Eva , 0000-0003-2925-746X , 0000-0001-5308-9609 and 0000-0001-5237-1709

DTU users get better search results including licensed content and discounts on order fees.

Log in as DTU user

Access

Analysis