A RESERVATION-BASED ALGORITHM FOR SCHEDULING BOTH PERIODIC AND APERIODIC REAL-TIME TASKS

Authors
Citation
Kg. Shin et Yc. Chang, A RESERVATION-BASED ALGORITHM FOR SCHEDULING BOTH PERIODIC AND APERIODIC REAL-TIME TASKS, I.E.E.E. transactions on computers, 44(12), 1995, pp. 1405-1419
Citations number
19
Categorie Soggetti
Computer Sciences","Engineering, Eletrical & Electronic","Computer Science Hardware & Architecture
ISSN journal
00189340
Volume
44
Issue
12
Year of publication
1995
Pages
1405 - 1419
Database
ISI
SICI code
0018-9340(1995)44:12<1405:ARAFSB>2.0.ZU;2-Z
Abstract
This paper considers the problem of scheduling both periodic and aperi odic tasks in real-time systems, A new, called reservation-based (RE), algorithm is proposed for ordering the execution of real-time tasks, This algorithm can guarantee all periodic-task deadlines while minimiz ing the probability of missing aperiodic-task deadlines. Periodic task s are scheduled according to the rate monotonic priority algorithm (RM PA), and aperiodic tasks are scheduled by utilizing the processor time left unused by periodic tasks in each unit cycle, The length, u, of a unit cycle is defined as the greatest common divisor of all task peri ods, and a task is assumed to be invoked at the beginning of a unit cy cle, For a set S of periodic tasks, the RE algorithm reserves a fracti on R(s) of processor time in each unit cycle for executing aperiodic t asks without missing any periodic-task deadline. The probability of me eting aperiodic-task deadlines is proved to be a monotonic increasing function of R(s). We derive the value of R(s) that maximizes the proce ssor time reservable for the execution of aperiodic tasks without miss ing 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 R(s), the RE algorithm can meet the deadlines of all periodic and aper iodic tasks. Our analysis and simulation results show that the RE algo rithm outperforms all other scheduling algorithms in meeting aperiodic -task deadlines.