摘要
在一些嵌入式应用中,实时性任务较少,但其实时性要求需要得到保证。而传统提高嵌入式系统实时性的方案会降低系统吞吐量,影响大量非实时性任务的执行。针对这种情况,在分析现有方案的基础上,提出一种Linux系统实时性改进方案。给出实时性可裁剪的思想,修改Linux内核的HZ值,同时在应用程序中调整进程调度策略。在ARM9 S3C2440硬件平台上基于Linux2.6.30.4内核进行测试,结果表明,改进方案与传统方案相比方便可行,更加适合于小比例实时性任务的应用场合。
In some applications of embedded system, there are few real-time tasks, however, the real-time performance of them needs to be considered. The traditional methods of embedded system which enhance the real-time performance have bad effect on system throughput and the execution of the non-real-time tasks. Aiming at this problem, this paper provides a new scheme to improve the Linux real-time performance. It gives the scalable idea of real-time, modifies the Linux kernel HZ value, at the same time, and adjusts the process scheduling strategies in the application program. This method is tested on the ARM9 S3C2440 hardware platform using the Linux2.6.30.4 kernet. The result shows that this real-time improvement scheme compared with the traditional one is convenient and practical, and is more suitable for small scale real-time tasks.
出处
《计算机工程》
CAS
CSCD
2013年第10期49-52,共4页
Computer Engineering
基金
国家自然科学基金资助项目(51075055)