DRAMHiT: A Hash Table Architected for the Speed of DRAM
Vikram Narayanan, David Detweiler, Tianjiao Huang, Anton Burtsev
摘要
Despite decades of innovation, existing hash tables fail to achieve peak performance on modern hardware. Built around a relatively simple computation, i.e., a hash function, which in most cases takes only a handful of CPU cycles, hash tables should only be limited by the throughput of the memory subsystem. Unfortunately, due to the inherently random memory access pattern and the contention across multiple threads, existing hash tables spend most of their time waiting for the memory subsystem to serve cache misses and coherence requests.
DRAMHiT is a new hash table designed to work at the speed of DRAM. Architecting for performance, we embrace the fact that modern machines are distributed systemswhile the latency of communication between the cores is much lower than in a traditional network, it is still dominant for the hash table workload. We design DRAMHiT to apply a range of optimizations typical for a distributed system: asynchronous interface, fully-prefetched access, batching with out-of-order completion, and partitioned design with a low-overhead, scalable delegation scheme. DRAMHiT never touches unprefetched memory and minimizes the penalty of coherence requests and atomic instructions. These optimizations allow DRAMHiT to operate close to the speed of DRAM. On uniform key distributions, DRAMHiT achieves 973Mops for reads and 792Mops for writes on 64-thread Intel servers and 1192Mops and 1052Mops on 128-thread AMD machines; hence, outperforming existing lock-free designs by nearly a factor of two.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Succinct and Fast Tiny Pointer Hash Tables 引用了 Zombie Hashing: Reanimating Tombstones in Graveyard
- Succinct and Fast Tiny Pointer Hash Tables 引用了 DLHT: A Non-blocking Resizable Hashtable with Fast Deletes and Memory-awareness
- Dandelion: Smaller Clusters, Bigger Speeds - Distributed Transactions Redefined 引用了 DLHT: A Non-blocking Resizable Hashtable with Fast Deletes and Memory-awareness
引用它的顶会 Paper5
- CoroGraph: Bridging Cache Efficiency and Work Efficiency for Graph Algorithm ExecutionXiangyu Zhi, Xiao Yan, Bo Tang, Ziyao Yin 等VLDB 2024 · 12 次引用
- DLHT: A Non-blocking Resizable Hashtable with Fast Deletes and Memory-awarenessAntonios Katsarakis, Vasilis Gavrielatos, Nikos NtarmosHPDC 2024 · 3 次引用
- Zombie Hashing: Reanimating Tombstones in GraveyardYuvaraj Chesetti, Benwei Shi, Jeff M. Phillips, Prashant PandeySIGMOD 2025 · 2 次引用
- Succinct and Fast Tiny Pointer Hash TablesXilin Tang, Yuqi Mai, William Kuszmaul, Alex ConwayVLDB 2026
- Dandelion: Smaller Clusters, Bigger Speeds - Distributed Transactions RedefinedAntonios Katsarakis, Vasilis Gavrielatos, Chris Jensen, Nikos NtarmosVLDB 2025
相关 Paper
- NOMAD: Enabling Non-blocking OS-managed DRAM Cache via Tag-Data DecouplingYoungin Kim, Hyeonjin Kim, William J. SongHPCA 2023 · 10 次引用
- Dash: Scalable Hashing on Persistent MemoryBaotong Lu, Xiangpeng Hao, Tianzheng Wang, Eric LoVLDB 2020 · 8 次引用
- DART: A Lock-free Two-layer Hashed ART Index for Disaggregated MemoryBowen Zhang, Shengan Zheng, Shi Shu, Jingxiang Li 等SIGMOD 2026
- IcebergHT: High Performance Hash Tables Through Stability and Low AssociativityPrashant Pandey, Michael A. Bender, Alex Conway, Martin Farach-Colton 等SIGMOD 2023 · 17 次引用
- SEPH: Scalable, Efficient, and Predictable Hashing on Persistent MemoryChao Wang, Junliang Hu, Tsun-Yu Yang, Yuhong Liang 等OSDI 2023
