* Can mode switches of one thread effect realtime of other xenomai threads?
@ 2022-02-04 10:51 Kristian Rahbek
2022-02-07 7:24 ` Jan Kiszka
0 siblings, 1 reply; 2+ messages in thread
From: Kristian Rahbek @ 2022-02-04 10:51 UTC (permalink / raw)
To: xenomai
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?
Best regards,
Kristian Rahbek
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can mode switches of one thread effect realtime of other xenomai threads?
2022-02-04 10:51 Can mode switches of one thread effect realtime of other xenomai threads? Kristian Rahbek
@ 2022-02-07 7:24 ` Jan Kiszka
0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2022-02-07 7:24 UTC (permalink / raw)
To: Kristian Rahbek, xenomai
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-02-07 7:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-04 10:51 Can mode switches of one thread effect realtime of other xenomai threads? Kristian Rahbek
2022-02-07 7:24 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.