Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Linux PREEMPT-RT v2.6.33 versus v3.6.6: better or worse for real-time applications?

Published: 01 February 2014 Publication History

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.

References

[1]
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.
[2]
J. Stankovic and K. Ramamritham, "What is predictability for real-time systems?," Real-Time Systems, vol. 2, no. 4, pp. 247--254, 1990.
[3]
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.
[4]
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.
[5]
FSMLabs, "High Performance and Deterministic System Software-FSM Labs," {Online}. Available: http://www.fsmlabs.com/.
[6]
P. d. M. -. D. d. I. Aerospaziale, "RTAI-Official website," {Online}. Available: https://www.rtai.org/.
[7]
Xenomai, "Xenomai: Real-Time Framework for Linux," {Online}. Available: http://www.xenomai.org/.
[8]
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.
[9]
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.
[10]
WindRiver, "The First with the Latest: Wind River Linux 4," {Online}. Available: http://www.windriver.com/announces/linux4/.
[11]
P. McKenney, "A realtime preemption overview," {Online}. Available: http://lwn.net/Articles/146861/.
[12]
S. Rostedt and D. V. Hart, "Internals of the RT Patch," in Proceedings of the Linux Symposium, 2007.
[13]
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.
[14]
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.
[15]
RTwiki, "CONFIG PREEMPT RT Patch," {Online}. Available: https://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch
[16]
eLinux.org, "High Resolution Timers," {Online}. Available: http://elinux.org/High_Resolution_Timers.

Cited By

View all
  • (2023)Design of High-Performance and General-Purpose Satellite Management Unit Based on Rad-Hard Multi-Core SoCand LinuxAerospace10.3390/aerospace1002020110:2(201)Online publication date: 20-Feb-2023
  • (2022)Real-Time Performance Analysis and Tuning of Embedded System Virtualization Architecture Based on KVMInternational Journal of Embedded and Real-Time Communication Systems10.4018/IJERTCS.30211313:1(1-20)Online publication date: 29-Jun-2022
  • (2021)Performance Assessment of Linux Kernels with PREEMPT_RT on ARM-Based Embedded DevicesElectronics10.3390/electronics1011133110:11(1331)Online publication date: 1-Jun-2021
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGBED Review
ACM SIGBED Review  Volume 11, Issue 1
Special Issue on the 3rd Embedded Operating System Workshop (EWiLi 2013)
February 2014
72 pages
EISSN:1551-3688
DOI:10.1145/2597457
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 February 2014
Published in SIGBED Volume 11, Issue 1

Check for updates

Author Tags

  1. Linux
  2. PREEMPT-RT
  3. real-time

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)3
  • Downloads (Last 6 weeks)0
Reflects downloads up to 28 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Design of High-Performance and General-Purpose Satellite Management Unit Based on Rad-Hard Multi-Core SoCand LinuxAerospace10.3390/aerospace1002020110:2(201)Online publication date: 20-Feb-2023
  • (2022)Real-Time Performance Analysis and Tuning of Embedded System Virtualization Architecture Based on KVMInternational Journal of Embedded and Real-Time Communication Systems10.4018/IJERTCS.30211313:1(1-20)Online publication date: 29-Jun-2022
  • (2021)Performance Assessment of Linux Kernels with PREEMPT_RT on ARM-Based Embedded DevicesElectronics10.3390/electronics1011133110:11(1331)Online publication date: 1-Jun-2021
  • (2020)Enabling Mobile Service Continuity Across Orchestrated Edge NetworksIEEE Transactions on Network Science and Engineering10.1109/TNSE.2019.29531297:3(1774-1787)Online publication date: 1-Jul-2020
  • (2019)The Real-Time Linux KernelACM Computing Surveys10.1145/329771452:1(1-36)Online publication date: 21-Feb-2019
  • (2019)Industrial Control via Application Containers: Migrating from Bare-Metal to IAAS2019 IEEE International Conference on Cloud Computing Technology and Science (CloudCom)10.1109/CloudCom.2019.00021(62-69)Online publication date: Dec-2019
  • (2019)Improving Real Time Performance of Linux System Using RT-LinuxJournal of Physics: Conference Series10.1088/1742-6596/1237/5/0520171237(052017)Online publication date: 12-Jul-2019
  • (2019)An Approach of Implementing SW-TPM in Real-Time Operating SystemTrusted Computing and Information Security10.1007/978-981-13-5913-2_7(99-112)Online publication date: 9-Jan-2019
  • (2018)Virtualizing Programmable Logic ControllersIEEE Embedded Systems Letters10.1109/LES.2016.26084188:4(69-72)Online publication date: 12-Dec-2018
  • (2017)Mixed Time-Criticality Process Interferences Characterization on a Multicore Linux System2017 Euromicro Conference on Digital System Design (DSD)10.1109/DSD.2017.18(427-434)Online publication date: Aug-2017
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media