Abstract

Emerging persistent memory (PM) has the potential to substitute DRAM due to its near-DRAM performance and durability similar to disks. However, hash tables designed for DRAM cannot be directly adopted for PM. Moreover, prior studies on hash tables using Optane DC Persistent Memory Modules (DCPMM) have shown sub-optimal scalability and write performance due to expensive lock-based concurrent control and massive data movement caused by expansion. In this paper, we propose an opportunistic lock-free parallel multi-split extendible hashing scheme (PMEH). Firstly, PMEH achieves lock-free operations for evenly distributed data by partitioning the hash table into multiple zones and assigning each zone to one thread. Secondly, PMEH employs an opportunistic lock-free parallel scheme to effectively handle skewed data distribution, which maximizes the utilization of lock-free operations by enabling dynamic switching between lock-free and locking operations. Finally, PMEH uses multi-split with gradual splitting, instead of 2-split, to reduce the frequency of hash table expansion and hence reduce the data movement during expansion. The experimental results under the widely used YCSB workloads demonstrate that PMEH achieves excellent scalability regardless of data distribution. Moreover, PMEH significantly speeds up insertions by 1.44x 15.4x, and deletion by 2.04 18.07x compared to other state-of-the-art hashing schemes. In addition, PMEH reduces at least 52% of extra writes while providing instant recovery.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call