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

计算机工程 ›› 2010, Vol. 36 ›› Issue (23): 240-242,245. doi: 10.3969/j.issn.1000-3428.2010.23.081

• 工程应用技术与实现 • 上一篇    下一篇

RTAI混合任务调度器的设计与实现

王保胜1,2,马跃2,吴文江2,3,秦承刚1,2,丁万夫1,2   

  1. (1.中国科学院研究生院, 北京 100039; 2.中国科学院沈阳计算技术研究所, 沈阳 110171; 3.沈阳高精数控技术有限公司, 沈阳 110171)
  • 出版日期:2010-12-05 发布日期:2010-12-14
  • 作者简介:王保胜(1985-),男,硕士研究生,主研方向:实时系统,数控技术;马跃、吴文江,研究员;秦承刚、丁万夫,博士研究生
  • 基金资助:
    国家科技重大专项基金资助项目“高档数控机床与基础制造装备”(2009ZX04009013)

Design and Implementation of RTAI Hybrid Task Scheduler

WANG Baosheng1,2,MA Yue2,WU Wenjiang2,3,QIN Chenggang1,2,DING Wanfu1,2   

  1. (1.Graduate University of Chinese Academy of Sciences, Beijing 100039, China; 2.Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110171, China; 3.Shenyang Golding Numberical Control Technology Limited Company, Shenyang 110171, China)
  • Online:2010-12-05 Published:2010-12-14

摘要: 针对RTAI系统只能调度单一类型任务的问题,提出一种可调度多类型任务的混合任务调度器。该调度器支持CBS调度策略,并采用LXRT机制关联软实时任务和CBS服务器,根据服务器调度策略对软实时任务进行调度。实验结果表明,该混合任务调度器在保证硬实时任务正常运行的同时提高了软实时任务的服务水平。

关键词: RTAI系统, 虚拟任务, CBS调度策略, LXRT机制, 混合任务

Abstract: Aiming at the problem that RealTime Application Interface(RTAI) system can only schedule singletype task, this paper proposes a hybrid task scheduler. It supports Constant Bandwidth Server(CBS) schedule policy, associates soft realtime task with CBS server by using Linux Real Time(LXRT) mechanism, and schedules soft realtime task according to server schedule policy. Experimental results show that the scheduler ensures the normal operation of hard realtime tasks, and improves the service level of soft realtime tasks.

Key words: RealTime Application Interface(RTAI) system, virtual task, Constant Bandwidth Server(CBS) schedule policy, Linux Real Time(LXRT) mechanism, hybrid task

中图分类号: