Can Xenomai replace RT_PREEMPT as system requirement too provide realtime safe environment?

0

I need to run some software that list Linux with PREEMPT_RT patched kernel as system requirement. However, NVIDIA binary drivers (that I also plan to use) are not supported on PREEMPT_RT kernels and various reports exist that trying to use them alongside PREEMPT_RT kernel will lead to "random" screen freezes.

Therefore, I have been looking for other real time solutions on Linux and came across Xenomai, that does not replace the vanilla kernel but instead provides a separate real-time safe kernel "Cobalt" that runs with higher priority than the Linux kernel processes themselves, thus providing a host for RT processes. Nvidia drivers would then execute normally within the vanilla kernel.

In my understanding requiring RT_PREEMPT does not mean making some specific calls, but it serves just to guarantee that the calls are executed one after another as "it's about determinism, not performance". Computation should delivered at the correct time

So are the two solutions interchangeable? Can Xenomai be configured to be used instead of RT_PREEMPT?

random guy

Posted 2019-01-08T20:52:30.530

Reputation: 101

Are you looking for information from someone who has used these solutions? Have you tried running Xenomai and observed the results? Right now I'm not sure what your question actually is. – music2myear – 2019-01-08T21:30:57.183

Basically, I am not sure if applying RT_PREEMPT patch adds some additional calls that Xenomai doesn't. Can I asume that running the program in Cobalt will bahave as it was run on Linux? – random guy – 2019-01-08T21:34:43.137

That's a really broad question, and the best way to answer it is to set up a test environment and try it yourself. – music2myear – 2019-01-08T21:35:39.440

No answers