首页 | 本学科首页   官方微博 | 高级检索  
     

一种有限优先级的静态优先级分配算法
引用本文:宾雪莲,杨玉海,金士尧.一种有限优先级的静态优先级分配算法[J].软件学报,2004,15(6):815-822.
作者姓名:宾雪莲  杨玉海  金士尧
作者单位:1. 国防科学技术大学,并行与分布国家重点实验室,湖南,长沙,410073;空军雷达学院,计算机教研室,湖北,武汉,430010
2. 空军雷达学院,计算机教研室,湖北,武汉,430010
3. 国防科学技术大学,并行与分布国家重点实验室,湖南,长沙,410073
基金项目:Supported by the National Natural Science Foundation of China under Grant No.60073003(国家自然科学基金)
摘    要:静态优先级调度在实时系统中得到了广泛应用.然而,静态优先级调度受到系统支持的优先级个数的限制.当任务的个数大于优先级个数时,需要将多个任务映射到同一个优先级.针对优先级个数有限的情况,给出了在截止期限大于周期时任务可调度的充分必要条件,并提出了基于有限优先级的静态优先级分配算法(AGP).AGP算法对于基本任务集合是最优的静态优先级分配算法.其最优性表现在,所需的优先级个数最小,并且若采用AGP算法不可调度某个任务集,则采用其他静态优先级分配算法也不可调度该任务集.模拟结果表明,AGP算法的可调度性要远远大于常量法.AGP算法对于解决在嵌入式实时系统中任务的优先级分配问题具有重要意义.

关 键 词:实时系统  有限优先级  可调度性  静态优先级调度  任务优先级
收稿时间:6/1/2004 12:00:00 AM

An Assignment Algorithm of Static Priority for Limited Priority Levels
BIN Xue-Lian,YANG Yu-Hai and JIN Shi-Yao.An Assignment Algorithm of Static Priority for Limited Priority Levels[J].Journal of Software,2004,15(6):815-822.
Authors:BIN Xue-Lian  YANG Yu-Hai and JIN Shi-Yao
Abstract:Static priority scheduling is widely used in real-time systems. But its schedulability will be reduced if priority levels of the system are insufficient. A task set may require more priority levels than the system can support. In this case, more than one task must be grouped into the same priority. This paper presents necessary and sufficient conditions for analyzing the schedulability of static priority algorithms on resources with limited priority levels. A static priority assignment algorithm (AGP) with limited priority levels is developed. As it turns out, AGP is optimal for the basic task set in the sense that the number of priority levels required by AGP is minimal and no other static priority rule can schedule a basic task set which cannot scheduled by AGP. Simulation results show that the schedulability of AGP is much higher than that of Constant Ratio Grid algorithm. AGP is significant for solving the problem of assigning priorities of tasks in embedded real-time systems.
Keywords:real-time system  limited priority level  schedulability  static priority scheduling  task priority
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号