Pacman: An Efficient Compaction Approach for Log-Structured Key-Value Store on Persistent Memory
Jing Wang, Youyou Lu, Qing Wang, Minhui Xie, Keji Huang, Jiwu Shu
Abstract
Recent persistent memory (PM) key-value (KV) stores adopt the log-structured approach to reap PM's full potential. However, they fail to sustain high performance at high capacity utilization due to inefficient compaction. The inefficiency results from the unawareness of PM's characteristics. This paper proposes Pacman, an efficient PM-aware compaction approach for log-structured KV stores on PM. Pacman (1) offloads reference search during compaction to service threads, so as to mitigate the onerous index traversal overhead, (2) leverages tagged pointer and DRAM-resident compaction information to avoid excessive PM accesses introduced by garbage collection, (3) redesigns the compaction pipeline based on the PM peculiarities to lower the persistence overhead, and (4) separates hot and cold objects in a lightweight manner to reduce PM data copying in compaction. We apply Pacman to stateof-the-art PM-based log-structured KV stores and evaluate Pacman using various benchmarks. Our evaluations show that Pacman curtails the performance degradation at high capacity utilization, increases the compaction bandwidth by 2-4×, and boosts the performance of the state-of-the-art systems by 1.5-1.8× under write-intensive workloads.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
15 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- CaaS-LSM: Compaction-as-a-Service for LSM-based Key-Value Stores in Storage Disaggregated Infrastructure cites Evolution of Development Priorities in Key-value Stores Serving Large-scale Applications: The RocksDB Experience
- Prism: Optimizing Key-Value Store for Modern Heterogeneous Storage Devices cites FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Prism: Optimizing Key-Value Store for Modern Heterogeneous Storage Devices cites Viper: An Efficient Hybrid PMem-DRAM Key-Value Store
- Viper: An Efficient Hybrid PMem-DRAM Key-Value Store cites FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Viper: An Efficient Hybrid PMem-DRAM Key-Value Store cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent Memory cites FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent Memory cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent Memory cites Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction cites Evolution of Development Priorities in Key-value Stores Serving Large-scale Applications: The RocksDB Experience
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction cites FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction cites Viper: An Efficient Hybrid PMem-DRAM Key-Value Store
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction cites An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
Cited by top-tier papers15
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng et al.SOSP 2023 · 1,016 citations
- Prism: Optimizing Key-Value Store for Modern Heterogeneous Storage DevicesYongju Song, Wook-Hee Kim, Sumit Kumar Monga, Changwoo Min et al.ASPLOS 2023 · 28 citations
- CaaS-LSM: Compaction-as-a-Service for LSM-based Key-Value Stores in Storage Disaggregated InfrastructureQiaolin Yu, Chang Guo, Jay Zhuang, Viraj Thakkar et al.SIGMOD 2024 · 18 citations
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA AbstractionQing Wang, Youyou Lu, Jing Wang, Jiwu ShuOSDI 2023 · 14 citations
- Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent MemoryJing Wang, Youyou Lu, Qing Wang, Yuhao Zhang et al.USENIX ATC 2023 · 13 citations
Builds on15
- An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz et al.FAST 2020 · 470 citations
- FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang et al.ASPLOS 2020 · 166 citations
- Evolution of Development Priorities in Key-value Stores Serving Large-scale Applications: The RocksDB ExperienceSiying Dong, Andrew Kryczka, Yanqin Jin, Michael StummFAST 2021 · 110 citations
- Exploring the Design Space of Page Management for Multi-Tiered Memory SystemsJonghyeon Kim, Wonkyo Choe, Jeongseob AhnUSENIX ATC 2021 · 108 citations
- Viper: An Efficient Hybrid PMem-DRAM Key-Value StoreLawrence Benson, Hendrik Makait, Tilmann RablVLDB 2021 · 86 citations
Related papers
- DINOMO: An Elastic, Scalable, High-Performance Key-Value Store for Disaggregated Persistent MemorySe Kwon Lee, Soujanya Ponnapalli, Sharad Singhal, Marcos K. Aguilera et al.VLDB 2022 · 49 citations
- FluidKV: Seamlessly Bridging the Gap between Indexing Performance and Memory-Footprint on Ultra-Fast StorageZiyi Lu, Qiang Cao, Hong Jiang, Yuxing Chen et al.VLDB 2024 · 8 citations
- PartitionKV: Redesigning LSM-tree KV Stores on NVMs with Adaptive Partitioning for Reducing Write Stalls and AmplificationXingye Huang, Jinyu Wu, Xiaofang Xia, Jiangtao Cui et al.SIGMOD 2026
- Redesigning High-Performance LSM-based Key-Value Stores with Persistent CPU CachesYijie Zhong, Zhirong Shen, Zixiang Yu, Jiwu ShuICDE 2023 · 8 citations
- ListDB: Union of Write-Ahead Logs and Persistent SkipLists for Incremental Checkpointing on Persistent MemoryWonbae Kim, Chanyeol Park, Dongui Kim, Hyeongjun Park et al.OSDI 2022 · 47 citations
