Measurement-Based Worst-Case Execution Time Estimation Using the Coefficient of Variation

Author:

Abella Jaume1,Padilla Maria2,Castillo Joan Del2,Cazorla Francisco J.3

Affiliation:

1. Barcelona Supercomputing Center (BSC), Spain

2. Universitat Autònoma de Barcelona, Departament de Matemàtiques, Barcelona, Spain

3. IIIA-CSIC and BSC

Abstract

Extreme Value Theory (EVT) has been historically used in domains such as finance and hydrology to model worst-case events (e.g., major stock market incidences). EVT takes as input a sample of the distribution of the variable to model and fits the tail of that sample to either the Generalised Extreme Value (GEV) or the Generalised Pareto Distribution (GPD). Recently, EVT has become popular in real-time systems to derive worst-case execution time (WCET) estimates of programs. However, the application of EVT is not straightforward and requires a detailed analysis of, and customisation for, the particular problem at hand. In this article, we tailor the application of EVT to timing analysis. To that end, (1) we analyse the response time of different hardware resources (e.g., cache memories) and identify those that may lead to radically different types of execution time distributions. (2) We show that one of these distributions, known as mixture distribution, causes problems in the use of EVT. In particular, mixture distributions challenge not only properly selecting GEV/GPD parameters (i.e., location, scale and shape) but also determining the size of the sample to ensure that enough tail values are passed to EVT and that only tail values are used by EVT to fit GEV/GPD. Failing to select these parameters has a negative impact on the quality of the derived WCET estimates. We tackle these problems, by (3) proposing Measurement-Based Probabilistic Timing Analysis using the Coefficient of Variation (MBPTA-CV), a new mixture-distribution aware, WCET-suited MBPTA method that builds on recent EVT developments in other fields (e.g., finance) to automatically select the distribution parameters that best fit the maxima of the observed execution times. Our results on a simulation environment and a real board show that MBPTA-CV produces high-quality WCET estimates.

Funder

European Community’s

PROXIMA Project

Spanish Ministry of Science and Innovation

HiPEAC Network of Excellence

Ministry of Economy and Competitiveness under Ramon y Cajal postdoctoral fellowship

Publisher

Association for Computing Machinery (ACM)

Subject

Electrical and Electronic Engineering,Computer Graphics and Computer-Aided Design,Computer Science Applications

Cited by 43 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. A Human-Augmenting Resource/Performance Co-Design Tool for Real-Time Distributed Control Systems;IEEE Transactions on Systems, Man, and Cybernetics: Systems;2024-08

2. Robust Resource Bounds with Static Analysis and Bayesian Inference;Proceedings of the ACM on Programming Languages;2024-06-20

3. WCET estimation using support vector regression based on Legendre orthogonal kernel functions;2024 20th CSI International Symposium on Artificial Intelligence and Signal Processing (AISP);2024-02-21

4. Probabilistic Safe WCET Estimation for Weakly Hard Real-time Systems at Design Stages;ACM Transactions on Software Engineering and Methodology;2023-12-21

5. What Really is pWCET? A Rigorous Axiomatic Proposal;2023 IEEE Real-Time Systems Symposium (RTSS);2023-12-05

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3