An Improved Method Of Task Context Switching In Osek Operating System

Zhaohui Wu,Hong Li,Guoqing Yang,Zhigang Gao,Pan Lv
DOI: https://doi.org/10.1108/17427371011066400
2010-01-01
International Journal of Pervasive Computing and Communications
Abstract:Purpose - The purpose of this paper is to focus on the method to improve real-time property of realtime operating system (RTOS), one of the most essential problems in RTOS studies.Design/methodology/approach - Improved task models are proposed based on the basic task and extended task models of OSEK operating system (OSEK OS). According to different task states, optimized scheduling algorithm was put forward. Some examples in a practical environment are described that illustrate the value of the method.Findings - This method has been successfully implemented and evaluated in an OSEK compatible operating system, SmartOSEK OS. The time cost of context switching is decreased and the efficiency is enhanced.Research limitations/implications - The improvement gained depends on the ratio of each strategy applied. In case the strategy D is applied too many times, the performance will be lead to a depressing result. For real-time system, a long-lived process that maybe increase the ratio of strategy D is not the optimal selection.Originality/value - Dividing the ready state of task into intermediate state and initial state, can optimize the process of task context switching for OSEK OS. The method has proven to be useful in improving the real-time property of RTOS.
What problem does this paper attempt to address?