StorageXTuner:一种由LLM智能体驱动的异构存储系统自动调优框架
StorageXTuner: An LLM Agent-Driven Automatic Tuning Framework for Heterogeneous Storage Systems
AI总结:
针对存储系统自动调优参数空间大、现有方法跨系统复用性弱等问题,提出由四个LLM智能体协同的StorageXTuner框架,结合洞见驱动树搜索与分层内存,在多存储引擎上实现了吞吐量提升、延迟降低与更快收敛。
摘要:
自动配置存储系统难度很大:参数空间庞大,且工作负载、部署环境和版本不同时,条件也存在差异。启发式和机器学习调优器通常是系统特定的,需要手动编写衔接代码,且在环境变化时性能会下降。近期基于大语言模型(LLM)的方法有所帮助,但通常将调优视为一次性、特定系统的任务,这限制了跨系统复用,约束了探索范围,也削弱了验证效果。我们提出了StorageXTuner,这是一种面向异构存储引擎、由LLM智能体驱动的自动调优框架。StorageXTuner将职责拆分到四个智能体:执行器(Executor,负责沙箱化基准测试)、提取器(Extractor,负责生成性能摘要)、搜索器(Searcher,负责基于洞见的配置探索)和反思器(Reflector,负责洞见生成与管理)。该设计将洞见驱动的树搜索与分层内存相结合,分层内存会推广经过实验验证的洞见,并采用轻量检查器防范不安全操作。我们实现了一个原型系统,并在RocksDB、LevelDB、CacheLib和MySQL InnoDB上使用YCSB、MixGraph和TPC-H/C进行了评估。相较于开箱设置和ELMo-Tune,StorageXTuner的吞吐量最高分别提升575%和111%,p99延迟最高分别降低88%和56%,且能以更少的试验次数收敛。
英文摘要:
Automatically configuring storage systems is hard: parameter spaces are large and conditions vary across workloads, deployments, and versions. Heuristic and ML tuners are often system specific, require manual glue, and degrade under changes. Recent LLM-based approaches help but usually treat tuning as a single-shot, system-specific task, which limits cross-system reuse, constrains exploration, and weakens validation. We present StorageXTuner, an LLM agent-driven auto-tuning framework for heterogeneous storage engines. StorageXTuner separates concerns across four agents - Executor (sandboxed benchmarking), Extractor (performance digest), Searcher (insight-guided configuration exploration), and Reflector (insight generation and management). The design couples an insight-driven tree search with layered memory that promotes empirically validated insights and employs lightweight checkers to guard against unsafe actions. We implement a prototype and evaluate it on RocksDB, LevelDB, CacheLib, and MySQL InnoDB with YCSB, MixGraph, and TPC-H/C. Relative to out-of-the-box settings and to ELMo-Tune, StorageXTuner reaches up to 575% and 111% higher throughput, reduces p99 latency by as much as 88% and 56%, and converges with fewer trials.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。