ANALYSIS AND EVALUATION OF HERURISTIC METHODS FOR STATIC TASK-SCHEDULING

被引:108
|
作者
SHIRAZI, B
WANG, MF
机构
[1] SO METHODIST UNIV,DEPT COMP SCI & ENGN,DALLAS,TX 75275
[2] XEROX CORP,CAMBRIDGE,MA 02142
关键词
D O I
10.1016/0743-7315(90)90014-G
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Optimal task scheduling in a multiprocessor environment is known to be an NP-hard problem. The research efforts in this area have focused on heuristic methods for efficient distribution of tasks. This paper introduces two static task scheduling algorithms. The first algorithm, called Heavy Node First (HNF), is based on a local analysis of program graph nodes at each level. The second algorithm, called Weighted Length (WL), considers a more global view of the program graph and takes into account the relationship among the nodes at different levels. The two algorithms are compared to the classical Critical Path Method (CPM). For a given Directed Acyclic Graph of n nodes representing a program, it is shown that HNF requires O(n log(n)) steps while WL and CPM require O(n2) steps to accomplish the allocation. The nontrivial worst case performances of the three algorithms are analytically evaluated and their average case performances are evaluated through a simulation study. It is shown that the performance of the three algorithms, which is measured in terms of program execution time and processors' idle time, is almost the same. Therefore, taking into account the time complexity of the task distribution itself, we conclude that a simple and fast heuristic algorithm, such as HNF, may be sufficient to achieve adequate performance. © 1990.
引用
收藏
页码:222 / 232
页数:11
相关论文
共 50 条