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
相关论文
共 50 条
  • [1] Measurement-based worst-case execution time analysis
    Wenzel, I
    Kirner, R
    Rieder, B
    Puschner, P
    THIRD IEEE WORKSHOP ON SOFTWARE TECHNOLOGIES FOR FUTURE EMBEDDED AND UBIQUITOUS SYSTEMS, PROCEEDINGS, 2005, : 7 - 10
  • [2] Context-Sensitive Measurement-Based Worst-Case Execution Time Estimation
    Zolda, Michael
    Buente, Sven
    Kirner, Raimund
    2011 IEEE 17TH INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS (RTCSA 2011), VOL 1, 2011, : 243 - 250
  • [3] Open Challenges for Probabilistic Measurement-Based Worst-Case Execution Time
    Gil, Samuel Jimenez
    Bate, Iain
    Lima, George
    Santinelli, Luca
    Gogonel, Adriana
    Cucu-Grosjean, Liliana
    IEEE EMBEDDED SYSTEMS LETTERS, 2017, 9 (03) : 69 - 72
  • [4] Worst-Case Measurement-Based Statistical Tool
    Zaykov, Pavel G.
    Kubalcik, Jan
    2019 IEEE AEROSPACE CONFERENCE, 2019,
  • [5] Worst-Case Execution Time Estimation for Numerical Controllers
    Susca, Mircea
    Mihaly, Vlad
    Morar, Dora
    Dobra, Petru
    PROCEEDINGS OF 2022 IEEE INTERNATIONAL CONFERENCE ON AUTOMATION, QUALITY AND TESTING, ROBOTICS (AQTR 2022), 2022, : 401 - 406
  • [6] The Heptane static worst-case execution time estimation tool
    Hardy, Damien
    Rouxel, Benjamin
    Puaut, Isabelle
    OpenAccess Series in Informatics, 2017, 57 : 81 - 812
  • [7] Survey of Cache analysis for worst-case execution time estimation
    Lü, Ming-Song
    Guan, Nan
    Wang, Yi
    Ruan Jian Xue Bao/Journal of Software, 2014, 25 (02): : 179 - 199
  • [8] An Overview of Worst-Case Execution Time Estimation for Embedded Programs
    Kong, Liangliang
    Shi Linxiang
    Chen, Lin
    MATERIAL SCIENCE, CIVIL ENGINEERING AND ARCHITECTURE SCIENCE, MECHANICAL ENGINEERING AND MANUFACTURING TECHNOLOGY II, 2014, 651-653 : 624 - 629
  • [9] Algorithm Classification Using Worst-Case Execution Time
    Mehrotra, Mudit
    Goel, Ankur
    Agarwal, Nipun
    Bindu, M. Hima
    Sharma, Bhudev
    2009 2ND IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY, VOL 3, 2009, : 286 - +
  • [10] Using measurements to derive the worst-case execution time
    Lindgren, M
    Hansson, H
    Thane, H
    SEVENTH INTERNATIONAL CONFERENCE ON REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS, PROCEEDINGS, 2000, : 15 - 22