[Paper Review] A New Impossibility Result for Online Bipartite Matching Problems
This paper presents an exact analytical model for the expected maximum matching size in random bipartite graphs with two-choice hashing, directly applying to cuckoo hashing with a stash. By decomposing the graph into connected components and using concentration inequalities, it derives tight bounds on the required stash size for loads above 0.5, showing the maximum matching size is sharply concentrated around its mean, with asymptotic results linked to the Lambert-W function.
Cuckoo hashing with a stash is a robust multiple choice hashing scheme with high memory utilization that can be used in many network device applications. Unfortunately, for memory loads beyond 0.5, little is known on its performance. In this paper, we analyze its average performance over such loads. We tackle this problem by recasting the problem as an analysis of the expected maximum matching size of a given random bipartite graph. We provide exact results for any finite system, and also deduce asymptotic results as the memory size increases. We further consider other variants of this problem, and finally evaluate the performance of our models on Internet backbone traces. More generally, our results give a tight lower bound on the size of the stash needed for any multiple-choice hashing scheme.
Motivation & Objective
- To analyze the performance of cuckoo hashing with a stash when memory load exceeds 0.5, where stash sizing is poorly understood.
- To model the expected size of the maximum matching in a random bipartite graph formed by elements and bins with two hash functions.
- To derive exact and asymptotic expressions for the expected maximum matching size in finite and large systems.
- To provide a tight lower bound on the stash size required for any multiple-choice hashing scheme.
- To validate the model using real Internet backbone traces and simulations.
Proposed method
- Model the cuckoo hashing problem as finding the maximum matching in a random bipartite graph with each left vertex (element) connected to two random right vertices (bins).
- Decompose the graph into connected components and compute the local maximum matching size for each component.
- Use Doob's martingale and Azuma's inequality to prove that the actual maximum matching size is sharply concentrated around its expected value.
- Derive an exact expression for the expected maximum matching size using component-wise analysis and combinatorial enumeration.
- Establish asymptotic results as system size grows, connecting the result to the Lambert-W function.
- Validate the model via simulations with varying load α and partitioning β, and using real Internet backbone traces with 64-bit hashing.
Experimental results
Research questions
- RQ1What is the exact expected size of the maximum matching in a random bipartite graph where each left vertex has two random edges to right vertices, for any finite system size?
- RQ2How does the expected maximum matching size behave asymptotically as the system size tends to infinity, particularly for loads above 0.5?
- RQ3What is the required stash size to ensure all elements can be inserted with high probability when load exceeds 0.5?
- RQ4How does partitioning the memory into two parts affect the maximum matching size and stash requirements?
- RQ5How well does the theoretical model match real-world performance on Internet backbone traces?
Key findings
- The expected maximum matching size in a random bipartite graph with two choices per element is exactly expressible in closed form for any finite system size.
- The actual maximum matching size is sharply concentrated around its expected value, enabling reliable stash sizing via concentration inequalities.
- For load α = 1, the normalized expected maximum matching size is bounded above by 0.9508 for d=3 and 0.9820 for d=4, with simulations closely matching these bounds.
- The model accurately predicts performance on real Internet backbone traces, with experimental mean and confidence intervals closely aligning with theoretical predictions.
- The stash size required to handle loads above 0.5 is tightly bounded by the difference between n and the expected maximum matching size, providing a universal lower bound for multiple-choice hashing schemes.
- As system size increases, the asymptotic behavior of the maximum matching size converges to a function involving the Lambert-W function, providing a precise analytical limit.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.