TY - JOUR
T1 - Probabilistic Safe WCET Estimation for Weakly Hard Real-time Systems at Design Stages
AU - Lee, Jaekwon
AU - Shin, Seung Yeob
AU - Briand, Lionel C.
AU - Nejati, Shiva
N1 - Publisher Copyright:
© 2023 Copyright held by the owner/author(s).
PY - 2023/12/21
Y1 - 2023/12/21
N2 - Weakly hard real-time systems can, to some degree, tolerate deadline misses, but their schedulability still needs to be analyzed to ensure their quality of service. Such analysis usually occurs at early design stages to provide implementation guidelines to engineers so they can make better design decisions. Estimating worstcase execution times (WCET) is a key input to schedulability analysis. However, early on during system design, estimating WCET values is challenging, and engineers usually determine them as plausible ranges based on their domain knowledge. Our approach aims at finding restricted, safe WCET sub-ranges given a set of ranges initially estimated by experts in the context of weakly hard real-time systems. To this end, we leverage (1) multi-objective search aiming at maximizing the violation of weakly hard constraints to find worst-case scheduling scenarios and (2) polynomial logistic regression to infer safe WCET ranges with a probabilistic interpretation. We evaluated our approach by applying it to an industrial system in the satellite domain and several realistic synthetic systems. The results indicate that our approach significantly outperforms a baseline relying on random search without learning and estimates safeWCET ranges with a high degree of confidence in practical time (< 23 h).
AB - Weakly hard real-time systems can, to some degree, tolerate deadline misses, but their schedulability still needs to be analyzed to ensure their quality of service. Such analysis usually occurs at early design stages to provide implementation guidelines to engineers so they can make better design decisions. Estimating worstcase execution times (WCET) is a key input to schedulability analysis. However, early on during system design, estimating WCET values is challenging, and engineers usually determine them as plausible ranges based on their domain knowledge. Our approach aims at finding restricted, safe WCET sub-ranges given a set of ranges initially estimated by experts in the context of weakly hard real-time systems. To this end, we leverage (1) multi-objective search aiming at maximizing the violation of weakly hard constraints to find worst-case scheduling scenarios and (2) polynomial logistic regression to infer safe WCET ranges with a probabilistic interpretation. We evaluated our approach by applying it to an industrial system in the satellite domain and several realistic synthetic systems. The results indicate that our approach significantly outperforms a baseline relying on random search without learning and estimates safeWCET ranges with a high degree of confidence in practical time (< 23 h).
KW - Worst-case execution time
KW - meta-heuristic search
KW - weakly hard real-time systems
UR - http://www.scopus.com/inward/record.url?scp=85183322573&partnerID=8YFLogxK
U2 - 10.1145/3617176
DO - 10.1145/3617176
M3 - Article
AN - SCOPUS:85183322573
SN - 1049-331X
VL - 33
JO - ACM Transactions on Software Engineering and Methodology
JF - ACM Transactions on Software Engineering and Methodology
IS - 2
M1 - 32
ER -