首页 | 本学科首页   官方微博 | 高级检索  
     

应用中的嵌入式Linux实时优化
引用本文:梁丁,李迅波,蔡勇.应用中的嵌入式Linux实时优化[J].计算机工程,2007,33(1):77-79.
作者姓名:梁丁  李迅波  蔡勇
作者单位:电子科技大学机械电子工程学院,成都,610054;电子科技大学机械电子工程学院,成都,610054;电子科技大学机械电子工程学院,成都,610054
摘    要:以Linux2.6为对象,在分析了国内外有关提高Linux实时性的几种方法的基础上,对任务切换、优先级调度算法以及中断服务程序提出了改进方式。引入了“在实时系统中,只有当进程的临界区能在下一个实时任务开始之前结束才被允许进入”的任务切换机制,实现了优先级置顶的方法以避免发生优先级倒置的现象,并用内核线程代替中断服务程序。上述方法可用在嵌入式领域和对实时性有较高要求的Linux应用中。

关 键 词:Linux  实时性  任务切换  优先级置顶  内核线程
文章编号:1000-3428(2007)01-0077-03
修稿时间:2006-07-21

Optimization of Embedded Linux's Real-time Capability in Application
LIANG Ding,LI Xunbo,CAI Yong.Optimization of Embedded Linux's Real-time Capability in Application[J].Computer Engineering,2007,33(1):77-79.
Authors:LIANG Ding  LI Xunbo  CAI Yong
Affiliation:College of Machinery and Electronic Engineering, University of Electronic Science and Technology of China, Chengdu 610054
Abstract:In order to improve the real-time performance of the Linux system, real-time capability improving methods provided by some company or organization is analyzed. A mechanism called “Entering a critical section is allowed only if the operation finishes before the execution of next real-time task” is introduced, together with the implementation of priority ceiling protocol and using the kernel thread to replace the normal ISR. The priorities of real-time tasks are ensured, the priority inversion situations are avoided and the interrupt latency is short and predictable. The method is applicable to embedded systems and other real-time sensitive situations.
Keywords:Linux  Real-time capability  Task switch  Priority ceiling protocol  Kernel thread  
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号