Xenomai + PREEMPT_RT
Hi all!
With PREEMPT_RT getting more and more mature, it seems natural that PREEMPT_RT could be used with Xenomai. Has anyone considered this already? Or even better, is anyone already doing work with these two technologies combined?
Daniel
Quoted 5 lines · Daniel Walker
Hi all!
With
PREEMPT_RTgetting more and more mature, it seems natural thatPREEMPT_RTcould be used with Xenomai. Has anyone considered this already?
A clear yes: this is part of the long-term roadmap we are currently preparing, just stay tuned. In fact, Philippe expressed this goal already in earlier announcements.
Having native (patch-less) real-time will indeed be an interesting option for the future, besides co-scheduling.
Quoted 2 lines
Or even better, is anyone already doing work with these two technologies combined?
There once existed a combo patch (that I don't find ATM) of an ancient -rt version + old Adeos, a combination that will more or less automatically come again when PREEMPT_RT is mainline. Porting the nucleus over PREEMPT_RT so that the skins can run "natively" is another task yet to begin. Anyway, we are already including this perspective in current design decisions when subsystems are revised or enhanced.
Jan
Quoted 9 lines · Jan Kiszka
Quoted 2 lines
Or even better, is anyone already doing work with these two technologies combined?
There once existed a combo patch (that I don't find ATM) of an ancient -rt version + old Adeos, a combination that will more or less automatically come again when
PREEMPT_RTis mainline. Porting the nucleus overPREEMPT_RTso that the skins can run "natively" is another task yet to begin. Anyway, we are already including this perspective in current design decisions when subsystems are revised or enhanced.
So I take it that designing the combined version is still taking place?
It sounds like the current direction is more of a straight merge. Since PREEMPT_RT and Xenomai are somewhat parallel in purpose would there be any room to eliminate duplication between the two?
Daniel
Quoted 11 lines · Daniel Walker
Quoted 8 lines · Jan Kiszka
Quoted 2 lines
Or even better, is anyone already doing work with these two technologies combined?
There once existed a combo patch (that I don't find ATM) of an ancient -rt version + old Adeos, a combination that will more or less automatically come again when
PREEMPT_RTis mainline. Porting the nucleus overPREEMPT_RTso that the skins can run "natively" is another task yet to begin. Anyway, we are already including this perspective in current design decisions when subsystems are revised or enhanced.So I take it that designing the combined version is still taking place?
You can do so. It's a mid- to long-term goal while we also have to take care of immediate user requirements.
Quoted 4 lines
It sounds like the current direction is more of a straight merge. Since
PREEMPT_RTand Xenomai are somewhat parallel in purpose would there be any room to eliminate duplication between the two?
There are certainly duplications, both wrt/ technology and application scenarios, though none of both projects is a subset of the other. For sure it would be nice if we can find common grounds, make components interchangeable or merge features into mainline. If you already have any rough ideas, please let us know.
Jan
Quoted 11 lines · Daniel Walker
Quoted 9 lines · Jan Kiszka
Quoted 2 lines
Or even better, is anyone already doing work with these two technologies combined?
There once existed a combo patch (that I don't find ATM) of an ancient -rt version + old Adeos, a combination that will more or less automatically come again when
PREEMPT_RTis mainline. Porting the nucleus overPREEMPT_RTso that the skins can run "natively" is another task yet to begin. Anyway, we are already including this perspective in current design decisions when subsystems are revised or enhanced.
Quoted 5 lines
So I take it that designing the combined version is still taking place?
It sounds like the current direction is more of a straight merge. Since
PREEMPT_RTand Xenomai are somewhat parallel in purpose would there be any room to eliminate duplication between the two?
The current direction is about allowing the Xenomai core and interfaces to run indifferently over the current co-kernel technology, or a native preemption one, to get the real-time predictability.
Xenomai is all about the real-time interfaces it provides to
applications: emulation of legacy RTOS core APIs (e.g. VRTX, pSOS+, VxWorks, ...) and standard specifications (e.g. POSIX 1003.1b, uITRON). Additionally, the RTDM interface abstracts the underlying RTOS services needed for implementing our real-time drivers for industrial devices (e.g. CAN).
In other words, POSIX aside, all the rest would remain relevant, including over a PREEMPT_RT kernel, particularly as a migration tool from non-Linux environments.
Signature · 1 line
Philippe.
Quoted 2 lines · Jan Kiszka
There once existed a combo patch (that I don't find ATM) of an ancient -rt version + old Adeos,
Here:
Signature · 1 line
Gilles Chanteperdrix.