计算机工程与应用 ›› 2010, Vol. 46 ›› Issue (34): 228-231.DOI: 10.3778/j.issn.1002-8331.2010.34.068

• 工程与应用 • 上一篇    下一篇

OSEK操作系统抢占式调度策略改进

曾素华1,蒋建春2   

  1. 1.重庆邮电大学 计算机科学与技术学院,重庆 400065
    2.重庆邮电大学 自动化学院,重庆 400065
  • 收稿日期:2009-08-17 修回日期:2009-10-09 出版日期:2010-12-01 发布日期:2010-12-01
  • 通讯作者: 曾素华

Improvement of preemptive scheduling strategy for OSEK-based operating system

ZENG Su-hua1,JIANG Jian-chun2   

  1. 1.College of Computer Science and Technology,Chongqing University of Posts and Telecommunications,Chongqing 400065,China
    2.College of Automation,Chongqing University of Posts and Telecommunications,Chongqing 400065,China
  • Received:2009-08-17 Revised:2009-10-09 Online:2010-12-01 Published:2010-12-01
  • Contact: ZENG Su-hua1,JIANG Jian-chun2

摘要: 调度是操作系统的核心,调度策略的优劣直接影响到操作系统工作性能。基于OSEK的操作系统对实时性要求非常严格,通过分析OSEK抢占式调度策略和任务的属性,提出一种任务和函数之间的转换策略,使任务执行在一定条件下可以转换为函数调用,减少任务执行过程中的切换时间,从而提高任务响应速度和操作系统实时性。通过实验验证,该改进策略是有效的。

Abstract: Scheduling strategy is kernel of one operating system,and directly impacts the performance of operating system.OSEK-based operating system is strict with the real-time performance.Through analyzing the preemptive scheduling strategy and task’s attribute of OSEK OS criterion,this paper presents a conversion strategy from task to function,which makes task execution like a function call,to reduce the task swapping time of the process of task execution,and to improve the task response performance and operating system real-time performance.The strategy’s validation is verified by experiments.

中图分类号: