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

RM算法的运行时开销研究与算法改进
引用本文:罗玎玎,赵 海,孙佩刚,张希元,尹震宇. RM算法的运行时开销研究与算法改进[J]. 通信学报, 2008, 29(2): 79-86
作者姓名:罗玎玎  赵 海  孙佩刚  张希元  尹震宇
作者单位:东北大学信息科学与工程学院,辽宁,沈阳,110004
基金项目:国家自然科学基金 , 国家火炬计划
摘    要:RM算法是经典的固定优先级实时调度算法.而在嵌入式实时系统中,系统的工作负荷往往是由很多频率快、执行时间较短的任务组成.因此,直接使用RM算法进行任务调度会由于实时操作系统中任务的上下文切换开销而导致嵌入式系统资源利用率的降低.分析了基于RM算法调度的任务之间的抢占关系,并建立了以任务属性为参数的上下文切换开销模型.在该模型的基础上,通过优化任务的释放时间来降低RM算法导致的系统运行时任务切换开销.最后的实验结果验证了该策略的有效性.

关 键 词:RM算法  实时调度  嵌入式实时操作系统  运行时开销  上下文切换  算法改进  运行时  研究  improvement  有效性  策略  结果验证  实验  任务切换  释放时间  优化  开销模型  参数  属性  关系  分析  系统资源利用率  嵌入式  上下文切换  实时操作系统
文章编号:1000-436X(2008)02-0079-08
收稿时间:2007-04-30
修稿时间:2007-12-28

Research on run-time overhead of RM and improvement
LUO Ding-ding,ZHAO Hai,SUN Pei-gang,ZHANG Xi-yuan,YIN Zhen-yu. Research on run-time overhead of RM and improvement[J]. Journal on Communications, 2008, 29(2): 79-86
Authors:LUO Ding-ding  ZHAO Hai  SUN Pei-gang  ZHANG Xi-yuan  YIN Zhen-yu
Abstract:RM algorithm is a classic fixed priority real-time scheduling algorithm, but in most embedded real-time systems, where the workload is composed of many tasks of high frequency and short execution time. the overheads from context-switches of real-time operating system will lead to a low resource utilization rate if RM algorithm is directly used. By studying the preemption relationship of the tasks scheduled by RM algorithm, a model of context-switches overheads is established with task attributes, based on which the run-time context-switches overheads of RM algorithm are reduced by optimizing the release time of the tasks in embedded real-time systems. Finally, the experimental results show the validity of the proposed strategy.
Keywords:RM algorithm   real-time scheduling   embedded real-time operating system   run-time overhead   context-switch
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《通信学报》浏览原始摘要信息
点击此处可从《通信学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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