Xenomai is a software framework that cooperates with the Linux kernel to provide interface-agnostic, hard real-time computing support to user-space application software seamlessly integrated into the Linux environment.
History
The Xenomai project was launched in August 2001. In 2003, it merged with the Real-Time Application Interface (RTAI) project to produce RTAI/fusion, a real-time free software platform for Linux built on Xenomai's abstract real-time operating system (RTOS) core. The RTAI/fusion effort became independent from RTAI in 2005 as the Xenomai project.
Architecture
Xenomai is based on an abstract RTOS core, which can be used to build any kind of real-time interface. It operates over a nucleus that exports a set of generic RTOS services. Any number of RTOS personalities, referred to as "skins," can be built over the nucleus, each providing its own specific interface to applications while using the services of a single generic core for implementation.
Xenomai supports two primary operational modes. In a dual-kernel configuration, it runs seamlessly alongside Linux as a companion core embedded within the kernel, delivering stringent real-time guarantees to certain tasks. Alternatively, Xenomai can run natively over mainline Linux kernels, in which case the kernel may be supplemented by the PREEMPT-RT patch to meet stricter response-time requirements than standard kernel preemption provides.
Comparison with RTAI
Xenomai and RTAI share several ideas and both support the Real-Time Driver Model (RTDM) layer, but they differ in their primary goals. While RTAI focuses on the lowest technically feasible latencies, Xenomai also emphasizes clean extensibility (through RTOS skins), portability, and maintainability as important objectives. Xenomai's path toward supporting Ingo Molnár's PREEMPT_RT is another notable difference compared to RTAI's objectives.
Platforms and releases
Xenomai supports multiple hardware platforms, including x86, ARM, POWER, IA-64, Blackfin, and Nios II. The project's stable release 3.2.1 was published on 15 November 2021. The project has also evolved into Xenomai 4, which continues the dual-kernel approach with its EVL core. The official project website is www.xenomai.org, and the source code is hosted on GitHub.