计算机科学 ›› 2009, Vol. 36 ›› Issue (7): 230-233.doi: 10.11896/j.issn.1002-137X.2009.07.056

• 人工智能 • 上一篇    下一篇

一种新的组优先级动态实时调度算法

巴巍,张大波,李琦,王伟   

  1. (大连理工大学电子与信息工程学院 大连116024)
  • 出版日期:2018-11-16 发布日期:2018-11-16

New Group Priority Dynamic Real-time Scheduling Algorithm

BA Wei,ZHANG Da-bo,LI Qi,WANG Wei   

  • Online:2018-11-16 Published:2018-11-16

摘要: 传统动态调度算法由于对优先级个数没有限制,在实际应用中往往受制约,达不到很好的调度性能。针对此问题,考虑硬实时抢占任务调度需要,提出一种新的组优先级动态实时调度算法。研究作业执行顺序改变对系统可调度性能的影响,给出作业分组可调度性能测试。新算法将满足分组可调度测试公式的作业作为一个任务组,各任务组之间按照最小截止期优先调度,任务组内按照最短作业优先的原则执行作业。仿真结果表明,与最小截止期优先等传统调度算法相比,新算法不仅能有效降低算法所需优先级个数,还能提高任务调度的成功率,缩短平均响应时间,减少任务切换次数。

关键词: 任务调度,最小截止期优先调度算法,成功率,切换次

Abstract: There is no restriction for priority levels in priority scheduling algorithms, which limits the application in practice to get good schedulability. Aiming at that question, considering the requirement of preemptive scheduling for hard real-time systems, a new group priority dynamic real-time scheduling algorithm was presented. The influence of the changed order for some jobs on the schedulability of the system was studied. The schedulability test for the job grouping was given. In the new algorithm, the jobs that satisfied the formula of the schedulability test were joined together as a group. The jobs outside the group schedule in darkest deadline-first, while the jobs in the group schedule in shortest job first. The simulation results show that, comparing with the earliest-dcadlincfirst and other traditional scheduling algorithms, the priority levels decrease deeply, the success ratio increases, the average response time is shorten and the switching number reduces in the new algorithm.

Key words: Mask scheduling, Earliest-deadline-first scheduling algorithm, Success ratio, Switching number

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!