load balancing scheduler on linux
rohan.puri15 at gmail.com
Wed Sep 21 07:45:39 EDT 2011
On Wed, Sep 21, 2011 at 4:46 PM, Murali N <nalajala.murali at gmail.com> wrote:
> Can somebody give pointers to the load balancing scheduler on Linux. I
> hope this is the default scheduler which is used on most of the linux
> systems on SMP environment.
> I would like to know how the scheduler takes a decision to migrate
> some of the processes to the another core?
> I have a scenario like below:
> If CORE0 is running per say 2 threads which can be handled by CORE0
> itself ( by running at higher frequencies ) without enabling the CORE1
> ( put into some low power mode ).
> How the scheduler takes this kind of decision intelligently!!!
> Murali N
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
You can refer the link
Also, there is a notion of processor affinity, in linux one can set the
processe's affinity with the taskset command.
Either user can set this affinity thing or the scheduler attempts to keep
processes on the same CPU as long as practical for performance reasons.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies