J4 ›› 2011, Vol. 29 ›› Issue (4): 338-342.

• 论文 • 上一篇    下一篇

嵌入式Linux实时性研究

周保余1a|孔德刚2|赵宏伟1a,1b,仲明杰1b   

  1. 1.吉林大学 a.软件学院;b.计算机科学与技术学院|长春 130012;2.长春工程学院 软件职业技术学院,长春 130012
  • 出版日期:2011-07-25 发布日期:2011-11-28
  • 作者简介:周保余(1987—)|女|山东昌邑人| 吉林大学硕士研究生,主要从事智能信息系统与嵌入式技术研究|(Tel)86-13944128990(E-mail)zhoubaoyu7@163.com;通讯作者: 赵宏伟(1962—),男,沈阳人,吉林大学教授,博士生导师|主要从事智能信息系统与嵌入式技术研究|(Tel)86-13654375242(E-mail)zhaohw@jlu.edu.cn
  • 基金资助:

    吉林省教育厅科学基金资助项目(2009605)

Research on Enhancing Embedded Linux's Real-Time Performance

ZHOU Bao-yu1a,KONG De-gang2|ZHAO Hong-wei1a,1b,ZHONG Ming\|jie1b   

  1. 1a.Software College;1b. College of Computer Science and Technology,Jilin University,Changchun 130012,China;2.School of Software Professional Technology,Changchun Institute of Technology,Changchun 130012,China
  • Online:2011-07-25 Published:2011-11-28

摘要:

针对Linux 2.6内核,分析了其在进程调度、中断处理、内核锁机制和虚拟内存等方面对实时性能的负面影响,提出一个旨在提高嵌入式Linux实时性能的解决方案。在该方案中包含了一种新的中断线程化方法,并将其在i386平台上实现。开发了专用的测试模块,并使用Linux内核保留的中断号测试中断线程化效果。测试结果表明,该方案能很好地解决中断对实时任务的干扰问题,对提高Linux实时性能有较好效果。

关键词: 嵌入式Linux, 实时, 中断线程化, 中断模拟

Abstract:

The analysis on how the task scheduling policy, interrupts processing procedure, kernel locks and virtual memory mechanism of linux 2.6 influence its real\|time performance has  been done, and a solution aiming at improving its real\|time performance is designed.This solution includes a new way to make interrupts handled as a kernel thread, and has been developed on i386 platform. To test the solution, a special module is designed, which uses the saved interrupt number to emulate software interrupts.The result shows that the solution successfully prevent real\|time tasks form disturbing of interrupts, and helps a lot in improving real\|time performance.

Key words: embedded linux, real-time, tasked interrupts, interrupts emulation

中图分类号: 

  • TP316