摘要
基于控制中断执行时间的方法,提出一种Linux 2.6内核实时化改进方案,解决了Linux实时任务在执行过程中可能被频繁中断干扰而产生响应时间过长的问题.通过分析Linux2.6内核的中断机制及打上Ingo Molar实时化补丁后的内核中断机制,并根据与当前任务实时优先级的比较,为中断安排恰当的执行时间规则,实现任务的实时性响应.实验结果表明,改进方案的中断响应时间低于打上Ingo Molar实时化补丁后的内核中断响应时间.
A real-time improvement scheme of Linux 2.6 kernel is proposed on the basis of the method of controlling execution time of interrupt, this scheme can resolve the problem of long response time caused by frequent interrupts in the execution process of Linux real-time tasks. By analyzing Linux 2.6 kernel interrupt mechanism as well as the interruption mechanism of the kernel branded Ingo Molar real-time kernel patch, and arranging an appropriate execution time for interrupt by comparing with the current task' s real-time priority, the task's real-time response was realized. Experimental results show that the interrupt response time of improvement scheme is shorter than that of the kernel with branded Ingo Molar real-time kernel patch.
出处
《吉林大学学报(理学版)》
CAS
CSCD
北大核心
2008年第3期494-498,共5页
Journal of Jilin University:Science Edition
基金
高校博士点专项科研基金(批准号:20050183032)
吉林省教育厅科学基金(批准号:2004150)
吉林大学创新基金
关键词
LINUX
实时性
中断线程化
实时优先级
Linux
real-time performance
tasked interrupts
real-time priority