摘要
针对Linux2.6在实时中断应用上的局限性,提出一种基于CK-CPU的实时性能优化方案。设计用于实时中断的快速中断请求(FIQ)机制,在FIQ处理程序退出时增加实时进程调度策略,将FIQ服务程序的公共代码和堆栈保留在便笺式存储器中,减少FIQ服务程序的内存访问次数并加快其执行速度。实验结果证明,该方案可显著提高Linux2.6的实时性能。
Aiming at the limitations of real-time interrupt applications of Linux2.6,this paper proposes a real-time improved scheme based on CK-CPU.It implements Fast Interrupt Request(FIQ) to respond real-time interrupts specially,adding a scheduling policy of real-time process after FIQ routine,and caches the FIQ common code and stack in Scratch Pad Memory(SPM),reducing memory access of FIQ routine and running faster.Experimental results show this scheme can improve real-time performance of Linux2.6 apparently.
出处
《计算机工程》
CAS
CSCD
北大核心
2011年第17期236-238,共3页
Computer Engineering
基金
国家"863"计划基金资助项目(2009AA011706)