Abstract
Linux was originally designed as a general purpose operating system without consideration for real-time applications. Recently, it became a more reliable candidate in the real-time field due to its daily improvements, both for general purpose and real-time usages. In this research, we test two Linux PREEMPT-RT versions (v3.6.6 and v2.6.33.7) in the aim of benchmarking its performance and behaviour to give an insight whether the enhancements in its kernel are improving the determinism of the operating system. Our benchmark will be based on the following experimental measurements' metrics: thread switch latency, interrupt latency, sustained interrupt frequency, mutex and semaphore acquisition and release durations, and finally the locking behaviour of mutex. These measurements are executed for each Linux version, on the same x86 platform (ATOM processor) using the same test framework and measurement equipment. Comparing the results show that Linux v3.6.6 has significantly better worst case results which makes the actual Linux PREEMPT-RT version a better candidate for RT-applications. Suggestions are made for further improvements.
- K. Song and L. Yan, "Improvement of Real-Time Performance of Linux 2.6 Kernel for Embedded Application," in International Forum on Computer Science-Technology and Applications, Chongqing, 2009.Google Scholar
- J. Stankovic and K. Ramamritham, "What is predictability for real-time systems?," Real-Time Systems, vol. 2, no. 4, pp. 247--254, 1990. Google ScholarDigital Library
- P. Regnier, G. Lima and L. Barreto, "Evaluation of Interrupt Handling Timeliness in Real-Time Linux Operating Systems," ACM SIGOPS Operating Systems Review, vol. 42, no. 6, pp. 52--63, 2008. Google ScholarDigital Library
- C. Zujue, L. Xing and Z. Zhixiong, "Research Reform on Embedded Linux's Hard Real-Time Capability in Application," International Conference on Embedded Software and Systems Symposia, pp. 146--151, 29 July 2008. Google ScholarDigital Library
- FSMLabs, "High Performance and Deterministic System Software-FSM Labs," {Online}. Available: http://www.fsmlabs.com/.Google Scholar
- P. d. M. -. D. d. I. Aerospaziale, "RTAI-Official website," {Online}. Available: https://www.rtai.org/.Google Scholar
- Xenomai, "Xenomai: Real-Time Framework for Linux," {Online}. Available: http://www.xenomai.org/.Google Scholar
- M. Mossige, P. Sampath and R. Rao, "Evaluation of Linux rt-preempt for embedded industrial devices for Automation and Power Technologies," in Proceedings of the Ninth Real-Time Linux Workshop, 2007.Google Scholar
- N. Litayem and S. Ben Souad, "Impact of the Linux Real-time Enhancements on the System Performances for Multicore Intel Architectures," International Journal of Computer Applications, vol. 17, no. 3, 2011.Google ScholarCross Ref
- WindRiver, "The First with the Latest: Wind River Linux 4," {Online}. Available: http://www.windriver.com/announces/linux4/.Google Scholar
- P. McKenney, "A realtime preemption overview," {Online}. Available: http://lwn.net/Articles/146861/.Google Scholar
- S. Rostedt and D. V. Hart, "Internals of the RT Patch," in Proceedings of the Linux Symposium, 2007.Google Scholar
- K. Dongwook, L. Woojoong and P. Chanik, "Kernel Thread Scheduling in Real-Time Linux for Wearable Computers," ETRI Journal, vol. 29, no. 3, pp. 270--280, 2007.Google ScholarCross Ref
- S. Arthur, C. Emde and N. McGuire, "Assessment of the Realtime Preemption Patches (RT-Preempt) and their impact on the general purpose performance of the system," in Real-Time Linux Workshop, Linz-Austria, 2007.Google Scholar
- RTwiki, "CONFIG PREEMPT RT Patch," {Online}. Available: https://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_PatchGoogle Scholar
- eLinux.org, "High Resolution Timers," {Online}. Available: http://elinux.org/High_Resolution_Timers.Google Scholar
Index Terms
- Linux PREEMPT-RT v2.6.33 versus v3.6.6: better or worse for real-time applications?
Recommendations
Issues for Making Linux Predictable
SAINT-W '02: Proceedings of the 2002 Symposium on Applications and the Internet (SAINT) WorkshopsThis paper describes some real-time aspects of embedded Linux. Linux has been popular to be used as an operating system for embedded systems because future appliances will become more complicated, and many embedded applications require network and file ...
Timing analysis of the PREEMPT RT Linux kernel
In the theory of real-time scheduling, tasks are described by mathematical variables, which are used in analytical models in order to prove schedulability of the system. On real-time Linux, tasks are computer programs, and Linux developers try to lower ...
Analysis on the Preemptive Kernel Transformation of Linux Operating System
ICSEM '13: Proceedings of the 2013 Fourth International Conference on System Science, Engineering Design and Manufacturing Informatization (icsem 2013)Traditional Linux has defects in the real-time application and the preemption inevitability of its kernel causes the uncertainty of the delay of task switching, which is an important factor to influence real-time performance of the system. This article ...
Comments