Fine-Grained Analysis of SIMD-Based Hash Table Implementations
Abstract
In recent years, several variants of classical hash table schemes have been developed by engineers in order to take advantage of the processor's internal parallelism using SIMD instructions, which make it possible to operate on multiple bytes simultaneously. At a small additional memory cost, this enables a significant speedup, making it a data structure that is increasingly popular in practice, when very high performance is required. In this article, we provide a detailed theoretical analysis of the dynamics of such hash tables. From a methodological standpoint, we use and adapt a technique developed by Wormald in the 1990s to study dynamic graphs. This approach, which can be adapted to many variants, enables us to accurately estimate the quantities of interest by capturing the dynamics of the data structure through systems of differential equations. Although complex, we provide an explicit description of the solutions of these systems, which can furthermore be efficiently approximated numerically. Our main results are stated with high probability, which is significantly more precise than average-case analyses, and they match experimental results remarkably well, even for hash tables of moderate size.
Create a lesson
Related papers
Can We Break Fine-Grained and NP-Hardness Barriers if We've Seen the Graph Before? The Isomorphic-Priors Model
Shared title terminologycs.DSDani Dorfman, Simon Döring, Martin G. Herold et al.
CT-Miner: Fast and Coarse-Grained Time-Series Pattern Mining via Cartesian Trees
Shared title terminologycs.DSHyundong Jin, Hyunki Hong, Yo-Sub Han
Locality Sensitive Hashing for p-Exponential Kernels with Applications to Density Estimation
Shared title terminologycs.DSBarak Gorodissky, Tal Wagner