USENIX ATC2022顶会
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
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CaaS-LSM: Compaction-as-a-Service for LSM-based Key-Value Stores in Storage Disaggregated Infrastructure 引用了 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 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Prism: Optimizing Key-Value Store for Modern Heterogeneous Storage Devices 引用了 Viper: An Efficient Hybrid PMem-DRAM Key-Value Store
- Viper: An Efficient Hybrid PMem-DRAM Key-Value Store 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Viper: An Efficient Hybrid PMem-DRAM Key-Value Store 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent Memory 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent Memory 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
- Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent Memory 引用了 Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction 引用了 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 引用了 FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent Memory
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction 引用了 Viper: An Efficient Hybrid PMem-DRAM Key-Value Store
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA Abstraction 引用了 An Empirical Guide to the Behavior and Use of Scalable Persistent Memory
引用它的顶会 Paper15
- Efficient Memory Management for Large Language Model Serving with PagedAttentionWoosuk Kwon, Zhuohan Li, Siyuan Zhuang, Ying Sheng 等SOSP 2023 · 1,016 次引用
- Prism: Optimizing Key-Value Store for Modern Heterogeneous Storage DevicesYongju Song, Wook-Hee Kim, Sumit Kumar Monga, Changwoo Min 等ASPLOS 2023 · 28 次引用
- CaaS-LSM: Compaction-as-a-Service for LSM-based Key-Value Stores in Storage Disaggregated InfrastructureQiaolin Yu, Chang Guo, Jay Zhuang, Viraj Thakkar 等SIGMOD 2024 · 18 次引用
- Replicating Persistent Memory Key-Value Stores with Efficient RDMA AbstractionQing Wang, Youyou Lu, Jing Wang, Jiwu ShuOSDI 2023 · 14 次引用
- Revisiting Secondary Indexing in LSM-based Storage Systems with Persistent MemoryJing Wang, Youyou Lu, Qing Wang, Yuhao Zhang 等USENIX ATC 2023 · 13 次引用
它引用的 Paper15
- An Empirical Guide to the Behavior and Use of Scalable Persistent MemoryJian Yang, Juno Kim, Morteza Hoseinzadeh, Joseph Izraelevitz 等FAST 2020 · 470 次引用
- FlatStore: An Efficient Log-Structured Key-Value Storage Engine for Persistent MemoryYoumin Chen, Youyou Lu, Fan Yang, Qing Wang 等ASPLOS 2020 · 166 次引用
- Evolution of Development Priorities in Key-value Stores Serving Large-scale Applications: The RocksDB ExperienceSiying Dong, Andrew Kryczka, Yanqin Jin, Michael StummFAST 2021 · 110 次引用
- Exploring the Design Space of Page Management for Multi-Tiered Memory SystemsJonghyeon Kim, Wonkyo Choe, Jeongseob AhnUSENIX ATC 2021 · 108 次引用
- Viper: An Efficient Hybrid PMem-DRAM Key-Value StoreLawrence Benson, Hendrik Makait, Tilmann RablVLDB 2021 · 86 次引用
相关 Paper
- DINOMO: An Elastic, Scalable, High-Performance Key-Value Store for Disaggregated Persistent MemorySe Kwon Lee, Soujanya Ponnapalli, Sharad Singhal, Marcos K. Aguilera 等VLDB 2022 · 49 次引用
- FluidKV: Seamlessly Bridging the Gap between Indexing Performance and Memory-Footprint on Ultra-Fast StorageZiyi Lu, Qiang Cao, Hong Jiang, Yuxing Chen 等VLDB 2024 · 8 次引用
- PartitionKV: Redesigning LSM-tree KV Stores on NVMs with Adaptive Partitioning for Reducing Write Stalls and AmplificationXingye Huang, Jinyu Wu, Xiaofang Xia, Jiangtao Cui 等SIGMOD 2026
- Redesigning High-Performance LSM-based Key-Value Stores with Persistent CPU CachesYijie Zhong, Zhirong Shen, Zixiang Yu, Jiwu ShuICDE 2023 · 8 次引用
- ListDB: Union of Write-Ahead Logs and Persistent SkipLists for Incremental Checkpointing on Persistent MemoryWonbae Kim, Chanyeol Park, Dongui Kim, Hyeongjun Park 等OSDI 2022 · 47 次引用
