Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering ›› 2009, Vol. 35 ›› Issue (8): 263-265. doi: 10.3969/j.issn.1000-3428.2009.08.089

• Developmental Research • Previous Articles     Next Articles

RM Schedule-based Max Task Preemption Times Analysis

PENG De-kun1,2, SONG Hong-jun1, LIU Bo-yang3   

  1. (1. Institute of Electronics, Chinese Academy of Sciences, Beijing 100080; 2. Graduate University of Chinese Academy of Sciences, Beijing 100080; 3. Sifang Electric (Group) Co., Ltd., Beijing 100085)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-04-20 Published:2009-04-20

基于RM调度的任务抢占次数最多分析

彭德坤1,2,宋红军1,刘博阳3   

  1. (1. 中国科学院电子学研究所,北京 100080;2. 中国科学院研究生院,北京 100080;3. 四方电气(集团)有限公司,北京 100085)

Abstract: Classical schedulability analysis approaches usually consider the cost of preemption negligible. However, the time consumption is considerable for whole system in the case of high load and too much preemption. This paper discusses the condition of max preemptions with Rate Monotonic(RM) schedule arithmetic, and presents a method to reduce preemption. The task response time is shortened by reducing preemption.

Key words: Real-Time Operating System(RTOS), task preemption, Rate Monotonic(RM) schedule

摘要: 传统的实时系统可调度性分析方法往往忽略任务抢占的时间开销,然而在重负载情况下,如果任务抢占次数很多,则由此带来的时间开销将不可忽略。该文分析基于单调速率调度算法的系统中任务抢占次数最多需要满足的条件,提出通过修改任务参数来减少抢占次数的方法,减少了系统在最坏情况下的任务响应时间。

关键词: 实时系统, 任务抢占, RM调度

CLC Number: