Is there a difference between the ((performing)) of the schedule function in multi-processors system to it`s ((performing)) in uni-processor system ?
Asked
Active
Viewed 87 times
1 Answers
1
Some things to consider:
- If each processor run its own clock then scheduler can be invoked in different time independently on each core, or even set to tickless.
- Each processor needs its own run queue.
- Scheduler can take action to load balance and migrate tasks from a hot processor to less contended ones.
More information could be found in book Professional Linux kernel architecture Chapter 2.8.1 or by check Linux source code kernel/sched/* and search for those controlled by CONFIG_SMP marco, which is essentially the diff between SMP and non-SMP version.

Wei Shen
- 2,014
- 19
- 17