Adaptive Multi-Core Real- Time Scheduling Based on Reinforcement Learning

Yonghui Liang,Hui Li,Fei Shen,Qimin Xu,Shuna Hua,Shanying Zhu
DOI: https://doi.org/10.1109/icca62789.2024.10591927
2024-01-01
Abstract:With the transformation towards industrial intel-ligence, multi-core processors are increasingly being applied in real-time networked control systems to ensure secure exe-cution of sensing, computing and actuating tasks under time constraints. However, existing scheduling methods result in either low CPU utilization or many missed task deadlines in dynamic systems. In this paper, we propose a two-layer scheduling architecture to address this issue by fully exploring the complex dependency between real-time tasks. To be specific, the local layer determines task execution priorities considering both dependency between tasks and deadline constraints by utilizing a reinforcement learning approach. Moreover, to better utilize the parallel capabilities of multi-core processors and reduce temporal collisions, this paper minimizes the requested core count for the task set based on a greedy strategy. The global layer designs a scheduling algorithm based on the pre-empt method and provides schedulability analysis of multiple task sets. Experimental results validate the correctness of the proposed scheduling approach, and efficiency is demonstrated through comparisons with baseline method.
What problem does this paper attempt to address?