The Community for Technology Leaders
Green Image
Issue No. 07 - July (2011 vol. 60)
ISSN: 0018-9340
pp: 978-991
Yi Wang , The Hong Kong Polytechnic University, Hong Kong
Miao Liu , Beihang University, Beijing
Meng Wang , The Hong Kong Polytechnic University, Hong Kong
Zili Shao , The Hong Kong Polytechnic University, Hong Kong
Duo Liu , The Hong Kong Polytechnic University, Hong Kong
In this paper, we propose to implement hybrid operating systems based on two-level hardware interrupts. We analyze and model the worst-case real-time interrupt latency for RTAI and identify the key component for its optimization. Then, we propose our methodology to implement hybrid operating systems with two-level hardware interrupts by combining the real-time kernel and the time-sharing OS (Operating System) kernel. Based on the methodology, we discuss the important issues for the implementation. Finally, we implement a hybrid system called RTLinux-THIN (Real-Time LINUX with Two-level Hardware INterrupts) on the ARM architecture by combining ARM Linux kernel 2.6.9 and \mu{\rm C/OS}\hbox{-}{\rm II}. We conduct experiments on a set of real application programs including mplayer, Bonnie, and iperf, and compare the interrupt latency and interrupt task distributions for RTLinux-THIN (with and without cache locking), RTAI, Linux, and Linux with RT patch on a hardware platform based on Intel PXA270 processor. The results show that our scheme not only provides an easy method for implementing hybrid systems but also achieves the performance improvement for both the time-sharing and real-time subsystems.
Hybrid operating systems, real-time interrupt latency, RTAI, Linux, two-level hardware interrupts.
Yi Wang, Miao Liu, Meng Wang, Zili Shao, Duo Liu, "On Improving Real-Time Interrupt Latencies of Hybrid Operating Systems with Two-Level Hardware Interrupts", IEEE Transactions on Computers, vol. 60, no. , pp. 978-991, July 2011, doi:10.1109/TC.2010.119
93 ms
(Ver )