Advertisement

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

  • Jae Hwan Koh
  • Byoung Wook Choi
Part of the Communications in Computer and Information Science book series (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.

Keywords

Real-time Embedded Linux Real-time Mechanisms RTAI Xenomai Time Response 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Bird, T.: Comparing two approaches to real-time Linux (2002), http://www.linuxdevice.com
  2. 2.
    Ripoll, I.: RTLinux versus RTAI (2002), http://www.linuxdevice.com
  3. 3.
    Dankwardt, K.: Comparing real-time Linux alternatives (2002), http://www.linuxdevice.com
  4. 4.
    Liu, W.S.: Real-Time System. Prentice Hall (2000)Google Scholar
  5. 5.
    About, D.: Linux for Embedded and Real-time Applications. Elsevier (2006)Google Scholar
  6. 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. 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. 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. 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)MathSciNetCrossRefGoogle Scholar
  10. 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. 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. 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)CrossRefGoogle Scholar
  13. 13.
    Franke, M.: A Quantitative Comparison of Realtime Linux Solutions. Chemnitz University of Technology (2007)Google Scholar
  14. 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)CrossRefGoogle Scholar
  15. 15.
  16. 16.
  17. 17.
    Labrosse, J.J.: uC/OS-II The Real-Time Kernel. Micrium (2009)Google Scholar
  18. 18.
    Real-Time FIFO for Deterministic Data Transfer Between Vis. National Instrument (2011)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Jae Hwan Koh
    • 1
  • Byoung Wook Choi
    • 1
  1. 1.Dept. of Electrical and Information EngineeringSeoul National University of Science and TechnologySeoulSouth Korea

Personalised recommendations