On 04.02.22 11:51, Kristian Rahbek via Xenomai wrote: > Hello, > > We are running Xenomai 3 with Cobalt kernel. > We have a realtime xenomai userspace application (which is driven by a RTDM), > it runs with the highest priority and doesn't have any mode switches. Let's > call it thread 'A'. > Reading the documentation it's unclear to us, if it can have any ill-effects > on the realtime performance of thread A, if the process which spawns thread A > has other Xenomai threads, which do have mode switches. > Is that the case? > What about separate processes with Xenomai threads, if those have switches > between primary and secondary mode (MSW's), can that have any effect on the > realtime performance of thread A? >
Mode switches are effectively context switches which involve a short uninterruptible section. But in that regard they are not worth than switching between two RT tasks while a third, highest prio task is getting ready. Jan -- Siemens AG, Technology Competence Center Embedded Linux