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

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.

[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]  Byoung Wook Choi,et al.  Performance Evaluation of Real-time Mechanisms for Real-time Embedded Linux , 2012 .

[3]  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).

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

[5]  Jane W.-S. Liu Real-Time Systems , 2000, Encyclopedia of Algorithms.

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

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

[8]  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.

[9]  C. Taliercio,et al.  Performance Comparison of VxWorks, Linux, RTAI, and Xenomai in a Hard Real-Time Application , 2008 .

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

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