引用本文:李庆华,阮幼林,刘干,蒋盛益,杨世达.一个调度Fork-Join任务图的最优算法.软件学报,2005,16(5):684-690
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 4116次   下载 6050 本文二维码信息
码上扫一扫!
分享到: 微信 更多
一个调度Fork-Join任务图的最优算法
李庆华1, 阮幼林1, 刘干2, 蒋盛益1, 杨世达1
1.华中科技大学,计算机科学与技术学院,湖北,武汉,430074;2.华中科技大学,电子与信息工程系,湖北,武汉,430074
摘要:
Fork-Join任务图是一种并行处理的基本结构.虽然许多算法在任务满足某些条件时能产生最优调度,但往往没有考虑节省处理器个数和减少任务集的总完成时间,从而降低算法的加速比和效率.因此,提出一种基于任务复制的平衡调度算法,其时间复杂度为O(vq+vlogv),v和q分别表示任务集中任务的个数和使用的处理器个数.通过分析已用处理器的负载和空闲时间段,把任务尽量分配到已用的处理器上以均衡负载,从而提高其利用率.实验结果表明,该算法的加速比和总体效率优于其他算法.因此,该算法对于高性能应用程序的调度是一个较好的选择.
关键词:  任务调度  任务复制  Fork-Join任务图  加速比
DOI:
分类号:
基金项目:Supported by the National Natural Science Foundation of China under Grant No60273075 (国家自然科学基金)
An Optimal Scheduling Algorithm for Fork-Join Task Graphs
LI Qing-Hua,RUAN You-Lin,LIU Gan,JIANG Sheng-Yi,YANG Shi-Da
Abstract:
The Fork-Join structure is one of the basic modeling structures for parallel processing. Although some algorithms are able to find an optimal schedule under certain conditions, they ignore to economize processors and minimize the total completion time. This paper presents a Task Duplication based Balance Scheduling(TDBS)algorithm which can generate an optimal schedule for fork-join task graph with a complexity of O(vq+vlogv), where v and q are the number of tasks and processors respectively. By considering workload and idle time slots of the used processors, TDBS algorithm tries to assign tasks to scheduled processors and maximize their utilization. Simulation results show that TDBS algorithm has better speedup and efficiency than other compared algorithms. Therefore,TDBS algorithm is a viable option for practical high performance applications.
Key words:  task scheduling  task duplication  fork-join task graph  speedup