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

被引:43
作者
Abella, Jaume [1 ,4 ]
Padilla, Maria [2 ]
Del Castillo, Joan [2 ]
Cazorla, Francisco J. [1 ,3 ,4 ]
机构
[1] BSC, Barcelona, Spain
[2] Univ Autonoma Barcelona, Dept Math, Cerdanyola Del Valles 08193, Spain
[3] IIIA CSIC, Barcelona, Spain
[4] Nexus 2 Bldg,C Jordi Girona 29, Barcelona 08034, Spain
关键词
Worst-case execution time; extreme value theory; probabilistic analysis; randomisation;
D O I
10.1145/3065924
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页数:29
相关论文
共 35 条
  • [21] Reliability Test based on a Binomial Experiment for Probabilistic Worst-Case Execution Times
    Arcaro, Luis Fernando
    Silva, Karila Palma
    de Oliveira, Romulo Silva
    Almeida, Luis
    [J]. 2020 IEEE 41ST REAL-TIME SYSTEMS SYMPOSIUM (RTSS), 2020, : 51 - 62
  • [22] On the use of static branch prediction to reduce the worst-case execution time of real-time applications
    Andreu Carminati
    Renan Augusto Starke
    Rômulo Silva de Oliveira
    [J]. Real-Time Systems, 2018, 54 : 537 - 561
  • [23] On the use of static branch prediction to reduce the worst-case execution time of real-time applications
    Carminati, Andreu
    Starke, Renan Augusto
    de Oliveira, Romulo Silva
    [J]. REAL-TIME SYSTEMS, 2018, 54 (03) : 537 - 561
  • [24] Improving the worst-case execution time accuracy by inter-task instruction cache analysis
    Nemer, Fadia
    Casse, Hugues
    Sainrat, Pascal
    Awada, Ali
    [J]. 2007 INTERNATIONAL SYMPOSIUM ON INDUSTRIAL EMBEDDED SYSTEMS, 2007, : 25 - +
  • [25] Complete worst-case execution time analysis of straight-line hard real-time programs
    Stappert, F
    Altenbernd, P
    [J]. JOURNAL OF SYSTEMS ARCHITECTURE, 2000, 46 (04) : 339 - 355
  • [26] Worst Case Execution Time Analysis of Automotive Software
    Chattopadhyay, Sneha
    Tresina, M. J.
    Narayan, Shankar
    [J]. INTERNATIONAL CONFERENCE ON COMMUNICATION TECHNOLOGY AND SYSTEM DESIGN 2011, 2012, 30 : 983 - 988
  • [27] Simple Analysis of Partial Worst-case Execution Paths on General Control Flow Graphs
    Kleinsorge, Jan C.
    Falk, Heiko
    Marwedel, Peter
    [J]. 2013 PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE (EMSOFT), 2013,
  • [28] Class-based Query-Optimization for Minimizing Worst-Case Execution Times of Diagnostic Queries in Embedded Real-Time Systems
    Tabassam, Nadra
    Obermaisser, Roman
    [J]. 2017 IEEE 15TH INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), 2017, : 653 - 658
  • [29] Worst case execution time analysis for a processor with branch prediction
    Colin, A
    Puaut, I
    [J]. REAL-TIME SYSTEMS, 2000, 18 (2-3) : 249 - 274
  • [30] Worst Case Execution Time Analysis for a Processor with Branch Prediction
    Antoine Colin
    Isabelle Puaut
    [J]. Real-Time Systems, 2000, 18 : 249 - 274