作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (22): 254-255. doi: 10.3969/j.issn.1000-3428.2010.22.091

• 开发研究与设计技术 • 上一篇    下一篇

一种混合优先级的防危调度算法

万 明,张凤鸣,樊晓光   

  1. (空军工程大学工程学院,西安 710038)
  • 出版日期:2010-11-20 发布日期:2010-11-18
  • 作者简介:万 明(1979-),男,博士,主研方向:实时操作系统;张凤鸣,教授、硕士;樊晓光,教授、博士
  • 基金资助:

    国家部委基金资助项目

Safety Schedule Algorithm Based on Mixed Priority

WAN Ming, ZHANG Feng-ming, FAN Xiao-guang   

  1. (Engineering Institute, Air Force Engineering University, Xi’an 710038, China)
  • Online:2010-11-20 Published:2010-11-18

摘要:

为增强实时系统任务过载时的防危性,提出一种混合优先级的防危调度算法,其优先级由相对截止期优先级和相对松弛度优先级组成,通过相对松弛度预测任务的可完成性,并采用完全抢占方式防止处理器资源的竞争抖动。仿真结果表明,该算法可充分利用处理器资源,能在发生瞬时过载时有效降低任务的截止期错失率。

关键词: 实时系统, 防危调度, 调度算法, 任务优先级, 截止期错失率

Abstract:

To improve the safety of real-time system at transient overload, a schedule algorithm based on mixed priority is proposed. The priority of the algorithm consists of relative deadline priority and relative slack priority. With relative slack, whether tasks will miss deadline can be predicted. Through the complete CPU preemption, frequent context switch can be avoided. Simulation results show that the presented algorithm improves the efficiency of task schedule and effectively decreases the Missed Deadline Percentage(MDP) at transient overload.

Key words: real-time system, safety schedule, schedule algorithm, task priority, Missed Deadline Percentage(MDP)

中图分类号: