Lune

VLDB2021顶会

Breaking Down Memory Walls: Adaptive Memory Management in LSM-based Storage Systems

Chen Luo, Michael J. Carey

摘要

Log-Structured Merge-trees (LSM-trees) have been widely used in modern NoSQL systems. Due to their out-of-place update design, LSM-trees have introduced memory walls among the memory components of multiple LSM-trees and between the write memory and the buffer cache. Optimal memory allocation among these regions is non-trivial because it is highly workload-dependent. Existing LSM-tree implementations instead adopt static memory allocation schemes due to their simplicity and robustness, sacrificing performance. In this paper, we attempt to break down these memory walls in LSM-based storage systems. We first present a memory management architecture that enables adaptive memory management. We then present a partitioned memory component structure with new flush policies to better exploit the write memory to minimize the write cost. To break down the memory wall between the write memory and the buffer cache, we further introduce a memory tuner that tunes the memory allocation between these two regions. We have conducted extensive experiments in the context of Apache AsterixDB using the YCSB and TPC-C benchmarks and we present the results here.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • CAMAL: Optimizing LSM-trees via Active Learning 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • CAMAL: Optimizing LSM-trees via Active Learning 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
  • CAMAL: Optimizing LSM-trees via Active Learning 引用了 Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
  • Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads 引用了 Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value Stores
  • Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads 引用了 FPGA-Accelerated Compactions for LSM-based Key-Value Store
  • Nova-LSM: A Distributed, Component-based LSM-tree Key-value Store 引用了 On Performance Stability in LSM-based Storage Systems
  • Nova-LSM: A Distributed, Component-based LSM-tree Key-value Store 引用了 Hailstorm: Disaggregated Compute and Storage for Distributed LSM-based Databases
  • Aster: Enhancing LSM-structures for Scalable Graph Database 引用了 CAMAL: Optimizing LSM-trees via Active Learning
  • Aster: Enhancing LSM-structures for Scalable Graph Database 引用了 Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic Workloads
  • Aster: Enhancing LSM-structures for Scalable Graph Database 引用了 Nova-LSM: A Distributed, Component-based LSM-tree Key-value Store
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper14

  1. Nova-LSM: A Distributed, Component-based LSM-tree Key-value StoreHaoyu Huang, Shahram GhandeharizadehSIGMOD 2021 · 47 次引用
  2. Learning to Optimize LSM-trees: Towards A Reinforcement Learning based Key-Value Store for Dynamic WorkloadsDingheng Mo, Fanchao Chen, Siqiang Luo, Caihua ShanSIGMOD 2024 · 26 次引用
  3. Bf-Tree: A Modern Read-Write-Optimized Concurrent Larger-Than-Memory Range IndexXiangpeng Hao, Badrish ChandramouliVLDB 2024 · 14 次引用
  4. CAMAL: Optimizing LSM-trees via Active LearningWeiping Yu, Siqiang Luo, Zihao Yu, Gao CongSIGMOD 2025 · 11 次引用
  5. Aster: Enhancing LSM-structures for Scalable Graph DatabaseDingheng Mo, Junfeng Liu, Fan Wang, Siqiang LuoSIGMOD 2025 · 10 次引用

它引用的 Paper4

  1. FPGA-Accelerated Compactions for LSM-based Key-Value StoreTeng Zhang, Jianying Wang, Xuntao Cheng, Hao Xu 等FAST 2020 · 99 次引用
  2. Rosetta: A Robust Space-Time Optimized Range Filter for Key-Value StoresSiqiang Luo, Subarna Chatterjee, Rafael Ketsetsidis, Niv Dayan 等SIGMOD 2020 · 91 次引用
  3. Hailstorm: Disaggregated Compute and Storage for Distributed LSM-based DatabasesLaurent Bindschaedler, Ashvin Goel, Willy ZwaenepoelASPLOS 2020 · 51 次引用
  4. On Performance Stability in LSM-based Storage SystemsChen Luo, Michael J. CareyVLDB 2020 · 1 次引用

相关 Paper

  1. O3-LSM: Maximizing Disaggregated LSM Write Performance via Three-Layer OffloadingQi Lin, Gangqi Huang, Te Guo, Chang Guo 等SIGMOD 2026 · 2 次引用
  2. 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
  3. Constructing and Analyzing the LSM Compaction Design SpaceSubhadeep Sarkar, Dimitris Staratzis, Zichen Zhu, Manos AthanassoulisVLDB 2021 · 73 次引用
  4. Rethinking The Compaction Policies in LSM-treesHengrui Wang, Jiansheng Qiu, Fangzhou Yuan, Huanchen ZhangSIGMOD 2025 · 9 次引用
  5. Mnemosyne: Dynamic Workload-Aware BF Tuning via Accurate Statistics in LSM treesZichen Zhu, Yanpeng Wei, Ju Hyoung Mun, Manos AthanassoulisSIGMOD 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖