Real-time Performance of Real-time Mechanisms for RTAI and Xenomai in Various Running Conditions

For a real-time system, 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 widely accepted in designing real-time systems. The real-time performance is achieved by using real-time mechanisms through data communication and synchronization of inter-task communication (ITC) between tasks. Therefore, benchmarking the response time of real-time mechanisms is a good measure to predict the performance of real-time systems. This paper aims to analyze the response characteristics of real-time mechanisms in kernel and user space for real-time embedded Linux: RTAI and Xenomai. The performance evaluations of real-time mechanisms depending on the changes of task periods and load are also conducted in kernel and user space. Test metrics are jitter of periodic tasks and response time of real-time mechanisms including semaphore, real-time FIFO, Mailbox and Message queue. The results are promising to estimate deterministic real-time task execution in implementing real-time systems using RTAI or Xenomai.

[1]  Meng Wang,et al.  On Improving Real-Time Interrupt Latencies of Hybrid Operating Systems with Two-Level Hardware Interrupts , 2011, IEEE Transactions on Computers.

[2]  James F. Hubbert The real time system , 1972, DATB.

[3]  Achmad I. Kistijantoro,et al.  Analysis and benchmarking performance of Real Time Patch Linux and Xenomai in serving a real time application , 2011, Proceedings of the 2011 International Conference on Electrical Engineering and Informatics.

[4]  Byoung Wook Choi,et al.  Performance Evaluation of Real-time Mechanisms for Real-time Embedded Linux , 2012 .

[5]  Guoyin Zhang,et al.  Study and Comparison of the RTHAL-Based and ADEOS-Based RTAI Real-time Solutions for Linux , 2006, First International Multi-Symposiums on Computer and Computational Sciences (IMSCCS'06).

[6]  Jean J. Labrosse uC/OS-III, The Real-Time Kernel, or a High Performance, Scalable, ROMable, Preemptive, Multitasking Kernel for Microprocessors, Microcontrollers & DSPs , 2009 .

[7]  Byoung Wook Choi,et al.  Real-time control architecture using Xenomai for intelligent service robots in USN environments , 2009, Intell. Serv. Robotics.

[8]  M. Kthiri,et al.  Performances analysis and evaluation of Xenomai with a H.264/AVC decoder , 2011, ICM 2011 Proceeding.

[9]  Byoung Wook Choi A Review and Outlook of Robotic Software Frameworks , 2010 .

[10]  Doug Abbott,et al.  Linux for Embedded and Real-time Applications , 2003 .

[11]  G. Manduchi,et al.  Performance Comparison of VxWorks, Linux, RTAI, and Xenomai in a Hard Real-Time Application , 2008, IEEE Transactions on Nuclear Science.