DRAMHiT: A Hash Table Architected for the Speed of DRAM
Vikram Narayanan, David Detweiler, Tianjiao Huang, Anton Burtsev
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- CoroGraph: Bridging Cache Efficiency and Work Efficiency for Graph Algorithm ExecutionXiangyu Zhi, Xiao Yan, Bo Tang, Ziyao Yin et al.VLDB 2024 · 12 citations
- DLHT: A Non-blocking Resizable Hashtable with Fast Deletes and Memory-awarenessAntonios Katsarakis, Vasilis Gavrielatos, Nikos NtarmosHPDC 2024 · 3 citations
- Zombie Hashing: Reanimating Tombstones in GraveyardYuvaraj Chesetti, Benwei Shi, Jeff M. Phillips, Prashant PandeySIGMOD 2025 · 2 citations
- 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
Related papers
- NOMAD: Enabling Non-blocking OS-managed DRAM Cache via Tag-Data DecouplingYoungin Kim, Hyeonjin Kim, William J. SongHPCA 2023 · 10 citations
- Dash: Scalable Hashing on Persistent MemoryBaotong Lu, Xiangpeng Hao, Tianzheng Wang, Eric LoVLDB 2020 · 8 citations
- DART: A Lock-free Two-layer Hashed ART Index for Disaggregated MemoryBowen Zhang, Shengan Zheng, Shi Shu, Jingxiang Li et al.SIGMOD 2026
- IcebergHT: High Performance Hash Tables Through Stability and Low AssociativityPrashant Pandey, Michael A. Bender, Alex Conway, Martin Farach-Colton et al.SIGMOD 2023 · 17 citations
- SEPH: Scalable, Efficient, and Predictable Hashing on Persistent MemoryChao Wang, Junliang Hu, Tsun-Yu Yang, Yuhong Liang et al.OSDI 2023
