Work

What Changes with Xenomai 4? An Empirical Study of Real-Time Performance in EtherCAT-Based Robotic Control

Year: 2026
Type: article
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.
Institution: Myongji University
Language: English
Open Access status: gold
Estimated APC paid: $2,896
OpenAlex ID: W7235369015
FWCI:
Cites: 34
Cited by:
Related to: 10