Open this publication in new window or tab >>2021 (English)In: Proceedings - 2021 IEEE 27th International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA 2021, Institute of Electrical and Electronics Engineers Inc. , 2021, p. 1-10Conference paper, Published paper (Refereed)
Abstract [en]
In the recent works that analyzed execution-time variation of real-time tasks, it was shown that such variation may conform to regular behavior. This regularity may arise from multiple sources, e.g., due to periodic changes in hardware or program state, program structure, inter-task dependence or inter-task interference. Such complexity can be better captured by a Markov Model, compared to the common approach of assuming independent and identically distributed random variables. However, despite the regularity that may be described with a Markov model, over time, the execution times may change, due to irregular changes in input, hardware state, or program state. In this paper, we propose a Bayesian approach to adapt the emission distributions of the Markov Model at runtime, in order to account for such irregular variation. A preprocessing step determines the number of states and the transition matrix of the Markov Model from a portion of the execution time sequence. In the preprocessing step, segments of the execution time trace with similar properties are identified and combined into clusters. At runtime, the proposed method switches between these clusters based on a Generalized Likelihood Ratio (GLR). Using a Bayesian approach, clusters are updated and emission distributions estimated. New clusters can be identified and clusters can be merged at runtime. The time complexity of the online step is $O(N^{2}+ NC)$ where N is the number of states in the Hidden Markov Model (HMM) that is fixed after the preprocessing step, and C is the number of clusters.
Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers Inc., 2021
Keywords
Bayesian Analysis, Hidden Markov Model, Probabilistic Timing Analysis, Real-time systems, Bayesian networks, Hidden Markov models, Interactive computer systems, Timing circuits, Bayesian approaches, Hidden-Markov models, Markov modeling, Pre-processing step, Probabilistic timing analyse, Probabilistics, Program state, Real - Time system, Timing Analysis, Real time systems
National Category
Computer Sciences Embedded Systems
Identifiers
urn:nbn:se:mdh:diva-56271 (URN)10.1109/RTCSA52859.2021.00008 (DOI)000723595900001 ()2-s2.0-85116666155 (Scopus ID)9781665441889 (ISBN)
Conference
27th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, RTCSA 2021, 18 August 2021 through 20 August 2021
2021-10-222021-10-222025-03-18Bibliographically approved