应用中的嵌入式Linux实时优化  被引量:3

Optimization of Embedded Linux’s Real-time Capability in Application

在线阅读下载全文

作  者:梁丁[1] 李迅波[1] 蔡勇[1] 

机构地区:[1]电子科技大学机械电子工程学院,成都610054

出  处:《计算机工程》2007年第1期77-79,共3页Computer Engineering

基  金:军事预研基金资助重点项目

摘  要:以Linux2.6为对象,在分析了国内外有关提高Linux实时性的几种方法的基础上,对任务切换、优先级调度算法以及中断服务程序提出了改进方式。引入了“在实时系统中,只有当进程的临界区能在下一个实时任务开始之前结束才被允许进入”的任务切换机制,实现了优先级置顶的方法以避免发生优先级倒置的现象,并用内核线程代替中断服务程序。上述方法可用在嵌入式领域和对实时性有较高要求的Linux应用中。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.

关 键 词:LINUX 实时性 任务切换 优先级置顶 内核线程 

分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象