An LSM Tree Augmented with B + Tree on Nonvolatile Memory
Open Access
- 30 January 2024
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Storage
- Vol. 20 (1) , 1-24
Abstract
Modern log-structured merge (LSM) tree-based key-value stores are widely used to process update-heavy workloads effectively as the LSM tree sequentializes write requests to a storage device to maximize storage performance. However, this append-only approach leaves many outdated copies of frequently updated key-value pairs, which need to be routinely cleaned up through the operation called compaction . When the system load is modest, compaction happens in background. However, at a high system load, it can quickly become the major performance bottleneck. To address this compaction bottleneck and further improve the write throughput of LSM tree-based key-value stores, we propose LAB-DB, which augments the existing LSM tree with a pair of B + trees on byte-addressable nonvolatile memory (NVM). The auxiliary B + trees on NVM reduce both compaction frequency and compaction time, hence leading to lower compaction overhead for writes and fewer storage accesses for reads. According to our evaluation of LAB-DB on RocksDB with YCSB benchmarks, LAB-DB achieves 94% and 67% speedups on two write-intensive workloads (Workload A and F), and also a 43% geomean speedup on read-intensive YCSB Workload B, C, D, and E. This performance gain comes with a low cost of NVM whose size is just 0.6% of the entire dataset to demonstrate the scalability of LAB-DB with an ever increasing volume of future datasets.Keywords
Funding Information
- Institute of Information & Communications Technology Planning & Evaluation (2021-0-00853)
This publication has 33 references indexed in Scilit:
- Monkey2017
- WiscKeyACM Transactions on Storage, 2017
- dCompaction: Delayed Compaction for the LSM-TreeInternational Journal of Parallel Programming, 2016
- FPTree2016
- Revisiting hash table design for phase change memory2015
- bLSM2012
- Cache craftiness for fast multicore key-value storage2012
- SILT2011
- FlashStoreProceedings of the VLDB Endowment, 2010
- BigtableACM Transactions on Computer Systems, 2008