一句话:提出反馈式框架 LLM4Perf,实证表明 LLM 引导采样在多目标性能建模中优于传统基线。
现代软件系统性能高度依赖复杂配置选项,构建精确性能模型需在庞大配置空间中有效采样,而现有方法难以处理多目标优化,也无法利用文档中的语义信息。本文提出 LLM4Perf——一个基于反馈的 LLM 引导采样框架,并在四个高度可配置的真实系统上系统评估其能力与特性。结果显示,LLM 引导方法在大多数场景优于传统基线,在 68.8%(112 个中的 77 个)评估场景中取得最佳性能;其有效性源于 LLM 的配置空间剪枝与反馈驱动策略改进双重能力,剪枝还使基线方法在 91.5%(448 中的 410)情况下性能提升。论文进一步分析了组件选择与超参数的影响,为 LLM 在性能工程中的应用提供了证据与机制洞察。
The performance of modern software systems is critically dependent on their complex configuration options. Building accurate performance models to navigate this vast space requires effective sampling strategies, yet existing methods often struggle with multi-objective optimization and cannot leverage semantic information from documentation. The recent success of Large Language Models (LLMs) motivates the central question of this work: Can LLMs serve as effective samplers for multi-objective performance modeling? To explore this, we present a comprehensive empirical study investigating the capabilities and characteristics of LLM-driven sampling. We design and implement LLM4Perf, a feedback-based framework, and use it to systematically evaluate the LLM-guided sampling process across four highly-configurable, real-world systems. Our study reveals that the LLM-guided approach outperforms traditional baselines in most cases. Quantitatively, LLM4Perf achieves the best performance in nearly 68.8% (77 out of 112) of all evaluation scenarios, demonstrating its superior effectiveness. We find this effectiveness stems from the LLM’s dual capabilities of configuration space pruning and feedback-driven strategy refinement. The effectiveness of this pruning is further validated by the fact that it also improves the performance of the baseline methods in nearly 91.5% (410 out of 448) of cases. Furthermore, we show how the LLM choices for each component and hyperparameters within LLM4Perf affect its effectiveness. Overall, this paper provides strong evidence for the effectiveness of LLMs in performance engineering and offers concrete insights into the mechanisms that drive their success.