* Linux and Xenomai task
@ 2021-03-03 10:24 Leandro Bucci
2021-03-03 12:02 ` Fino Meng
0 siblings, 1 reply; 4+ messages in thread
From: Leandro Bucci @ 2021-03-03 10:24 UTC (permalink / raw)
To: xenomai
hello, I would like confirmation to this question. If I run a Linux
process on a certain processor # 0 and on another processor task of Xenomai
# 1, will the Xenomai tasks never interrupt the execution of the Linux task?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux and Xenomai task
2021-03-03 10:24 Linux and Xenomai task Leandro Bucci
@ 2021-03-03 12:02 ` Fino Meng
2021-03-03 12:14 ` Leandro Bucci
0 siblings, 1 reply; 4+ messages in thread
From: Fino Meng @ 2021-03-03 12:02 UTC (permalink / raw)
To: Leandro Bucci; +Cc: xenomai
O Wed, Mar 03, 2021 at 11:24:00AM +0100, Leandro Bucci via Xenomai wrote:
> hello, I would like confirmation to this question. If I run a Linux
> process on a certain processor # 0 and on another processor task of Xenomai
> # 1, will the Xenomai tasks never interrupt the execution of the Linux task?
by cpu isolation , cpu affinity and irq affinity,
real-time threads are locked to its own core, should not migration,
when u say interrupt, do u mean non-rt Linux task are interrupt by IRQ?
BR fino
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux and Xenomai task
2021-03-03 12:02 ` Fino Meng
@ 2021-03-03 12:14 ` Leandro Bucci
2021-03-03 14:33 ` Fino Meng
0 siblings, 1 reply; 4+ messages in thread
From: Leandro Bucci @ 2021-03-03 12:14 UTC (permalink / raw)
To: Fino Meng; +Cc: xenomai
thanks for the reply, I mean if I have 4 real time tasks assigned to a
single core and a linux process assigned to another core, the linux process
is not interrupted right?
Il mer 3 mar 2021, 13:03 Fino Meng <fino.meng@linux.intel.com> ha scritto:
> O Wed, Mar 03, 2021 at 11:24:00AM +0100, Leandro Bucci via Xenomai wrote:
> > hello, I would like confirmation to this question. If I run a Linux
> > process on a certain processor # 0 and on another processor task of
> Xenomai
> > # 1, will the Xenomai tasks never interrupt the execution of the Linux
> task?
>
> by cpu isolation , cpu affinity and irq affinity,
>
> real-time threads are locked to its own core, should not migration,
>
> when u say interrupt, do u mean non-rt Linux task are interrupt by IRQ?
>
> BR fino
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Linux and Xenomai task
2021-03-03 12:14 ` Leandro Bucci
@ 2021-03-03 14:33 ` Fino Meng
0 siblings, 0 replies; 4+ messages in thread
From: Fino Meng @ 2021-03-03 14:33 UTC (permalink / raw)
To: Leandro Bucci; +Cc: xenomai
Wed, Mar 03, 2021 at 01:14:42PM +0100, Leandro Bucci wrote:
> thanks for the reply, I mean if I have 4 real time tasks assigned to a
> single core and a linux process assigned to another core, the linux process
> is not interrupted right?
I think so, ftrace can show that on different cores, they are running in parallel.
but if u put all the 4 rt-threads onto one core, they cannot run in
parallel. assume all are SCHED_FIFO, higher priority thread will preempt
the lowers.
>
> Il mer 3 mar 2021, 13:03 Fino Meng <fino.meng@linux.intel.com> ha scritto:
>
> > O Wed, Mar 03, 2021 at 11:24:00AM +0100, Leandro Bucci via Xenomai wrote:
> > > hello, I would like confirmation to this question. If I run a Linux
> > > process on a certain processor # 0 and on another processor task of
> > Xenomai
> > > # 1, will the Xenomai tasks never interrupt the execution of the Linux
> > task?
> >
> > by cpu isolation , cpu affinity and irq affinity,
> >
> > real-time threads are locked to its own core, should not migration,
> >
> > when u say interrupt, do u mean non-rt Linux task are interrupt by IRQ?
> >
> > BR fino
> >
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-03 14:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 10:24 Linux and Xenomai task Leandro Bucci
2021-03-03 12:02 ` Fino Meng
2021-03-03 12:14 ` Leandro Bucci
2021-03-03 14:33 ` Fino Meng
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.