arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.02066cs.SE
收藏

ConfigCrusher:面向可配置系统的白盒性能分析

ConfigCrusher: Towards White-Box Performance Analysis for Configurable Systems

Miguel Velez, Pooyan Jamshidi, Florian Sattler, Norbert Siegmund, Sven Apel, Christian Kastner

摘要:

可配置系统的利益相关者通常有兴趣了解配置选项如何影响系统的性能,以促进例如这些系统的调试和优化过程。可以使用几种黑盒方法来获得这些信息,但它们要么对大量配置进行采样以进行准确的预测,要么在对少数配置进行采样时错过重要的性能影响交互。此外,黑盒方法无法精确定位系统中导致配置之间性能差异的部分。本文提出了ConfigCrusher,这是一种白盒性能分析,它检查系统的实现以指导性能分析,在此过程中利用了可配置系统的几个见解。ConfigCrusher采用静态数据流分析来识别配置选项如何影响控制流语句,并与这些语句相对应的仪器代码区域,以动态分析配置选项对区域性能的影响。我们对10个可配置系统的评估表明,我们的白盒方法可以更有效地构建性能影响模型,这些模型与当前最先进的方法相似或更准确。总的来说,我们展示了白盒性能分析的好处,以及它们超越黑盒方法的潜力,并为分析可配置系统提供了额外的信息。

英文摘要:

Stakeholders of configurable systems are often interested in knowing how configuration options influence the performance of a system to facilitate, for example, the debugging and optimization processes of these systems. Several black-box approaches can be used to obtain this information, but they either sample a large number of configurations to make accurate predictions or miss important performance-influencing interactions when sampling few configurations. Furthermore, black-box approaches cannot pinpoint the parts of a system that are responsible for performance differences among configurations. This article proposes ConfigCrusher, a white-box performance analysis that inspects the implementation of a system to guide the performance analysis, exploiting several insights of configurable systems in the process. ConfigCrusher employs a static data-flow analysis to identify how configuration options may influence control-flow statements and instruments code regions, corresponding to these statements, to dynamically analyze the influence of configuration options on the regions' performance. Our evaluation on 10 configurable systems shows the feasibility of our white-box approach to more efficiently build performance-influence models that are similar to or more accurate than current state of the art approaches. Overall, we showcase the benefits of white-box performance analyses and their potential to outperform black-box approaches and provide additional information for analyzing configurable systems.

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

↑