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 2014Publication History
Skip Abstract Section

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

Index Terms

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

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          • 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

            Copyright © 2014 Authors

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 1 February 2014

            Check for updates

            Qualifiers

            • research-article

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader