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

一种改进的RM可调度性判定算法
引用本文:刘军祥,王永吉,Matthew Cartmell. 一种改进的RM可调度性判定算法[J]. 软件学报, 2005, 16(1): 89-100
作者姓名:刘军祥  王永吉  Matthew Cartmell
作者单位:1. 中国科学院,软件研究所,互联网软件技术实验室,北京,100080;中国科学院,研究生院,北京,100039
2. 中国科学院,软件研究所,互联网软件技术实验室,北京,100080
3. Department of Mechanical Engineering,University of Glasgow G12 8QQ,UK
基金项目:Supported by the National Natural Science Foundation of China under Grant No.60373053 (国家自然科学基金); the Hundred Talents of the Chinese Academy of Sciences (中国科学院"百人计划"); the Chinese Academy of Sciences and the Royal Society of the United Kingdom under Grant
摘    要:固定优先级任务可调度性判定是实时系统调度理论研究的核心问题之一.目前已有的各种判定方法可归结为两大类:多项式时间调度判定和确切性判定.多项式时间调度判定通常采用调度充分条件来进行,为此,许多理想条件下基于RM(rate monotonic)调度算法的CPU利用率最小上界被提了出来.确切性判定利用RM调度的充要条件,保证任何任务集均可被判定,并且判定结果是确切的.但是由于时间复杂度较差,确切性判定方法难以实现在线分析.提出了一种改进的RM可调度性判定方法(improved schedulability test algorithm,简称ISTA).首先介绍了任务调度空间这一概念,并提出了二叉树表示,然后进一步提出了相关的剪枝理论.在此基础上,研究了任务之间可调度性的相关性及其对判定任务集可调度性的影响,提出并证明了相关的定理.最后基于提出的定理,给出了一种改进的伪多项式时间可调度性判定算法,并与已有的判定方法进行了比较.仿真结果表明,该算法平均性能作为任务集内任务个数的函数具有显著提高.

关 键 词:实时系统  调度  实时调度  RM算法  硬实时系统
文章编号:1000-9825-2005-16(01)0089
收稿时间:2003-11-28
修稿时间:2004-05-09

An Improved Rate Monotonic Schedulability Test Algorithm
LIU Jun-Xiang,WANG Yong-Ji and Matthew Cartmell. An Improved Rate Monotonic Schedulability Test Algorithm[J]. Journal of Software, 2005, 16(1): 89-100
Authors:LIU Jun-Xiang  WANG Yong-Ji  Matthew Cartmell
Abstract:One of the key issues in real-time theory is the schedulable analysis of a given task set with fixed priority. All the proposed schedulability test methods can be classified into two types: polynomial time methods and exact methods. Polynomial time methods use a sufficient schedulability condition, and several least upper bounds of the processor utilization under ideal assumptions have been developed. Exact methods based on the necessary and sufficient schedulability condition guarantee that the test result for every task set is correct. However, the pseudo-polynomial complexity of the exact tests is too complex to be executed online for large task sets. This paper presents a novel ISTA (improved schedulability test algorithm) for analyzing the schedulability of periodic task sets under Rate Monotonic priority assignment. A pruning theorem for the Task_i space is derived, the schedulability correlation among tasks and its effect on the schedulability test are investigated, and the related theorems are proven. Based on the above results, a new improved pseudo-polynomial schedulability test algorithm is developed, and several comparative simulation experiments among the three methods are conducted. Extensive simulations show that the average schedulability test performance as a function of number of the tasks can be significantly improved.
Keywords:real-time system  schedulability  real-time scheduling  RM (rate monotonic) algorithm  hard real-time system
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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