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

被引:12
作者
SHIN, KG [1 ]
CHANG, YC [1 ]
机构
[1] QUICKTURN DESIGN SYST INC,MT VIEW,CA
基金
美国国家科学基金会;
关键词
REAL-TIME SYSTEMS; TASK SCHEDULING; PERIODIC AND APERIODIC TASKS; DEADLINE GUARANTEES;
D O I
10.1109/12.477246
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper considers the problem of scheduling both periodic and aperiodic 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 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 unit cycle, The length, u, 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 S of periodic tasks, the RE algorithm reserves a fraction R(s) 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 R(s). We derive the value of R(s) 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 R(s), the RE algorithm can meet the deadlines of all periodic and aperiodic tasks. Our analysis and simulation results show that the RE algorithm outperforms all other scheduling algorithms in meeting aperiodic-task deadlines.
引用
收藏
页码:1405 / 1419
页数:15
相关论文
共 19 条
[1]  
CHANG YC, 1991, DEC WORKSH ARCH SUPP, P91
[2]  
HAN CC, 1992, 13TH P IEEE REAL TIM, P300
[3]   A PERFORMANCE ANALYSIS OF MINIMUM LAXITY AND EARLIEST DEADLINE SCHEDULING IN A REAL-TIME SYSTEM [J].
HONG, J ;
TAN, X ;
TOWSLEY, D .
IEEE TRANSACTIONS ON COMPUTERS, 1989, 38 (12) :1736-1744
[4]  
JEFFAY K, 1990, TR90019 U N CAR DEP
[5]   PROCESSOR TRADEOFFS IN DISTRIBUTED REAL-TIME SYSTEMS [J].
KRISHNA, CM ;
SHIN, KG ;
BHANDARI, IS .
IEEE TRANSACTIONS ON COMPUTERS, 1987, 36 (09) :1030-1040
[6]  
Lehoczky J. P., 1987, Proceedings of the Real-Time Systems Symposium (Cat. No.87CH2475-2), P261
[7]  
Lehoczky J. P., 1992, P 13 IEEE REAL TIM S, P110
[8]  
LEHOCZKY JP, 1987, RATE MONOTONIC SCHED
[9]   GUARANTEED RESPONSE-TIMES IN A HARD-REAL-TIME ENVIRONMENT [J].
LEINBAUGH, DW .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1980, 6 (01) :85-91
[10]   ON THE COMPLEXITY OF FIXED-PRIORITY SCHEDULING OF PERIODIC, REAL-TIME TASKS [J].
LEUNG, JYT ;
WHITEHEAD, J .
PERFORMANCE EVALUATION, 1982, 2 (04) :237-250