arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.15130cs.DBcs.AIcs.LG
收藏

CAMAL:通过主动学习优化LSM-tree

CAMAL: Optimizing LSM-trees via Active Learning

Nanyang Technological University(南洋理工大学)

Weiping Yu, Siqiang Luo, Zihao Yu, Gao Cong

AI总结:

本文提出新方法Camal,首次将主动学习与成本模型结合用于优化LSM-tree结构,支持参数解耦调整、增量更新和动态在线调优,集成至RocksDB后系统性能平均提升28%、最高达8倍。

摘要:

我们使用机器学习来优化LSM-tree结构,旨在降低处理各种读写操作的成本。我们引入了一种新方法Camal,它具有以下特性:(1)ML辅助:Camal是首次尝试将主动学习应用于调整基于LSM-tree的键值存储。学习过程与传统成本模型相结合以改进训练过程;(2)解耦的主动学习:在严谨分析的支持下,Camal采用基于每个参数解耦调整的主动学习范式,进一步加速了学习过程;(3)易于外推:Camal采用有效机制,随着数据规模的增长增量更新模型;(4)动态模式:Camal能够在动态变化的工作负载下在线调整LSM-tree;(5)显著的系统改进:通过将Camal集成到完整系统RocksDB中,与最先进的RocksDB设计相比,系统性能平均提升28%,最高达8倍。

英文摘要:

We use machine learning to optimize LSM-tree structure, aiming to reduce the cost of processing various read/write operations. We introduce a new approach Camal, which boasts the following features: (1) ML-Aided: Camal is the first attempt to apply active learning to tune LSM-tree based key-value stores. The learning process is coupled with traditional cost models to improve the training process; (2) Decoupled Active Learning: backed by rigorous analysis, Camal adopts active learning paradigm based on a decoupled tuning of each parameter, which further accelerates the learning process; (3) Easy Extrapolation: Camal adopts an effective mechanism to incrementally update the model with the growth of the data size; (4) Dynamic Mode: Camal is able to tune LSM-tree online under dynamically changing workloads; (5) Significant System Improvement: By integrating Camal into a full system RocksDB, the system performance improves by 28% on average and up to 8x compared to a state-of-the-art RocksDB design.

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

↑