作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (17): 236-238. doi: 10.3969/j.issn.1000-3428.2011.17.079

• 工程应用技术与实现 • 上一篇    下一篇

基于CK-CPU的Linux2.6实时性能优化

江健勇,李春强,胡军山   

  1. (浙江大学超大规模集成电路设计研究所,杭州 310027)
  • 收稿日期:2011-03-09 出版日期:2011-09-05 发布日期:2011-09-05
  • 作者简介:江健勇(1985-),男,硕士研究生,主研方向:嵌入式系统;李春强、胡军山,硕士
  • 基金资助:
    国家“863”计划基金资助项目(2009AA011706)

Real-time Performance Optimization of Linux2.6 Based on CK-CPU

JIANG Jian-yong, LI Chun-qiang, HU Jun-shan   

  1. (Institute of VLSI Design, Zhejiang University, Hangzhou 310027, China)
  • Received:2011-03-09 Online:2011-09-05 Published:2011-09-05

摘要: 针对Linux2.6在实时中断应用上的局限性,提出一种基于CK-CPU的实时性能优化方案。设计用于实时中断的快速中断请求(FIQ)机制,在FIQ处理程序退出时增加实时进程调度策略,将FIQ服务程序的公共代码和堆栈保留在便笺式存储器中,减少FIQ服务程序的内存访问次数并加快其执行速度。实验结果证明,该方案可显著提高Linux2.6的实时性能。

关键词: Linux2.6内核, 实时性能, 便笺式存储器, CK-CPU微处理器

Abstract: 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.

Key words: Linux2.6 kernel, real-time performance, Scratch Pad Memory(SPM), CK-CPU microprocessor

中图分类号: