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

计算机工程

• 体系结构与软件技术 • 上一篇    下一篇

基于贪心策略的EDF调度算法优化

桑磊  1,陆阳  1,3,俞磊  2   

  1. (1.合肥工业大学计算机与信息学院,合肥 230009;2.安徽中医药大学医药信息工程学院,合肥 230012;3.安徽省矿山物联网与安全监控技术重点实验室,合肥 230088)
  • 收稿日期:2015-01-04 出版日期:2015-12-15 发布日期:2015-12-15
  • 作者简介:桑磊(1989-),男,硕士研究生,主研方向:嵌入式软件,物联网;陆阳,教授、博士、博士生导师;俞磊,讲师、博士。
  • 基金资助:
    国家“863”计划基金资助项目(2011AA060400);国家国际科技合作专项基金资助项目(2014DFB10060);教育部高等学校博士点基金资助项目(20120111110001);情感计算与先进智能机器安徽省重点实验室开放基金资助项目(ACAIM150101)。

Optimization of EDF Scheduling Algorithm Based on Greedy Policy

SANG Lei  1,LU Yang  1,3,YU Lei  2   

  1. (1.School of Computer and Information,Hefei University of Technology,Hefei 230009,China; 2.School of Medical Information Engineering,Anhui University of Chinese Medicine,Hefei 230012,China; 3.Anhui Provincial Key Laboratory of Mine IOT and Safety Supervisory Control Technology,Hefei 230088,China)
  • Received:2015-01-04 Online:2015-12-15 Published:2015-12-15

摘要: 最早截止期优先(EDF)调度算法在系统过载的情况下会产生“多米诺效应”,导致无法满足多数任务的实时性要求。针对该问题,提出一种基于贪心策略的最优调度集选择方法。通过引入一个表示任务价值的因子与任务的截止时间共同决定任务的优先级,当系统过载时,在 EDF算法的可调度范围内选取重要任务作为优先调度对象。理论性能分析和实验结果表明,该算法不仅能在过载时降低实时系统的任务截止期错失率,而且能保证关键任务的优先调度。

关键词: 实时操作系统, 调度算法, 最早截止期优先调度, 贪心策略, 优先级, 截止期错失率

Abstract: The Earliest Deadline First(EDF) scheduling algorithm has “Domino effect” when the system overloads causing most tasks’ real time requirement can not be satisfied.Aiming at this problem,this paper proposes an algorithm of optimal scheduling set selecting based on greedy policy.Using a factor which reflects the value of task and deadline to decide the priority of task,it selects important task to schedule when system overloads.Theoretical performance analysis and experimental result show that the proposed algorithm can reduce Deadline Missing Ratio(DMR) and guarantee the key tasks to be scheduled firstly.

Key words: real-time operating system, scheduling algorithm, Earliest Deadline First(EDF) scheduling, greedy policy, priority, Deadline Missing Ratio(DMR)

中图分类号: