Lune

SIGMOD2023顶会

IcebergHT: High Performance Hash Tables Through Stability and Low Associativity

Prashant Pandey, Michael A. Bender, Alex Conway, Martin Farach-Colton, William Kuszmaul, Guido Tagliavini, Rob Johnson

摘要

Modern hash table designs for DRAM and PMEM strive to minimize space while maximizing speed. The most important factor in speed is the number of cache lines accessed during updates and queries. On PMEM, there is an additional consideration, which is to minimize the number of writes, because on PMEM writes are more expensive than reads. This paper proposes two design objectives, stability and low-associativity, that enable us to build hash tables that minimize cache-line accesses for all operations. A hash table is stable if it does not move items around, and a hash table has low associativity if there are only a few locations where an item can be stored. Low associativity ensures that queries need to examine only a few memory locations, and stability ensures that insertions write to very few cache lines. Stability also simplifies concurrency and, on PMEM, crash safety. We present IcebergHT, a fast, concurrent, space-efficient, and crash-safe (for PMEM) hash table based on the design principles of stability and low associativity. IcebergHT combines in-memory metadata with a new hashing technique, iceberg hashing, that is (1) space efficient, (2) stable, and (3) supports low associativity. In contrast, existing hash-tables either modify numerous cache lines during insertions (e.g. cuckoo hashing), access numerous cache lines during queries (e.g. linear probing), or waste space (e.g. chaining). Moreover, the combination of (1)-(3) yields several emergent benefits: IcebergHT scales better than other hash tables, has excellent performance, and supports crash-safety on PMEM. Our benchmarks show that IcebergHT has excellent performance both in DRAM and PMEM. In PMEM, IcebergHT insertions are 50% to 3× faster than state-of-the-art PMEM hash tables, such as Dash and CLHT, and queries are 20% to 2× faster. IcebergHT space overhead is 17%, whereas Dash and CLHT have space overheads of 2× and 3×, respectively. IcebergHT also scaled linearly throughout our experiments and is crash safe. In DRAM, IcebergHT outperforms state-of-the-art hash tables libcuckoo and CLHT by almost 2× on insertions while offering good query throughput and much better space efficiency.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Succinct and Fast Tiny Pointer Hash Tables 引用了 Zombie Hashing: Reanimating Tombstones in Graveyard
  • Succinct and Fast Tiny Pointer Hash Tables 引用了 Dash: Scalable Hashing on Persistent Memory
  • Succinct and Fast Tiny Pointer Hash Tables 引用了 Persistent Memory Hash Indexes: An Experimental Evaluation
  • Shard: A Scalable and Resize-optimized Hash Index on Disaggregated Memory 引用了 Dash: Scalable Hashing on Persistent Memory
  • Dash: Scalable Hashing on Persistent Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • Persistent Memory Hash Indexes: An Experimental Evaluation 引用了 Dash: Scalable Hashing on Persistent Memory
  • Persistent Memory Hash Indexes: An Experimental Evaluation 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
  • H-Rocks: CPU-GPU accelerated Heterogeneous RocksDB on Persistent Memory 引用了 Dash: Scalable Hashing on Persistent Memory
  • H-Rocks: CPU-GPU accelerated Heterogeneous RocksDB on Persistent Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. High-Performance Filters for GPUsHunter McCoy, Steven Hofmeyr, Katherine A. Yelick, Prashant PandeyPPoPP 2023 · 10 次引用
  2. H-Rocks: CPU-GPU accelerated Heterogeneous RocksDB on Persistent MemoryShweta Pandey, Arkaprava BasuSIGMOD 2025 · 4 次引用
  3. Zombie Hashing: Reanimating Tombstones in GraveyardYuvaraj Chesetti, Benwei Shi, Jeff M. Phillips, Prashant PandeySIGMOD 2025 · 2 次引用
  4. Succinct and Fast Tiny Pointer Hash TablesXilin Tang, Yuqi Mai, William Kuszmaul, Alex ConwayVLDB 2026
  5. Shard: A Scalable and Resize-optimized Hash Index on Disaggregated MemoryHantian Zha, Teng Ma, Baotong Lu, Yuansen Wang 等VLDB 2026

它引用的 Paper4

  1. An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz 等FAST 2020 · 470 次引用
  2. Persistent Memory Hash Indexes: An Experimental EvaluationDaokun Hu, Zhiwen Chen, Jianbing Wu, Jianhua Sun 等VLDB 2021 · 47 次引用
  3. Rethinking File Mapping for Persistent MemoryIan Neal, Gefei Zuo, Eric Shiple, Tanvir Ahmed Khan 等FAST 2021 · 28 次引用
  4. Dash: Scalable Hashing on Persistent MemoryBaotong Lu, Xiangpeng Hao, Tianzheng Wang, Eric LoVLDB 2020 · 8 次引用

相关 Paper

  1. MetoHash: A Memory-Efficient and Traffic-Optimized Hashing Index on Hybrid PMem-DRAM MemoriesZixiang Yu, Guangyang Deng, Zhirong Shen, Qiangsheng Su 等SC 2025 · 1 次引用
  2. Mirror Asymmetry Perfect Hashing: A Memory-Efficient and Load-Intensive-Optimized Hashing Index on Hybrid DRAM-PMem ArchitectureJingcheng Ju, Zirui Liu, Feng Liu, Kaicheng Yang 等ICDE 2026
  3. Plush: A Write-Optimized Persistent Log-Structured Hash-TableLukas Vogel, Alexander van Renen, Satoshi Imamura, Jana Giceva 等VLDB 2022 · 27 次引用
  4. EEPH: An Efficient Extendible Perfect Hashing for Hybrid PMem-DRAMQi Chen, Hao Hu, Cai Deng, Dingbang Liu 等ICDE 2023 · 8 次引用
  5. SEPH: Scalable, Efficient, and Predictable Hashing on Persistent MemoryChao Wang, Junliang Hu, Tsun-Yu Yang, Yuhong Liang 等OSDI 2023
黄昏的海面,两侧是细线勾勒的悬崖