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

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.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-11-17
DOI
https://doi.org/10.3390/app162211386
Primary Topic
Real-Time Systems Scheduling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

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

Raimarius Delgado, Keon Woo Kim
Applied Sciences
Real-Time Systems Scheduling
article

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

Raimarius Delgado, Keon Woo Kim
article en

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.

Applied SciencesVol. 16(22)
Myongji University (KR)
Myongji University, Korea Institute of Science and Technology
Real-Time Systems Scheduling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon