白盒绩效影响模型:一种分析和学习方法
White-Box Performance-Influence Models: A Profiling and Learning Approach
摘要:
许多现代软件系统是高度可配置的,允许用户调整它们的性能等。当前的性能建模方法旨在通过以黑盒方式构建性能模型来找到性能最优的配置。虽然这些模型提供了准确的估计,但它们无法将观察到的性能行为的原因精确地定位到特定的代码区域。这不仅妨碍了对系统的理解,而且使跟踪配置选项对各个方法的影响变得复杂。我们提出了一个白盒方法,模型配置相关的性能行为在方法级别。这使我们能够预测配置决策对单个方法的影响,支持系统理解和性能调试。该方法包括两个步骤:首先,我们使用粗粒度的分析器,并学习所有方法的性能影响模型,可能会识别出一些对配置和性能高度敏感的方法,从而导致预测不准确。其次,我们使用细粒度的分析器重新测量这些方法,并以更高的成本学习更准确的模型。通过9个真实的Java软件系统,我们证明了我们的方法可以有效地识别配置相关的方法,并学习准确的性能影响模型。
英文摘要:
Many modern software systems are highly configurable, allowing the user to tune them for performance and more. Current performance modeling approaches aim at finding performance-optimal configurations by building performance models in a black-box manner. While these models provide accurate estimates, they cannot pinpoint causes of observed performance behavior to specific code regions. This does not only hinder system understanding, but it also complicates tracing the influence of configuration options to individual methods. We propose a white-box approach that models configuration-dependent performance behavior at the method level. This allows us to predict the influence of configuration decisions on individual methods, supporting system understanding and performance debugging. The approach consists of two steps: First, we use a coarse-grained profiler and learn performance-influence models for all methods, potentially identifying some methods that are highly configuration- and performance-sensitive, causing inaccurate predictions. Second, we re-measure these methods with a fine-grained profiler and learn more accurate models, at higher cost, though. By means of 9 real-world Java software systems, we demonstrate that our approach can efficiently identify configuration-relevant methods and learn accurate performance-influence models.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。