Cuckoo++ Hash Tables: High-Performance Hash Tables for Networking Applications

12/27/2017
by   Nicolas Le Scouarnec, et al.
0

Hash tables are an essential data-structure for numerous networking applications (e.g., connection tracking, firewalls, network address translators). Among these, cuckoo hash tables provide excellent performance by allowing lookups to be processed with very few memory accesses (2 to 3 per lookup). Yet, for large tables, cuckoo hash tables remain memory bound and each memory access impacts performance. In this paper, we propose algorithmic improvements to cuckoo hash tables allowing to eliminate some unnecessary memory accesses; these changes are conducted without altering the properties of the original cuckoo hash table so that all existing theoretical analysis remain applicable. On a single core, our hash table achieves 37M lookups per second for positive lookups (i.e., when the key looked up is present in the table), and 60M lookups per second for negative lookups, a 50 implementation included into the DPDK. On a 18-core, with mostly positive lookups, our implementation achieves 496M lookups per second, a 45 over DPDK.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/16/2021

Better GPU Hash Tables

We revisit the problem of building static hash tables on the GPU and des...
research
05/23/2018

Optimal Hashing in External Memory

Hash tables are a ubiquitous class of dictionary data structures. Howeve...
research
04/19/2023

Efficient implementation of sets and multisets in R using hash tables

The package hset for the R language contains an implementation of a S4 c...
research
08/14/2018

Hashing with Linear Probing and Referential Integrity

We describe a variant of linear probing hash tables that never moves ele...
research
08/29/2022

A Probabilistic Model Revealing Shortcomings in Lua's Hybrid Tables

Lua (Ierusalimschy et al., 1996) is a well-known scripting language, pop...
research
06/05/2023

Large-Scale Distributed Learning via Private On-Device Locality-Sensitive Hashing

Locality-sensitive hashing (LSH) based frameworks have been used efficie...
research
03/28/2019

Implementing Noise with Hash functions for Graphics Processing Units

We propose a modification to Perlin noise which use computable hash func...

Please sign up or login with your details

Forgot password? Click here to reset