arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2202.05223cs.SE
收藏

Reliabuild:使用主动学习搜索高保真构建

Reliabuild: Searching for High-Fidelity Builds Using Active Learning

Harshitha Menon, Konstantinos Parasyris, Tom Scogland, Todd Gamblin

摘要:

现代软件非常复杂。一个典型的应用程序可能包括数百或数千个可重用组件。自动化的包管理器可以帮助维护一组一致的依赖版本,但最终这些系统中的求解器依赖于人工生成的约束。在大规模下,小的误差会累积起来,并且越来越难以找到高保真的配置。我们无法测试所有配置,因为空间是组合的,因此详尽的探索是不可行的。在本文中,我们提出了Reliabuild,一个自动调优框架,有效地探索构建配置空间,并了解哪些包版本可能会导致成功的配置。我们在Reliabuild中实现了两个模型来对不同的配置进行排名,并使用自适应采样来选择具有较少样本的良好配置。我们通过评估来自极端规模科学软件栈(E4 S)的61个软件包的31,186个构建配置来证明Reliabuild的有效性。Reliabuild有效地选择了良好的配置。例如,Reliabuild选择了3倍于随机抽样的良好配置数量,包括Abyss,Bolt,libnrm,OpenMPI。我们的框架还能够以Chai、OpenMPI、py-petsc 4py和slepc等包随机抽样所需样本数量的一半来选择所有高保真构建。我们进一步使用该模型来学习有关不同包的兼容性的统计信息,这将使包求解器能够更好地自动选择高保真构建配置。

英文摘要:

Modern software is incredibly complex. A typical application may comprise hundreds or thousands of reusable components. Automated package managers can help to maintain a consistent set of dependency versions, but ultimately the solvers in these systems rely on constraints generated by humans. At scale, small errors add up, and it becomes increasingly difficult to find high-fidelity configurations. We cannot test all configurations, because the space is combinatorial, so exhaustive exploration is infeasible. In this paper, we present Reliabuild, an auto-tuning framework that efficiently explores the build configuration space and learns which package versions are likely to result in a successful configuration. We implement two models in Reliabuild to rank the different configurations and use adaptive sampling to select good configurations with fewer samples. We demonstrate Reliabuild's effectiveness by evaluating 31,186 build configurations of 61 packages from the Extreme-scale Scientific Software Stack(E4S). Reliabuild selects good configurations efficiently. For example, Reliabuild selects 3X the number of good configurations in comparison to random sampling for several packages including Abyss, Bolt, libnrm, OpenMPI. Our framework is also able to select all the high-fidelity builds in half the number of samples required by random sampling for packages such as Chai, OpenMPI, py-petsc4py, and slepc. We further use the model to learn statistics about the compatibility of different packages, which will enable package solvers to better select high-fidelity build configurations automatically.

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

↑