APPLICATION OF REAL-TIME MONITORING TO SCHEDULING TASKS WITH RANDOM EXECUTION TIMES

被引:21
作者
HABAN, D [1 ]
SHIN, KG [1 ]
机构
[1] UNIV MICHIGAN,DEPT ELECT ENGN & COMP SCI,REAL TIME COMP LAB,ANN ARBOR,MI 48109
关键词
DEADLINE; NONINTRUSIVENESS; REAL-TIME MONITORING; REAL-TIME SCHEDULING; RESOURCE SHARING DELAY; TASK EXECUTION TIME;
D O I
10.1109/32.62446
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A real-time monitor is employed to aid in scheduling tasks with random execution times in a real-time computing system. Scheduling algorithms are usually based on the worst-case execution time (WET) of each task. Due to data-dependent loops and conditional branches in each program and resource sharing delay during execution, this WET is usually difficult to obtain and could be several orders of magnitude larger than the true execution time. Thus, scheduling tasks based on WET could result in a severe under-utilization of CPU cycles and under-estimation of the system's schedulability. To alleviate the above problem, we propose to use a real-time monitor as a scheduling aid. The real-time monitor is composed of dedicated hardware, called test and measurement processors (TMP's), and used to measure accurately, with minimal interference, the true execution time which consists of pure execution time and resource sharing delay. The monitor is a permanent and transparent part of a real-time system, degrades system performance by less than 0.1%, and does not interfere with the host system's execution. Using the measured pure execution time and resource sharing delay for each task, we have developed a mechanism which reduces the discrepancy between the WET and the estimated execution time. This result is then used to decide at an earliest possible time whether or not a task can meet its deadline. A set of example tasks are experimentally measured in a simulated environment while varying their characteristics and the measured data are analyzed, demonstrating the utility and power of the proposed real-time monitor.
引用
收藏
页码:1374 / 1389
页数:16
相关论文
共 9 条
[1]   A HYBRID MONITOR FOR BEHAVIOR AND PERFORMANCE ANALYSIS OF DISTRIBUTED SYSTEMS [J].
HABAN, D ;
WYBRANIETZ, D .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1990, 16 (02) :197-211
[2]  
HABAN D, 1988, 21ST P HAW INT C SYS, V2, P166
[3]  
HABAN D, 1989, 3RD P ANN PAR PROC S, V2, P499
[4]   KEY CONCEPTS OF THE INCAS MULTICOMPUTER PROJECT [J].
NEHMER, J ;
HABAN, D ;
MATTERN, F ;
WYBRANIETZ, D ;
ROMBACH, HD .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (08) :913-923
[5]  
PENG DT, 1989, 9TH INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, P190, DOI 10.1109/ICDCS.1989.37947
[6]   UNIFIED METHOD FOR EVALUATING REAL-TIME COMPUTER CONTROLLERS AND ITS APPLICATION. [J].
Shin, Kang G. ;
Krishna, C.M. ;
Lee, Yann-Hang .
IEEE Transactions on Automatic Control, 1985, AC-30 (04) :357-366
[7]  
SHIN KG, 1988, INT J COMPUT SYST SC, V3, P21
[8]  
SHIN KG, 1989, 22ND P ANN HAW INT C, V2, P703
[9]  
WOODBURY MH, 1986, 1986 P REAL TIM SYST, P89