STEM: Streaming-Based FPGA Acceleration for Large-Scale Compactions in LSM KV
Dongdong Tang, Weilan Wang, Yu Mao, Jinghuan Yu, Tei-Wei Kuo, Chun Jason Xue
Abstract
Log-Structured-Merge-tree (LSM-tree) has been extensively adopted because of its exceptional write efficiency and high space utilization. Compaction is invoked periodically in LSM-tree based key-value(LSM KV) systems to maintain good system performance. As the size of LSM-KV grows, large-scale compaction is now frequently seen. Compaction throughput significantly degrades with larger inputs, leading to frequent write stalls and decrement in overall write throughput. This paper proposes STEM, a stream-based compaction framework with FPGA to address this issue. A clean-cut algorithm is introduced to enable streaming-based compaction for large-scale data. With a multi-unit pipeline and dynamic pipeline schedule, STEM can handle large-scale compaction tasks efficiently. Based on the experiment result, the compaction throughput of STEM can achieveon average and up toimprovement compared with the current RocksDB compaction,toimprovement compared with the state-of-the-art FPGA accelerator.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get a5d9bc71-54c4-499d-be86-e0f946ff67d6Cited by top-tier papers3
- Easz: An Agile Transformer-based Image Compression Framework for Resource-constrained IoTsYu Mao, Jingzong Li, Jun Wang, Hong Xu et al.DAC 2025 · 1 citation
- Kirin: Efficient In-Storage Learned Compaction for LSM-Trees via System-Algorithm Co-DesignGuifeng Wang, Shengan Zheng, Penghao Sun, Jin Pu et al.VLDB 2026
- Nezha: A Key-Value Separated Distributed Store with Optimized Raft IntegrationYangyang Wang, Yucong Dong, Ziqian Cheng, Zichen XuICDE 2026
Related papers
- FPGA-based Compaction Engine for Accelerating LSM-tree Key-Value StoresXuan Sun, Jinghuan Yu, Zimeng Zhou, Chun Jason XueICDE 2020 · 34 citations
- FPGA-Accelerated Compactions for LSM-based Key-Value StoreTeng Zhang, Jianying Wang, Xuntao Cheng, Hao Xu et al.FAST 2020 · 99 citations
- Reducing Write Amplification of LSM-Tree with Block-Grained CompactionXiaoliang Wang, Peiquan Jin, Bei Hua, Hai Long et al.ICDE 2022 · 26 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
- 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
