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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bird, T.: Comparing two approaches to real-time Linux (2002), http://www.linuxdevice.com
Ripoll, I.: RTLinux versus RTAI (2002), http://www.linuxdevice.com
Dankwardt, K.: Comparing real-time Linux alternatives (2002), http://www.linuxdevice.com
Liu, W.S.: Real-Time System. Prentice Hall (2000)
About, D.: Linux for Embedded and Real-time Applications. Elsevier (2006)
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)
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)
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)
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)
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)
Choi, B.W.: A Review and Outlook of Robotic Software Framework. J. of Korean Robotic Society 5(2), 169–176 (2010)
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)
Franke, M.: A Quantitative Comparison of Realtime Linux Solutions. Chemnitz University of Technology (2007)
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)
RTAI, http://www.rtai.org
Xenomai, http://www.xenomai.org
Labrosse, J.J.: uC/OS-II The Real-Time Kernel. Micrium (2009)
Real-Time FIFO for Deterministic Data Transfer Between Vis. National Instrument (2011)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)