Dissertation
Zitieren …

Scalable Hash Tables

Tobias Maier ORCID-iD-Icon 1
1 Institut für Theoretische Informatik (ITI), Karlsruher Institut für Technologie (KIT)
DOI: 10.5445/IR/1000148820
PDF veröffentlicht am 21.07.2022
CC BY 4.0
Abstract

The term scalability with regards to this dissertation has two meanings: It means

taking the best possible advantage of the provided resources (both computational

and memory resources) and it also means scaling data structures in the literal sense,

i.e., growing the capacity, by “rescaling” the table.

Scaling well to computational resources implies constructing the fastest best per-

forming algorithms and data structures. On today’s many-core machines the best

performance is immediately associated with parallelism. Since CPU frequencies

have stopped growing about 10-15 years ago, parallelism is the only way to take ad-

vantage of growing computational resources. But for data structures in general and

hash tables in particular performance is not only linked to faster computations. The

most execution time is actually spent waiting for memory. Thus optimizing data

structures to reduce the amount of memory accesses or to take better advantage of

the memory hierarchy especially through predictable access patterns and prefetch-

ing is just as important.

In terms of scaling the size of hash tables we have identified three domains where

scaling hash-based data structures have been lacking previously, i.e., space effi-

cient growing, concurrent hash tables, and Approximate Membership Query data

structures (AMQ-filter). Throughout this dissertation, we describe the problems

in these areas and develop efficient solutions. We highlight three different libraries

that we have developed over the course of this dissertation, each containing mul-

tiple implementations that have shown throughout our testing to be among the

best implementations in their respective domains. In this composition they offer

a comprehensive toolbox that can be used to solve many kinds of hashing related

problems or to develop individual solutions for further ones.

DySECT is a library for space efficient hash tables specifically growing space effi-

cient hash tables that scale with their input size. It contains the namesake DySECT

data structure in addition to a number of different probing and cuckoo based im-

plementations. Growt is a library for highly efficient concurrent hash tables. It

contains a very fast base table and a number of extensions to adapt this table to

match any purpose. All extension can be combined to create a variety of different

interfaces. In our extensive experimental evaluation, each adaptation has shown

to be among the best hash tables for their specific purpose. Lpqfilter is a library

for concurrent approximate membership query (AMQ) data structures. It contains

some original data structures, like the linear probing quotient filter, as well as some

novel approaches to dynamically sized quotient filters.