Analyzing Vectorized Hash Tables Across CPU Architectures
Maximilian Böther, Lawrence Benson, Ana Klimovic, Tilmann Rabl
摘要
Data processing systems often leverage vector instructions to achieve higher performance. When applying vector instructions, an often overlooked data structure is the hash table, even though it is fundamental in data processing systems for operations such as indexing, aggregating, and joining. In this paper, we characterize and evaluate three fundamental vectorized hashing schemes, vectorized linear probing (VLP), vectorized fingerprinting (VFP), and bucket-based comparison (BBC). We implement these hashing schemes on the x86, ARM, and Power CPU architectures, as modern database systems must provide efficient implementations for multiple platforms due to the continuously increasing hardware heterogeneity. We present various implementation variants and platform-specific optimizations, which we evaluate for integer keys, string keys, large payloads, skewed distributions, and multiple threads. Our extensive evaluation and comparison to three scalar hashing schemes on four servers shows that BBC outperforms scalar linear probing by a factor of more than 2x, while also scaling well to high load factors. We find that vectorized hashing schemes come with caveats that need to be considered, such as the increased engineering overhead, differences between CPUs, and differences between vector ISAs, such as AVX and AVX-512, which impact performance. We conclude with key findings for vectorized hashing scheme implementations.
问问这篇 Paper
智能体会读完全文。
Lune 把这篇 Paper 索引到了每一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。
引用它的顶会 Paper2
- Data Chunk Compaction in Vectorized ExecutionYiming Qiao, Huanchen ZhangSIGMOD 2025 · 被引用 2 次
- Succinct and Fast Tiny Pointer Hash TablesXilin Tang, Yuqi Mai, William Kuszmaul, Alex ConwayVLDB 2026
它引用的顶会 Paper8
- Pump Up the Volume: Processing Large Data on GPUs with Fast InterconnectsClemens Lutz, Sebastian Breß, Steffen Zeuch, Tilmann Rabl 等SIGMOD 2020 · 被引用 99 次
- To Partition, or Not to Partition, That is the Join Question in a Real SystemMaximilian Bandle, Jana Giceva, Thomas NeumannSIGMOD 2021 · 被引用 43 次
- Grizzly: Efficient Stream Processing Through Adaptive Query CompilationPhilipp M. Grulich, Sebastian Breß, Steffen Zeuch, Jonas Traub 等SIGMOD 2020 · 被引用 41 次
- LightSaber: Efficient Window Aggregation on Multi-core ProcessorsGeorgios Theodorakis, Alexandros Koliousis, Peter R. Pietzuch, Holger PirkSIGMOD 2020 · 被引用 36 次
- Evaluating Multi-GPU Sorting with Modern InterconnectsTobias Maltenberger, Ivan Ilic, Ilin Tolovski, Tilmann RablSIGMOD 2022 · 被引用 24 次
相关 Paper
- Database Processing-in-Memory: An Experimental StudyTiago Rodrigo Kepe, Eduardo C. de Almeida, Marco A. Z. AlvesVLDB 2020 · 被引用 22 次
- GPH: An Efficient and Effective Perfect Hashing Scheme for GPU ArchitecturesJiaping Cao, Le Xu, Man Lung Yiu, Jianbin Qin 等SIGMOD 2025 · 被引用 4 次
- Can Learned Models Replace Hash Functions?Ibrahim Sabek, Kapil Vaidya, Dominik Horn, Andreas Kipf 等VLDB 2023 · 被引用 29 次
- SQLVec: SQL-Based Vector Similarity SearchZhequn Zhang, Yuanyuan Zhu, Hao Zhang, Jeffrey Xu YuICDE 2026
- BigVectorBench: Heterogeneous Data Embedding and Compound Queries are Essential in Evaluating Vector DatabasesGuoxin Kang, Zhongxin Ge, Jingpei Hu, Xueya Zhang 等VLDB 2025 · 被引用 4 次
