Abstract:
When the real-time tasks are scheduled, μC/OS-Ⅱ takes use of single algorithm to assign the priority of tasks. Because of the singularity of determinant standard of priorty, the high deadline missing ration of real-time tasks influences the real-time scheduling performance seriously. This paper advances the assigning policy of priority of multi-parameter tasks and the task scheduling method in μC/OS-Ⅱ. Experimental results show that DMR of multi-parameter scheduling algorithm is 60.1%, and improvement of real-time scheduling performance.
Key words:
μC/OS-Ⅱ,
real-time task,
priority,
multi-parameter,
deadline missing ration(DMR)
摘要: 在μC/OS-Ⅱ进行实时任务调度时,可以使用单一的调度算法分配任务优先级。优先级判定标准的片面性、“错过率”较高的截止期,影响了μC/OS-Ⅱ的实时调度性能。该文提出了多参数任务优先级分配策略和μC/OS-Ⅱ任务的调度方法,实验证明,该方法截止期的平均错过率为60.1%,有效地改善了μC/OS-Ⅱ的实时调度性能。
关键词:
μC/OS-Ⅱ,
实时任务,
优先级,
多参数,
截止期错过率
CLC Number:
ZHOU Ben-hai; WANG Xi-bo; QIAO Jian-zhong; SHEN Guo-wen. Task Priority and Scheduling Method Based on Multi-parameter in μC/OS-Ⅱ[J]. Computer Engineering, 2007, 33(21): 28-30.
周本海;王溪波;乔建忠;沈国文. 基于多参数的μC/OS-Ⅱ任务优先级和调度方法[J]. 计算机工程, 2007, 33(21): 28-30.