Buffered Hash Table: Leveraging DRAM to Enhance Hash Indexes in the Persistent Memory
Buffered Hash Table: Leveraging DRAM to Enhance Hash Indexes in the Persistent Memory
复制标题
DOI:
10.1109/nvmsa56066.2022.00011
复制
发表时间:
2022-08
期刊:
影响因子:
--
通讯作者:
Chen Zhong;Prajwal Challa;Xingsheng Zhao;Song Jiang
中科院分区:
文献类型:
--
作者:
Chen Zhong;Prajwal Challa;Xingsheng Zhao;Song Jiang
As a high-speed byte-addressable storage media similar to DRAM, Intel Optane DC Persistent Memory (PMem) has drawn the interest from the research community for its high throughput and low latency. These properties propel the migration of in-DRAM data structures, such as hash tables, to the PMem. However, existing PMem hash table designs do not recognize that the PMem is also a block device with an access unit of 256 bytes. Consequently, they carry out writes in sizes that are an order of magnitude smaller than the PMem access unit, leading to high write amplification. To improve their performance, we propose Buffered Hash Table (BHT) design. BHT batches multiple writes into in-DRAM buffers and then merges them into hash table buckets in the PMem, reducing the number of small writes. BHT also employs a PMem-based writeahead log to prevent data loss. Our experiments show that BHT provides up to 2.3X and 2.8X higher write throughput, assuming the DRAM space is sufficiently available, compared to the stateof-the-art hash indexes, namely CCEH and Dash, respectively.