arrow
返回

KconfigTune: Automatic Performance Tuning for Linux Kernel Configuration

delete2025-12-17
delete0
PRE
AI
Y
Ying Sun
F
Fangqi Bi
J
J. C. He
S
Shen Qu
Y
Yanjun Wu
P
Pengpeng Hou
DOI:10.1109/TC.2025.3644413delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Linux内核提供了近20,000个配置选项,使其高度可定制化,但也使得手动优化性能极具挑战性。操作环境和负载的多样性进一步限制了静态配置或专家制定的配置的有效性。本文介绍了KconfigTune,一个自动调优系统,它联合优化Linux内核配置选项和系统级参数(例如procfs条目)。我们提出了extconfig来扩展参数搜索空间,并首次解决了自动调优过程中产生的配置依赖关系。为确保内核有效且可启动,我们设计了一个依赖关系自动修复工具和基于GRUB的机制。KconfigTune将调优过程建模为机器学习问题,并应用基于随机森林模型的贝叶斯优化来高效探索广阔且相互依赖的配置空间。与仅关注内核选项或系统参数的先前方法不同,KconfigTune通过联合调优编译时和运行时行为实现了更深层次的集成。实验结果表明,性能显著提升,在UnixBench和LEBench测试中分别比默认配置提高了18.62%和19.92%。与当前最先进技术相比,KconfigTune在这些基准测试中分别超出2.9%和12.69%。消融研究进一步证实,这些提升主要源于内核配置和系统级参数的联合调优。
Keyword:
Kernel
Tuning
Optimization
Bayes methods
Linux
Runtime
System performance
Linear programming
Manuals
Space exploration

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.4K
被引数:
9.8K

机构

C
chinese academy of sciences
学者数:
56.7W
论文数: 45.0W
被引数: 704
引用论文

引用论文

A Survey on Compiler Autotuning using Machine Learning基于机器学习的编译器自动调优研究综述
err2018-09-18
err123
errOAAI
errAshouri, Amir H.; Killian, William; Cavazos, John; Palermo, Gianluca; Silvano, Cristina
err分享
err收藏
Variability-aware parsing in the presence of lexical macros and conditional compilation存在词法宏和条件编译情况下的可变性感知解析
err2011-10-22
err0
PREAI
errChristian Kästner; Paolo G. Giarrusso; Tillmann Rendel; Sebastian Erdweg; Klaus Ostermann; Thorsten Berger
err分享
err收藏
Transfer Learning Across Variants and Versions: The Case of Linux Kernel Size
err2022-11-01
err15
errOAAI
errMartin, Hugo; Acher, Mathieu; Pereira, Juliana Alves; Lesoil, Luc; Jezequel, Jean-Marc; Khelladi, Djamel Eddine
err分享
err收藏
err分享
err收藏
Reducing Configurations to Monitor in a Software Product Line
err2010-01-01
err0
PREAI
errChang Hwan Peter Kim; Eric Bodden; Don Batory; Sarfraz Khurshid
err分享
err收藏
学者 查看更多内容