• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2008, Vol. 30 ›› Issue (1): 73-78.

• 论文 • 上一篇    下一篇

实时调度中基于多特征参数的任务优先级设计方法

王多强 鲁剑锋 李庆华   

  • 出版日期:2008-01-01 发布日期:2010-05-19

  • Online:2008-01-01 Published:2010-05-19

摘要:

本文在实时任务调度中基于任务的价值、剩余执行时间、空闲时间以及到达时间等多特征参数设计任务的优先级,并使任务的优先级随着任务紧迫性和完成程度变化而动态调整,并基于新的优先级设计策略提出一种实时动态抢占式调度算法VRSAF算法。仿真实验表明,在负载较轻时,VRSAF算法能获得近似EDF算法的调度性能;在过载情况下,其调度性能优于HVF算法;总体调度性能高,并能在系统过载的情况下实现平缓的降级。

关键词: 调度 优先级 特征参数 实时

Abstract:

This paper proposes a task priority design method based on four feature parameters:task value, remaining execution time, slack time and arrival time,and makes the task priority change accordingly with the change of the task's degree of urgency and the percentage of the completion of the task. A dyn namic preemptive scheduling algorithm is presented based on the new task priority design method, which is called VRSAF. The simulation results show that the scheduling performance of VRSAF is close to EDF algorithms in light load situation. And in overload situation, the performance of scheduling is hig  her than the HVF algorithm. The overall activation performance is high, especially it can degrade gracefully under the overload situation.

Key words: scheduling, priority, characteristic parameters, real-time