High-Performance GPU Cuckoo Filter

https://news.ycombinator.com/rss Hits: 5
Summary

GPU-Accelerated Cuckoo Filter A high-performance CUDA implementation of the Cuckoo Filter data structure, developed as part of the thesis "Design and Evaluation of a GPU-Accelerated Cuckoo Filter". Overview This library provides a GPU-accelerated Cuckoo Filter implementation optimized for high-throughput batch operations. Cuckoo Filters are space-efficient probabilistic data structures that support insertion, lookup, and deletion operations with a configurable false positive rate. Features CUDA-accelerated batch insert, lookup, and delete operations Configurable fingerprint size and bucket size Multiple eviction policies (DFS, BFS) Sorted insertion mode for improved memory coalescing Multi-GPU support via gossip IPC support for cross-process filter sharing Header-only library design Performance Benchmarks at 80% load factor on an NVIDIA GH200 (H100 HBM3, 3.4 TB/s). The GPU Cuckoo Filter is compared against: Comparison Insert Query Delete GPU vs CPU Cuckoo 360脳 faster 973脳 faster N/A Cuckoo vs TCF 6脳 faster 42脳 faster 100脳 faster Cuckoo vs GQF 585脳 faster 6脳 faster 273脳 faster Cuckoo vs Bloom 0.6脳 (slower) 1.4脳 faster N/A Comparison Insert Query Delete GPU vs CPU Cuckoo 583脳 faster 1504脳 faster N/A Cuckoo vs TCF 1.9脳 faster 11.3脳 faster 35.3脳 faster Cuckoo vs GQF 9.6脳 faster 2.6脳 faster 3.8脳 faster Cuckoo vs Bloom 0.7脳 (slower) 1.0脳 (equal) N/A Note For a more comprehensive evaluation including additional systems and analysis, see the accompanying thesis. Requirements CUDA Toolkit (>= 12.9) C++20 compatible compiler Meson build system (>= 1.3.0) Building meson setup build meson compile -C build Benchmarks and tests are built by default. To disable them: meson setup build -DBUILD_BENCHMARKS=false -DBUILD_TESTS=false Usage # include < CuckooFilter.cuh > // Configure the filter: key type, fingerprint bits, max evictions, block size, bucket size using Config = CuckooConfig< uint64_t , 16 , 500 , 256 , 16 >; // Create a filter with the desired capacity CuckooFilter<Config...

First seen: 2026-01-06 23:39

Last seen: 2026-01-07 03:42