arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.15486cs.DCcs.DB
收藏

Cuckoo-GPU: 加速现代GPU上的Cuckoo过滤器

Cuckoo-GPU: Accelerating Cuckoo Filters on Modern GPUs

Johannes Gutenberg University Mainz(约翰内斯·古腾堡美因茨大学)

Tim Dortmann, Markus Vieth, Bertil Schmidt

AI总结:

本文提出Cuckoo-GPU,一种高性能GPU上的Cuckoo过滤器库,通过随机访问模式充分利用全局内存带宽,实现比现有动态AMQ结构更高的吞吐量,且在性能上超越CPU实现。

摘要:

近似成员查询(AMQ)结构对于数据库、网络和生物信息学中的高吞吐系统至关重要。虽然Bloom过滤器速度快,但不支持删除。现有的GPU动态替代方案,如Two-Choice Filter(TCF)和GPU Quotient Filter(GQF),虽然支持删除,但性能惩罚严重。我们提出了Cuckoo-GPU,一种开源的GPU Cuckoo过滤器库。与优先考虑缓存局部性不同,Cuckoo-GPU利用Cuckoo哈希的随机访问模式,完全饱和全局内存带宽。我们的设计采用基于原子比较和交换操作的无锁架构,配以新颖的基于广度优先搜索的驱逐启发式方法,以最小化线程分歧并限制高负载插入期间的顺序内存访问。在NVIDIA GH200(HBM3)和RTX PRO 6000 Blackwell(GDDR7)系统上评估,Cuckoo-GPU缩小了只追加和动态AMQ结构之间的性能差距。它在相同硬件上实现的插入、查询和删除吞吐量分别比GQF(TCF)高378x(4.1x)、6x(34.7x)和258x(107x)。此外,其查询吞吐量与只追加的GPU Blocked Bloom过滤器相当,证明动态AMQ结构可以在现代加速器上部署而不牺牲性能。

英文摘要:

Approximate Membership Query (AMQ) structures are essential for high-throughput systems in databases, networking, and bioinformatics. While Bloom filters offer speed, they lack support for deletions. Existing GPU-based dynamic alternatives, such as the Two-Choice Filter (TCF) and GPU Quotient Filter (GQF), enable deletions but incur severe performance penalties. We present Cuckoo-GPU, an open-source, high-performance Cuckoo filter library for GPUs. Instead of prioritizing cache locality, Cuckoo-GPU embraces the inherently random access pattern of Cuckoo hashing to fully saturate global memory bandwidth. Our design features a lock-free architecture built on atomic compare-and-swap operations, paired with a novel breadth-first search-based eviction heuristic that minimizes thread divergence and bounds sequential memory accesses during high-load insertions. Evaluated on NVIDIA GH200 (HBM3) and RTX PRO 6000 Blackwell (GDDR7) systems, Cuckoo-GPU closes the performance gap between append-only and dynamic AMQ structures. It achieves insertion, query, and deletion throughputs up to 378x (4.1x), 6x (34.7x), and 258x (107x) higher than GQF (TCF) on the same hardware, respectively, and delivers up to a 350x speedup over the fastest available multi-threaded CPU-based Cuckoo filter implementation. Moreover, its query throughput rivals that of the append-only GPU-based Blocked Bloom filter - demonstrating that dynamic AMQ structures can be deployed on modern accelerators without sacrificing performance.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑