What Changes with Xenomai 4? An Empirical Study of Real-Time Performance in EtherCAT-Based Robotic Control
Open Access
- 17 November 2026
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 16 (22) , 11386
Abstract
Xenomai 4 replaces several longstanding mechanisms of Xenomai 3 with an integrated Embedded Virtual Linux (EVL) architecture, motivating a controlled reassessment of real-time Linux behavior in application-oriented control workloads. This study compares PREEMPT_RT, Xenomai 3/Cobalt, and Xenomai 4/EVL on an Intel multicore platform and a Raspberry Pi 5 using a common evaluation framework covering periodic scheduling, synchronization, inter-domain communication, and UDP networking under idle and CPU/memory interference conditions. Two measurement issues are addressed: lower-priority observed-period wobble is separated from release-based response time, and a fixed-work execution budget generator is used to mitigate preemption absorption by wall-clock busy waiting. The benchmark results show that timing behavior is platform- and metric-dependent rather than uniformly ordered across frameworks. EVL exhibits concentrated synchronization tails and allows an out-of-band application thread to perform UDP communication without demotion even when final NIC I/O is handled by a generic in-band driver (this configuration is not equivalent to an end-to-end out-of-band hardware path). The benchmark findings are then examined in an EtherCAT collaborative robot case study at 1 ms and 0.5 ms master software cycle periods. On the NUC, Cobalt uses the native RTDM EtherCAT path available in the tested configuration, while EVL and PREEMPT_RT use in-band paths; on the Raspberry Pi 5, all three frameworks use the generic in-band path. Across the experiments, the results show that practical real-time performance depends jointly on kernel architecture, processor microarchitecture, workload interference, and driver or middleware support. Together, these findings advance the empirical understanding of real-time Linux systems and provide a reproducible methodological reference and practical engineering guidelines for academia and industry in designing, evaluating, and deploying future real-time robotic control architectures.Keywords
Funding Information
- Myongji University
- Korea Institute of Science and Technology (26Z9020)
This publication has 28 references indexed in Scilit:
- Testing the limits of general-purpose hypervisors for real-time control systemsMicroprocessors and Microsystems, 2023
- Dual-Channel EtherCAT Control System for 33-DOF Humanoid Robot TOCABIIEEE Access, 2023
- The XBot2 real-time middleware for roboticsRobotics and Autonomous Systems, 2023
- Human-Robot Interaction Review: Challenges and Solutions for Modern Industrial EnvironmentsIEEE Access, 2021
- New Insights Into the Real-Time Performance of a Multicore ProcessorIEEE Access, 2020
- Industrial Control via Application Containers: Migrating from Bare-Metal to IAAS2019
- Real-time control architecture based on Xenomai using ROS packages for a service robotJournal of Systems and Software, 2019
- Working Together: A Review on Safe Human-Robot Collaboration in Industrial EnvironmentsIEEE Access, 2017
- Hard Real-Time Computing Systems2011
- Real-time Ethernet: the EtherCAT solutionComputing & Control Engineering Journal, 2004