arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.20445eess.SYcs.SY
收藏

无定时异常的异构系统动态调度

A Timing-Anomaly Free Dynamic Scheduling on Heterogeneous Systems

University of Science and Technology of China (USTC)(中国科学技术大学);Suzhou Institute for Advanced Research, USTC(苏州高等研究院)

Yixuan Zhu, Yinkang Gao, Lei Gong, Binze Jiang, Xiaohang Gong, Zihan Wang, Cheng Tang, Wenqi Lou, Teng Wang, Chao Wang, Xi Li, Xuehai Zhou

AI总结:

本文提出无定时异常的异构系统动态调度算法,通过确定性执行约束实现安全且紧的WCRT估计,有效减少响应时间抖动。

摘要:

异构系统通常采用动态调度算法来提高资源利用率并增强调度灵活性。然而,这种灵活性可能会引入定时异常,其中局部减少的执行时间可能导致整体系统执行时间的增加。这种现象显著复杂化了最坏响应时间(WCRT)的分析,使传统分析要么过于悲观或不安全,通常需要彻底的状态空间探索以确保正确性。为了解决这一挑战,本文提出了第一个无定时异常的动态调度算法,称为确定性动态执行。它通过单次离线模拟执行实现安全且紧密的WCRT估计。核心思想是应用确定性执行约束,这在运行时部分限制了任务的资源分配和执行顺序。基于形式定义的异构系统调度执行进度模型,我们证明了所提出执行约束的正确性及其消除定时异常的能力。此外,我们提出了两种生成执行约束的方法。第一种方法直接从现有调度算法生成的执行轨迹中推导出执行约束。第二种方法是一种基于启发式的途径,构建执行约束,从而进一步减少WCRT。在合成生成的DAG任务集上各种系统配置的实验结果表明,与传统动态调度算法相比,我们的方法不仅消除了定时异常,还有效减少了WCRT和响应时间抖动。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑