arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.05439cs.DB
收藏

O^3-LSM:通过三层卸载最大化离散化LSM写性能

O^3-LSM: Maximizing Disaggregated LSM Write Performance via Three-Layer Offloading

Arizona State University(亚利桑那州立大学);Purdue University(普渡大学);Google(谷歌)

Qi Lin, Gangqi Huang, Te Guo, Chang Guo, Viraj Thakkar, Zichen Zhu, Jianguo Wang, Zhichao Cao

AI总结:

O3-LSM通过三层卸载技术提升离散化LSM写性能,实现4.5倍写入速度和76%延迟降低。

摘要:

基于日志结构合并树的键值存储(LSM-KVS)已通过诸如压缩卸载等技术优化和重新设计,以通过减少计算与存储之间的网络I/O来实现离散化存储。然而,受限的内存空间和计算节点的缓慢刷新严重限制了现有优化的总体写吞吐量。在本文中,我们提出O3-LSM,一种新的LSM-KVS架构,它利用共享的离散化内存(DM)来支持三层卸载,即内存表卸载、刷新卸载和现有的压缩卸载。与仅具有压缩卸载的现有离散化LSM-KVS相比,O3-LSM通过解决上述问题来最大化写性能。O3-LSM首先利用一种新型的DM优化内存表来实现动态内存表卸载,这扩展了写缓冲区并使内存表传输能够快速、异步和并行进行。其次,我们提出了协同刷新卸载,将刷新控制平面与执行分离,并支持在任何节点上通过专用调度和全局优化进行内存表刷新卸载。第三,O3-LSM进一步通过分片级优化得到改进,该优化根据不相交的键范围将内存表分片,可以独立传输和刷新,从而在分片之间解锁并行性。此外,为了缓解离散化设置中的缓慢查找,O3-LSM还采用了一种自适应的缓存增强读委托机制,将紧凑的本地缓存与DM辅助的内存表委托读相结合。我们的评估显示,O3-LSM在写入、范围查询和点查找吞吐量方面分别提高了4.5倍、5.2倍和1.8倍,并与Disaggregated-RocksDB、CaaS-LSM和Nova-LSM相比,P99延迟降低了76%。

英文摘要:

Log-Structured Merge-tree-based Key-Value Stores (LSM-KVS) have been optimized and redesigned for disaggregated storage via techniques such as compaction offloading to reduce the network I/Os between compute and storage. However, the constrained memory space and slow flush at the compute node severely limit the overall write throughput of existing optimizations. In this paper, we propose O3-LSM, a fundamental new LSM-KVS architecture, that leverages the shared Disaggregated Memory (DM) to support a three-layer offloading, i.e., memtable Offloading, flush Offloading, and the existing compaction Offloading. Compared to the existing disaggregated LSM-KVS with compaction offloading only, O3-LSM maximizes the write performance by addressing the above issues. O3-LSM first leverages a novel DM-Optimized Memtable to achieve dynamic memtable offloading, which extends the write buffer while enabling fast, asynchronous, and parallel memtable transmission. Second, we propose Collaborative Flush Offloading that decouples the flush control plane from execution and supports memtable flush offloading at any node with dedicated scheduling and global optimizations. Third, O3-LSM is further improved with the Shard-Level Optimization, which partitions the memtable into shards based on disjoint key-ranges that can be transferred and flushed independently, unlocking parallelism across shards. Besides, to mitigate slow lookups in the disaggregated setting, O3-LSM also employs an adaptive Cache-Enhanced Read Delegation mechanism to combine a compact local cache with DM-assisted memtable delegated read. Our evaluation shows that O3-LSM achieves up to 4.5X write, 5.2X range query, and 1.8X point lookup throughput improvement, and up to 76% P99 latency reduction compared with Disaggregated-RocksDB, CaaS-LSM, and Nova-LSM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑