Title :
Research on Subsystem Hybrid Scheduling and Priority Inversion Based uCOS-II
Author :
Wang Xibo ; Liu Tao
Author_Institution :
Sch. of Inf. Sci. & Eng., Shenyang Univ. of Technol., Shenyang, China
Abstract :
Uc/OS-II is an open-code real-time kernel based preemptive priority scheduling strategy. It assigns a unique priority for each task and does not support to schedule same priority tasks. In practical applications, assigning different priority for tasks which realizing the same function is not a very good logical design. Moreover it can only create a maximum of 64 tasks, which can not meet the needs of increasingly complex applications. Aiming at these problems, in the paper, the real time kernel uC/OS-II is modified. The new kernal creatively gives an approach of layered hybird scheduling for subsystem and jobs. The modified kernel divides a application system to some subsystems which is composed of several relevent jobs. There is a two layer hybird scheduling strategy which schedule subsystem based on priority and schedule jobs in the subsystem based on Hybrid scheduling method. Preemptive scheduling based on priority is adopted for jobs having different priority in the subsystem, while, round-robin scheduling is adopted for jobs having the same priority in the subsystem, which greatly augments application range of uC/OS-II. This paper also expounds the cause of priority inversion and the effect on system real-time performance, and two approaches named priority inheritance protocol and priority ceiling protocol are proposed to be used in uC/OS-II for restraining priority inversion phenomenon. Experiments testing show that the proposed subsystem hybrid scheduling algorithm and the method to realize restraining priority inversion protocols in uC/OS-II are feasible and effective.
Keywords :
operating system kernels; protocols; scheduling; μC/OS-II; application system; layered hybrid scheduling strategy; open-code real-time kernel; preemptive priority scheduling strategy; priority ceiling protocol; priority inheritance protocol; priority inversion phenomenon; priority inversion protocols; round-robin scheduling; subsystem hybrid scheduling algorithm; Kernel; Protocols; Real-time systems; Schedules; Scheduling algorithms; Testing; hybrid scheduling; job; priority ceiling protocol; priority inheritance protocol; priority inversion; subsystem;
Conference_Titel :
Intelligent Networks and Intelligent Systems (ICINIS), 2012 Fifth International Conference on
Conference_Location :
Tianjin
Print_ISBN :
978-1-4673-3083-1
DOI :
10.1109/ICINIS.2012.69