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

基于μCLinux的操作系统实时性扩展和应用

展开
  • (华中科技大学软件学院,湖北 武汉 430074)
苏曙光(1975),男,湖南临湘人,博士,讲师,研究方向为流媒体编码解码和嵌入式操作系统;曹华,博士,讲师,研究方向为嵌入式系统设计和无线传感器网络;刘云生,教授,博士生导师,研究方向为实时移动数据库和实时操作系统。

收稿日期: 2008-07-28

  修回日期: 2008-10-17

  网络出版日期: 2010-03-28

基金资助

湖北省自然科学基金资助项目(2007ABA311)

Extension and Application of the Operating System ealTimeness Based on μCLinux

Expand
  • (School of Software,Huazhong University of Science and Technology,Wuhan 430074,China)

Received date: 2008-07-28

  Revised date: 2008-10-17

  Online published: 2010-03-28

摘要

本文提出一种基于实时硬件抽象层RTHAL的方法增强μCLinux实时性能以便应用于实时视频编码系统。具有硬实时性能的RTHAL运行于硬件层和μCLinux之间,通过尽可能少地修改μCLinux内核而获得完全的硬实时性能,平均任务调度延迟仅为3~4μs左右。本文还提出了如何计算和设置RTHAL和μCLinux之间FIFO缓冲区的大小以便实现实时数据稳定传输的方法。通过实时视频编码实例测试表明,该方法能够简单高效地提高μCLinux的实时性能。

本文引用格式

苏曙光,曹华,刘云生 . 基于μCLinux的操作系统实时性扩展和应用[J]. 计算机工程与科学, 2010 , 32(4) : 125 -127 . DOI: 10.3969/j.issn.1007130X.2010.

Abstract

The paper proposes an implementation of the realtime μCLinux based on RTHAL(Real Time Hardware Abstract Layer). RTHAL with hard realtimeness runs between hardware and μCLinux,and only with a few modifications μCLinux can have harder realtimeness with a scheduling delay of about 3μs. The paper further proposes an effective method to calculate the size of the FIFO buffer for transferring realtime data stably between RTHAL and μCLinux. An example of realtime video coding proves the method can provide μCLinux with good realtimeness easily and effectively.
文章导航

/