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

基于参数自回归的建筑性能模型增量标定

Incremental Calibration of Architectural Performance Models with Parametric Dependencies

Manar Mazkatli, David Monschein, Johannes Grohmann, Anne Koziolek

摘要:

基于体系结构的性能预测(AbPP)允许评估系统的性能,并回答假设问题,而无需测量所有替代方案。创建模型时的一个困难是性能模型参数(PMP,如资源需求、循环迭代次数和分支概率)取决于各种影响因素,如输入数据、使用的硬件和应用的工作负载。为了实现广泛的假设问题,性能模型(PM)需要具有超出测量的预测能力,以校准模型。因此,PMP需要根据可能变化的影响因素进行参数化。现有的方法允许通过测量整个系统来估计参数化PMP。因此,它们的成本太高,以至于不能经常应用,直到每次代码更改之后。在重新校准时,他们也不保留对模型的手动更改。在这项工作中,我们提出了持续集成的性能模型(CIPM),增量提取和校准的性能模型,包括参数依赖。CIPM通过更新PM和自适应地检测更改的部分来响应源代码更改。为了允许AbPP,CIPM使用测量(由性能测试或在生产中执行系统生成)和统计分析来估计参数化PMP,例如,回归分析和决策树。此外,我们的方法还能响应生产变化(例如,负载或部署变化),并相应地校准PM的使用和部署部分。为了进行评估,我们使用了两个案例研究。评估结果表明,我们能够增量和准确地校准PM。

英文摘要:

Architecture-based Performance Prediction (AbPP) allows evaluation of the performance of systems and to answer what-if questions without measurements for all alternatives. A difficulty when creating models is that Performance Model Parameters (PMPs, such as resource demands, loop iteration numbers and branch probabilities) depend on various influencing factors like input data, used hardware and the applied workload. To enable a broad range of what-if questions, Performance Models (PMs) need to have predictive power beyond what has been measured to calibrate the models. Thus, PMPs need to be parametrized over the influencing factors that may vary. Existing approaches allow for the estimation of parametrized PMPs by measuring the complete system. Thus, they are too costly to be applied frequently, up to after each code change. They do not keep also manual changes to the model when recalibrating. In this work, we present the Continuous Integration of Performance Models (CIPM), which incrementally extracts and calibrates the performance model, including parametric dependencies. CIPM responds to source code changes by updating the PM and adaptively instrumenting the changed parts. To allow AbPP, CIPM estimates the parametrized PMPs using the measurements (generated by performance tests or executing the system in production) and statistical analysis, e.g., regression analysis and decision trees. Additionally, our approach responds to production changes (e.g., load or deployment changes) and calibrates the usage and deployment parts of PMs accordingly. For the evaluation, we used two case studies. Evaluation results show that we were able to calibrate the PM incrementally and accurately.

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

↑