Xenomai scheduler
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?
Quoted 6 lines · Leandro Bucci via Xenomai
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.
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux