McSad: A Monte Carlo-based End-to-end Scheduling Anomaly Detection Method for Distributed Real-Time Systems

Xianchen Shi,Yian Zhu,Lian Li,Jiayu Li
DOI: https://doi.org/10.1016/j.simpat.2023.102746
IF: 4.199
2023-01-01
Simulation Modelling Practice and Theory
Abstract:A scheduling anomaly is a counter-intuitive timing behavior that seriously jeopardizes the system. Although several types of scheduling anomaly have been proposed and their effects researched, no research has been done on scheduling anomalies for end-to-end latency analysis. In this paper, we extend the concept of scheduling anomalies to end-to-end analysis and formally define these anomalies in terms of their cause–effect job chain response time. To detect end-to-end scheduling anomalies, we propose a Monte Carlo-based scheduling anomaly detection method that involves a controlled trade-off between the degree of accuracy and analysis runtime. Firstly, we create a stochastic system model using a probability distribution function instead of the WCET and propose different sampling methods for the model. Finally, we implement a system framework simulation by updating the system. The effectiveness of the proposed approach is evaluated by experiments with stochastic task models subject to different distribution functions. In addition, the experimental results show that the method has similar time-consuming for task execution time followed different distribution functions.
What problem does this paper attempt to address?