• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2007, Vol. 29 ›› Issue (9): 101-105.

• 论文 • 上一篇    下一篇

软件容错模型中反向与正向调度算法研究

刘东 张春元   

  • 出版日期:2007-09-01 发布日期:2010-06-02

  • Online:2007-09-01 Published:2010-06-02

摘要:

为了保证实时系统在发生任务失效时仍旧能够正常地工作,通常采用软件容错模型来提高实时系统的容错能力。本文分析了软件容错模型中的BCE容错调度算法,针对该算法 中的反向调度和正向调度两个过程,给出了RMB、DMB、FDMB、EDFB四种反向调度算法和RMF、EDFF两种正向调度算法,并指出了反向调度和正向调度相互协调的特性。将各种 算法在BCE算法中进行模拟,结果表明,EDFF正向调度算法能够与四种反向调度算法更好地协调,从而获得比RMF正向调度算法更高的调度性能;模拟结果还表明,四种反向调  度算法在BCE算法中的性能相近。最后,本文得出了RMB(或DMB)反向调度算法与EDFF正向调度算法的组合较适用于软件容错模型的结论。

关键词: 软件容错 实时系统 容错调度

Abstract:

The software fault-tolerant module is used to improve the dependability of real-time systems. In order to compare the performance of different backwar d scheduling algorithms and forward scheduling algorithms in software fault-tolerant modules, the BCE algorithm and its processes of backward scheduling and forward scheduling are analyzed. Two backward scheduling algorithms, RMF and EDFF, and four forward scheduling algorithms, RMB, DMB, FDMB and EDFB,  are studied. Through simulation, different scheduling algorithms are compared. Simulation results show that the EDFF forward scheduling algorithm coope rates well with four backward scheduling algorithms, and it can get better scheduling performance than RMF. Simulation results also show that four backw ard scheduling algorithms have a similar effect on the BCE algorithm. The conclusion is made that the combination of EDFF and RMB, or DMB, is more appli  cable for software faulttolerant modules.

Key words: (software fault-tolerance, real-time system, fault-tolerant scheduling)