计算机科学 ›› 2009, Vol. 36 ›› Issue (7): 270-272.doi: 10.11896/j.issn.1002-137X.2009.07.066

• 图形图像及体系结构 • 上一篇    下一篇

基于RTHAL的Linux实时性研究和实现

苏曙光,刘云生   

  1. (华中科技大学软件学院 武汉430074)
  • 出版日期:2018-11-16 发布日期:2018-11-16
  • 基金资助:
    本文受湖北省自科基金项目:低码率视频编码动态行为建模(2007ABA311)资助。

Research and Implement of Realtime of Linux Based on RTHAL

SU Shu-guang,LIU Yun-sheng   

  • Online:2018-11-16 Published:2018-11-16

摘要: 研究嵌入式Linux操作系统实时性的扩展和实现。提出通过在底层硬件和操作系统之间增加实时硬件抽象层的方式来扩充和增强Linux实时性能。该方法对操作系统内核只需做微小修改,就能达到既保持Linux现有功能和资源又兼有硬实时能力,其进程切换延迟仅为3微秒左右。讨论了对Linux和实时硬件抽象层两方面的扩展过程,同时还提出了如何有效利用两者间的缓冲区的方法。最后在嵌入式MPEG4流媒体系统中应用和测试了该方法,结果表明该方法实时性能优异,使用简单有效。

关键词: 实时硬件抽象层,实时性,Linux,实时视频编码

Abstract: The paper focused on research and implement of realtime of Linux The paper proposed a method taking advantage of RTHAL(Real Time Hardware Abstract Layer) , which run between hardware and Linux The method made only a few of modification on Linux and had a schedule delay of only about 3μs. hhe paper discussed how to modify Linux and RTHAL for hard realtime. In addition the paper proposed an effective method to take advantage of buffer between them. Lastly an example of rcaltime MPEG4 stream system was cited, which applied the method and proved it could add to hard realtime of Linux effectively and concisely.

Key words: RTHAL, Rcaltime, Linux, Video stream coding

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!