DOI QR코드

DOI QR Code

On Benchmarking of Real-time Mechanisms in Various Periodic Tasks for Real-time Embedded Linux

실시간 임베디드 리눅스에서 다양한 주기적 타스크의 실시간 메커니즘 성능 분석

  • Koh, Jae-Hwan (Electrical Engineering, Seoul National Univ. of Science and Technology) ;
  • Choi, Byoung-Wook (Electrical and Information Engineering, Seoul National Univ. of Science and Technology)
  • Received : 2012.08.10
  • Accepted : 2012.11.08
  • Published : 2012.11.30

Abstract

It is a real-time system that the system correctness depends not only on the correctness of the logical result of the computation but also on the result delivery time. Real-time Operating System (RTOS) is a software that manages the time of a microprocessor to ensure that the most important code runs first so that it is a good building block to design the real-time system. The real-time performance is achieved by using real-time mechanisms through data communication and synchronization of inter-task communication (ITC) between tasks. Therefore, test on the response time of real-time mechanisms is a good measure to predict the performance of real-time systems. This paper aims to analysis the response characteristics of real-time mechanisms in kernel space for real-time embedded Linux: RTAI and Xenomai. The performance evaluations of real-time mechanism depending on the changes of task periods are conducted. Test metrics are jitter of periodic tasks and response time of real-time mechanisms including semaphore, real-time FIFO, Mailbox and Message queue. The periodicity of tasks is relatively consistent for Xenomai but RTAI reveals smaller jitter as an average result. As for real-time mechanisms, semaphore and message transfer mechanism of Xenomai has a superior response to estimate deterministic real-time task execution. But real-time FIFO in RTAI shows faster response. The results are promising to estimate deterministic real-time task execution in implementing real-time systems using real-time embedded Linux.

Keywords

References

  1. Tim Bird, "Comparing two approaches to real-time Linux", www.linuxdevices.com, 2002
  2. Ismael Ripoll,"RTLinux versus RTAI", www.linuxdevices.com, 2002
  3. Kevin Dankwardt, "Comparing real-time Linux alternatives", www.linuxdevices.com, 2000
  4. W. S. Liu, Real-Time System, Prentice Hall, 2000
  5. D.Abbout, "Linux for Embedded and Real-time Applications", Elsevier, 2006
  6. M.D. Marieska, A.I. Kistijantoro, and M. Subair, "Analysis and Benchmarking Performance of Real Time Patch Linux and Xenomai in Serving a Real Time Application," Proc. of International Conf. on Electrical Engineering and Informatics, pp.1-6, 2011
  7. P. Kadionik, B. Le Gal, H. Levi, Ben Atitallah, "A. Performances analysis and evaluation of Xenomai with a H.264/AVC decoder," Proc. of International Conf. on Microeletronics, pp.1-4, 2011
  8. G. Zhang, L. Chen, and A. Yao, "Study and Comparison of the RTHAL-based and ADEOS-based RTAI Real-time Solutions for Linux," Proc. of International Multi-Symposium on Computer and Computational Sciences, pp.771-775, 2006
  9. M. Liu, D. Liu, Y. Wang, M. Wang, and Z. Shao, "On Improving Real-Time Interrupt Latencies of Hybrid Operating Systems with Two-Level Hardware Interrupts," IEEE Trans. on Computers, Vol.60, No.7, pp.978-991, 2001
  10. Choi, B.W, "A Review and Outlook of Robotics Software Framework", J. of Korean Robotic Society, Vol5, No2, pp169-176, 2010
  11. A.Barbalace, A. Lunchetta, G Manduchi, M.Moro, A. Soppelsa and C. Taliercio, "Performance Comparison of VxWorks, Linux, RTAI and XENOMAI in a Hard Real-time Application," Proc. of Real-Time Conference 2007 15th IEEE-NPSS, pp.1-5, May 2007.
  12. M. Franke, "A Quantitative Comparison of Realtime Linux Solutions," Chemnitz University of Technology, 2007.
  13. 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, Vol18, No.4, pp. 337-342, 2012. https://doi.org/10.5302/J.ICROS.2012.18.4.337
  14. uC/OS-III, http://micrium.com

Cited by

  1. RTiK과 DPC 제어를 통한 윈도우즈 기반의 검사장비에서 MIL-STD-1553B 통신의 실시간 구현 vol.24, pp.2, 2012, https://doi.org/10.9717/kmms.2020.24.2.199