Skip to main content

On Benchmarking the Predictability of Real-Time Mechanisms in User and Kernel Spaces for Real-Time Embedded Linux

  • Conference paper
Computer Applications for Security, Control and System Engineering

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 339))

Abstract

Benchmarking the response time of real-time mechanisms is a good measure for predicting the performance of real-time systems. We report on analysis results obtained by comparing the response characteristics of real-time mechanisms in the kernel space to those in the user space for real-time embedded Linux: RTAI and Xenomai. Evaluations were performed on a semaphore, real-time FIFO, and Mailbox and Message queue. The periodicity of tasks was relatively consistent in the kernel space and Xenomai performed better than RTAI in the user space. For real-time mechanisms, the response times in the kernel space were better at low latencies. In Xenomai, the semaphore showed a good response time in both the kernel and user space, but real-time FIFO in RTAI showed a faster response. These results are promising for the estimation of deterministic real-time task execution to implement real-time systems using real-time embedded Linux.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Bird, T.: Comparing two approaches to real-time Linux (2002), http://www.linuxdevice.com

  2. Ripoll, I.: RTLinux versus RTAI (2002), http://www.linuxdevice.com

  3. Dankwardt, K.: Comparing real-time Linux alternatives (2002), http://www.linuxdevice.com

  4. Liu, W.S.: Real-Time System. Prentice Hall (2000)

    Google Scholar 

  5. About, D.: Linux for Embedded and Real-time Applications. Elsevier (2006)

    Google Scholar 

  6. Marieska, M.D., Kistijantoro, A.I., Subair, M.: Analysis and Benchmarking Performance of Real Time Patch Linux and Xenomai in Serving a Real Time Application. In: Proc. of International Conf. on Electrical Engineering and Informatics, pp. 1–6 (2011)

    Google Scholar 

  7. Kadionik, P., Le, G.B., Levi, H., Atitallah, B.A.: Performances analysis and evaluation of Xenomai with a H.264/AVC decoder. In: Proc. of International Conf. on Microeletronics, pp. 1–4 (2011)

    Google Scholar 

  8. Zhang, G., Chen, L., Yao, A.: Study and Comparison of the RTHAL-based and ADEOS-based RTAI Real-time Solutions for Linux. In: Proc. of International MultiSymposium on Computer and Computational Sciences, pp. 771–775 (2006)

    Google Scholar 

  9. Liu, M., Liu, D., Wang, Y., Wang, M., Shao, Z.: On Improving Real-Time Interrupt Latencies of Hybrid Operating Systems with Two-Level Hardware Interrupts. IEEE Trans. on Computers 60(7), 978–991 (2001)

    Article  MathSciNet  Google Scholar 

  10. Barbalace, A., Lunchetta, A., Manduchi, G., Moro, M., Soppelsa, A., Taliercio, C.: Performance Comparison of VxWorks, Linux, RTAI and XENOMAI in a Hard Real-time Application. In: Proc. of Real-Time Conference 2007 15th IEEE-NPSS, pp. 1–5 (2007)

    Google Scholar 

  11. Choi, B.W.: A Review and Outlook of Robotic Software Framework. J. of Korean Robotic Society 5(2), 169–176 (2010)

    Google Scholar 

  12. Choi, B.W., Shin, D.G., Park, J.H., Yi, S.Y., Gerald, S.: Real-time control architecture using Xenomai for intelligent service robot in USN environment. J. of Intelligent Service Robotics 2(2), 139–151 (2009)

    Article  Google Scholar 

  13. Franke, M.: A Quantitative Comparison of Realtime Linux Solutions. Chemnitz University of Technology (2007)

    Google Scholar 

  14. Koh, J.H., Choi, B.W.: Performance Evaluation of Real-time Mechanisms for Real-time Embedded Linux. J. of Institute of Control, Robotics and Systems 18(4), 337–342 (2012) (in Korean)

    Article  Google Scholar 

  15. RTAI, http://www.rtai.org

  16. Xenomai, http://www.xenomai.org

  17. Labrosse, J.J.: uC/OS-II The Real-Time Kernel. Micrium (2009)

    Google Scholar 

  18. Real-Time FIFO for Deterministic Data Transfer Between Vis. National Instrument (2011)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Koh, J.H., Choi, B.W. (2012). On Benchmarking the Predictability of Real-Time Mechanisms in User and Kernel Spaces for Real-Time Embedded Linux. In: Kim, Th., et al. Computer Applications for Security, Control and System Engineering. Communications in Computer and Information Science, vol 339. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-35264-5_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-35264-5_29

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-35263-8

  • Online ISBN: 978-3-642-35264-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics