Hi,

Karim got better than I could explain it myself.

Take into account that also the global cli/sti stuff is mostly taken
from ideas found in Linux irq.c

However the big difference between scheduling on the same and on another
CPU is due to the need of sending an InterProcessorInterrupt (IPI) to
the other CPU to have it schedule the task that could not be scheduled
on the CPU that made it ready, because other, higher or equal, priority
could be scheduled on it.

The IPI bus is not a kind of lightning, open drain two wires max 16 Mhz,
and can take a few us on its own, just to send the IPI.

The SMP scheduler is aimed at max flexibility, if you can statically
bound your task to a CPU it is likely you can get better performances
with the MUP scheduler.

Ciao, Paolo.
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to