Heterogeneous systems commonly adopt dynamic scheduling algorithms to improve resource utilization and enhance scheduling flexibility. However, such flexibility may introduce timing anomalies, wherein locally reduced execution times can lead to an increase in the overall system execution time. This phenomenon significantly complicates the analysis of Worst-Case Response Time (WCRT), rendering conventional analysis either overly pessimistic or unsafe, and often necessitating exhaustive state-space exploration to ensure correctness.
To address this challenge, this paper presents the first timing-anomaly-free dynamic scheduling algorithm for heterogeneous systems, referred to as Deterministic Dynamic Execution. It achieves a safe and tight WCRT estimate through a single offline simulation execution. The core idea is to apply deterministic execution constraints, which partially restrict the resource allocation and execution order of tasks at runtime. Based on a formally defined execution progress model for heterogeneous system scheduling, we prove the correctness of the proposed execution constraints and their ability to eliminate timing anomalies. Furthermore, we propose two methods to generate execution constraints. The first method derives execution constraints directly from the execution traces produced by existing scheduling algorithms. The second method is a heuristic-based approach that constructs execution constraints, enabling further reduction of the WCRT. Experimental results on synthetically generated DAG task sets under various system configurations demonstrate that, compared to traditional dynamic scheduling algorithms, our approach not only eliminates timing anomalies but also effectively reduces both the WCRT and response time jitter.
Scheduling Cause-Effect Chains without Timing Anomalies in End-to-End Latency
University of Science and Technology of China(中国科学技术大学);Suzhou Institute for Advanced Research, University of Science and Technology of China(中国科学技术大学苏州高等研究院)
A Fast Dynamic Internal Predictive Power Scheduling Approach for Power Management in Microgrids
Indian Institute of Science(印度科学学院);National Renewable Energy Laboratory(美国国家可再生能源实验室);TVS Sensing Solutions(TVS传感解决方案);Nanyang Technological University(南洋理工大学)
MERIS: Adaptive Real-Time Scheduling of Refined Inference DAGs in Dynamic Robotic Environments
University of California, Riverside(加州大学河滨分校);University of Pittsburgh(匹兹堡大学);University of Maryland, Baltimore County(马里兰大学巴尔的摩县分校);University of Macau(澳门大学)