jan.kiszka at siemens.com
Mon Dec 7 07:55:51 CET 2020
On 05.12.20 09:22, Leandro Bucci via Xenomai wrote:
> hi, i have a doubt about the Xenomai scheduler. When I create multiple
> tasks, are they assigned to the various available system CPUs? if I have
> two tasks T1 and T2, where T1 has high priority and T2 low priority, and my
> system has 4 CPUs, does Xenomai assign T1 and T2 to two different
> processors (to optimize) or does it assign them to the same processor?
Xenomai does not implement any kind of load-balancing algorithm. It
simply takes the CPU the Linux part of the thread was running on during
creation. It furthermore accepts any explicit affinity assignments
during runtime. So it's up to you to design the optimal RT thread
placement for your system.
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
More information about the Xenomai