OR-LSM: Optimizing Read Performance for LSM-KVS via Adaptive Caching Management and Scan Mode Selection
Shaoyin Huang, Ziyan Zhang, Jiazhi Jiang, Yang Liu, Yutong Lu, Zhiguang Chen
Key points
From the paper's conclusion- Our study reveals that under various and dynamic workloads, the read performance of LSM-KVS suffers from three static configuration policies, i.e., the static configuration for caching the metadata block (including index block and filter), the static configuration for caching the KV pair and data block, and the static configuration for Scan mode.
Abstract
The read performance of the LSM-tree-based key-value stores (LSM-KVS) faces significant challenges due to increasingly diverse and dynamic workloads. Our study reveals that under various and dynamic workloads, the read performance of LSM-KVS suffers from three static configuration policies, i.e., the static configuration for caching the metadata block (including index block and filter), the static configuration for caching the KV pair and data block, and the static configuration for Scan mode. To address these challenges, we introduce OR-LSM, an adaptively configured LSM-KVS to enhance read performance by dynamically managing caching and Scan mode. First, we propose an adaptive metadata caching mechanism that caches the metadata block in an individual caching component (namely, metadata cache), and adjusts the metadata cache size according to the workload (i.e., the demand for caching the metadata block). Second, we propose an adaptive KV/data caching mechanism that caches the KV pair and the data block in different caching components (namely, the KV cache and data cache), and adaptively adjusts the KV cache size and data cache size according to the workload (i.e., the ratio of the Get number to the Scan number). Third, we propose an adaptive Scan mode adjustment mechanism that selects the Scan mode based on the workload (i.e., the ratio of the Scan-generated I/O number to the Scan request number). We implement OR-LSM and evaluate it under various synthetic and real-world workloads. Experimental results show that OR-LSM outperforms other state-of-the-art systems under various dynamic workloads, achieving up to 2.31× better read performance than RocksDB.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Host-CSD Collaborative Framework for High-Performance LSM-Based KV StoresACM Transactions on Architecture and Code Optimization · 2026
- SR-Gadgets: Make Scan-Resistant Caching PracticalarXiv · 2026
- Performance Analysis of the Randomized SIEVE/CLOCK Cache Replacement AlgorithmProceedings of the ACM on Measurement and Analysis of Computing Systems · 2026
- The Storage View Of KV Cache: Characterizing Cache Behavior Across LLM WorkloadsarXiv · 2026
- KVStream: Adaptive Parallel Storage Management for KV Caching in Large-Scale LLM ServingarXiv · 2026
- DiaLSM: Towards Write-Stall-Free Performance via Shard-based LSM-treearXiv · 2026