摘要
分析了Linux系统所存在的非实时因素,提出一种基于多核PC的Linux实时性改造方案.方案从以下几个方面改进Linux的实时性:实现满足实时调度要求的高精度定时机制;重新分配系统处理器资源;指定分发系统外部中断以减少中断延迟对实时任务的影响.以内核可加载模块的方式实现此方案,保证了实时模块和原有系统之间的相互独立,同时也便于移植和维护.经过测试表明所提出的方案能够很好地提高Linux系统的实时性.
This article analyzes the non-real-time presence of Linux system, and proposes a Linux real-time rehabilitation program based on the multi-core PC. The program improves the real-time nature of the Linux through the following aspects. Firstly, the program achieves high-precision timing mechanism to meet the requirements of real-time scheduling; Secondly, it reallocates system processor resources; And finally it distributes system external interrupts to reduce the interrupt latency of real-time tasks. The program ensures the flexibility and ease of maintenance of the real-time module through kernel loadable module. The test shows that the proposed program can improve the real-time performance of the Linux system.
出处
《微电子学与计算机》
CSCD
北大核心
2013年第8期120-123,共4页
Microelectronics & Computer
关键词
LINUX实时性
高精度定时
指定分发中断
内核可加载模块
Linux real-time rehabilitation
high-precision timing
distributes system interrupts
kernel loadable module