Title :
Several Methods of Design and Implementation to Solve Priority Inversion Problem in uC/OS-II
Author :
Wang Xibo ; Jin Shan ; Yang Zhongling
Author_Institution :
Sch. of Inf. Sci. & Eng., Shenyang Univ. of Technol., Shenyang, China
Abstract :
Multi-task concurrent execution and resource sharing based on preemptive scheduling strategy may cause priority inversion phenomenon in real-time systems. Priority inversion phenomenon is the significant reason of unpredictable errors in real-time system; serious continuous priority inversion phenomenon will lead to real-time system collapse. The paper analyzes the phenomenon and the cause of the phenomenon, puts forward several design and implementation methods to solve priority inversion problem suitable for various application scenarios in μC/OS-II. A priority exchange method is proposed to improve priority inheritance protocol. The proposed method limit priority inversion phenomenon to one level. Theoretical analyses and experimental results indicate that the methods to solve the priority inversion problem in μC/OS-II are concise and effective, provides reasonable technical means for the safe running of complex real-time applications in μC/OS-II.
Keywords :
concurrency control; operating systems (computers); real-time systems; resource allocation; scheduling; μC/OS-II; continuous priority inversion phenomenon; design method; multitask concurrent execution; preemptive scheduling strategy; priority exchange method; priority inheritance protocol; priority inversion problem; real-time system collapse; real-time systems; resource sharing; Design methodology; Educational institutions; Kernel; Processor scheduling; Protocols; Real-time systems; System recovery; priority ceiling; priority exchange; priority inheritance; priority inversion; real-time system;
Conference_Titel :
Intelligent Networks and Intelligent Systems (ICINIS), 2013 6th International Conference on
Conference_Location :
Shenyang
Print_ISBN :
978-1-4799-2808-8
DOI :
10.1109/ICINIS.2013.64