摘要

Concurrent hash tables play an more important role in various areas as modern CPUs have greater numbers of cores and threads. In this paper, we propose an improved cuckoo hash table for multi-core CPUs with exploiting thread-level parallelism and data-level parallelism. We firstly introduce the structure of our proposed cuckoo hash table, which is a combination of the standard cuckoo hash table and the chained hash table, and supports multiple reader/multiple writer access. Then we propose two optimizations for lookup operation; one is the use of SIMD instructions for tag-based lookup operation, the other is the transfer operation when deleting one pair from the cuckoo hash table. Thought experiments on 8-core platform, we have finally shown that our improved cuckoo hash table has better performance of insert operation and lookup operation, especially in the lookup operation, and that our proposed hash table is suitable for various hardware platforms.

全文