Conference Paper

An Improved Method of Task Context Switching in OSEK Operating System.

Coll. of Comput. Sci., Zhejiang Univ., Hangzhou, China;
DOI: 10.1109/AINA.2006.89 Conference: 20th International Conference on Advanced Information Networking and Applications (AINA 2006), 18-20 April 2006, Vienna, Austria
Source: DBLP

ABSTRACT Improving real-time is one of the most essential problems in studies of real-time operating system (RTOS). The time of task context switching is an important factor that affects the real-time of RTOS. This paper concentrates on the improvement of task context switching of one kind of RTOS-OSEK operating system. According to different task states, we apply different context switching strategies to reduce the average time of context switching. This method has been successfully implemented and evaluated in our OSEK compatible operating system-SmartOSEK OS.

1 Bookmark
  • Source
    [Show abstract] [Hide abstract]
    ABSTRACT: Through the AUTOSAR methodology, the embedded software shall become more flexible, reusable, maintainable than ever. However, it is not mentioned about specific timing constraints of software components in AUTOSAR. There are a few basic principles for mapping runnable entities. At this point, AUTOSAR software design with optimal scheduling method is one of the enabling technologies in vehicle embedded system. This paper presents an approach based on mapping runnable entities and task scheduling design method for EPS (Electric Power Steering) software components, based on AUTOSAR. In addition, the experimental results of concurrent simulation show that the proposed scheduling technique and timing synchronization in the software component design can achieve the improved torque ripple performance and it well suited for EPS application software.
    Journal of Institute of Control, Robotics and Systems. 01/2010; 16(6).
  • Source
    [Show abstract] [Hide abstract]
    ABSTRACT: While the ever-increasing complexity of automotive software systems can be effectively managed through the adoption of a reliable real-time operating system (RTOS), it may incur additional resource usage to a resultant system. Due to the mass production nature of the automotive industry, reducing physical resources used by automotive software is of the utmost importance for cost reduction. OSEK OS is an automotive real-time kernel standard specifically defined to address this issue. Thus, it is very important to develop and exploit kernel mechanisms such that they can achieve minimal resource usage in the OSEK OS implementation. In this paper, we analyze the task subsystem, resource subsystem, application mode and conformance classes of OSEK OS as well as the OSEK Implementation Language (OIL). Based on our analysis, we in turn devise and implement kernel mechanisms to minimize the dynamic memory usage of the OSEK OS implementation. Finally, we show that our mechanisms effectively reduce the memory usage of OSEK OS and applications.
    Transactions of the Korean Society of Automotive Engineers. 01/2009; 17(3).
  • [Show abstract] [Hide abstract]
    ABSTRACT: Nowadays more and more embedded real-time applications use multithreading. The benefits of multithreading include better throughput, improved responsiveness, and ease of development. However, these benefits come with costs and pitfalls which are unacceptable for a typical hard real-time system. These costs are mainly caused by scheduling and context switching between threads. While different scheduling algorithms have been developed to improve the overall system performance, context switching still consumes lot of processor resources and presents a major overhead, especially for hard real-time applications. In this paper, we propose a new approach to improve the overall performance of embedded systems that use multithreading by moving the context switching component of the Real-Time Operating System (RTOS) to the processor hardware itself. This technique leads to savings of processor clock cycles used by context switching, which is a very important resource for a hard real-time embedded systems.
    Circuits and Systems (MWSCAS), 2011 IEEE 54th International Midwest Symposium on; 01/2011