Issue No. 12 - December (1995 vol. 44)

ISSN: 0018-9340

pp: 1405-1419

DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/12.477246

ABSTRACT

<p><it>Abstract</it>—This paper considers the problem of scheduling both periodic and aperiodic tasks in real-time systems. A new, called <it>reservation-based</it> (RB), algorithm is proposed for ordering the execution of real-time tasks. This algorithm can guarantee all periodic-task deadlines while minimizing the probability of missing aperiodic-task deadlines. Periodic tasks are scheduled according to the rate monotonic priority algorithm (RMPA), and aperiodic tasks are scheduled by utilizing the processor time left unused by periodic tasks in each <it>unit cycle</it>. The length, <it>u</it>, of a unit cycle is defined as the greatest common divisor of all task periods, and a task is assumed to be invoked at the beginning of a unit cycle. For a set <it>S</it> of periodic tasks, the RB algorithm reserves a fraction <it>R</it><sub><it>S</it></sub> of processor time in each unit cycle for executing aperiodic tasks without missing any periodic-task deadline. The probability of meeting aperiodic-task deadlines is proved to be a monotonic increasing function of <it>R</it><sub><it>S</it></sub>. We derive the value of RS that maximizes the processor time reservable for the execution of aperiodic tasks without missing any periodic-task deadline. We also show that if the ratio of the computation time to the deadline of each aperiodic task is bounded by <it>R</it><sub><it>S</it></sub>, the RB algorithm can meet the deadlines of all periodic and aperiodic tasks. Our analysis and simulation results show that the RB algorithm outperforms all other scheduling algorithms in meeting aperiodic-task deadlines.</p>

INDEX TERMS

Real-time systems, task scheduling, periodic and aperiodic tasks, deadline guarantees.

CITATION

Yi-Chieh Chang, Kang G. Shin, "A Reservation-Based Algorithm for Scheduling Both Periodic and Aperiodic Real-Time Tasks",

*IEEE Transactions on Computers*, vol. 44, no. , pp. 1405-1419, December 1995, doi:10.1109/12.477246CITATIONS