首页 | 本学科首页   官方微博 | 高级检索  
     

一种基于时钟粒度细化的Linux实时化方案
引用本文:李小群,赵慧斌,叶以民,孙玉芳.一种基于时钟粒度细化的Linux实时化方案[J].计算机研究与发展,2003,40(5):734-740.
作者姓名:李小群  赵慧斌  叶以民  孙玉芳
作者单位:中国科学院软件研究所,北京,100080
基金项目:国家自然科学基金项目 (60 0 73 0 2 2 ),国家“八六三”高技术研究发展计划项目(863 3 0 6 ZD12 14 2 ),中国科学院知识创新重大项目(KGCX1 0 9)
摘    要:时钟精度直接影响到任务能否被及时响应和调度,作为一个分时系统,Linux的10ms周期性时钟粒度是必要而且合适的.但是实时系统一般都要求微秒级的响应精度,显然Linux的时钟粒度过于粗糙.然而简单地提高时钟频率意味着时钟中断的相应处理过程将占用过多的处理器时间,从而使得整个系统的有效利用率急剧下降.为了改进Linux的实时性能,讨论了基于Linux的实时操作系统RFRTOS中的时钟粒度细化方案.实验结果显示所做改进以不大的代价有效地提高了Linux的时钟精度.

关 键 词:Linux  实时操作系统  时钟粒度  

A Fine-grain Timer Scheme for Real-time in Linux
LI Xiao Qun,ZHAO Hui Bin,YE Yi Min,and SUN Yu Fang.A Fine-grain Timer Scheme for Real-time in Linux[J].Journal of Computer Research and Development,2003,40(5):734-740.
Authors:LI Xiao Qun  ZHAO Hui Bin  YE Yi Min  and SUN Yu Fang
Abstract:Precise timing is very important for the correct scheduling and timely response of task As a time sharing system, Linux's 10?ms timing resolution is necessary and appropriate Many real time applications demand microsecond resolution timers, so Linux timer is too coarse for real time systems But simply increasing the timing resolution would lead to excessive and unsupportable overhead In order to improve Linux's real time performance, a fine grain timer scheme implemented in RFRTOS based on Linux is discussed Experiments show that the improvement provides a fine grain timer with less cost
Keywords:Linux  real  time operation system  timer granularity  heap  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号