<br><br><div class="gmail_quote">On Wed, Sep 21, 2011 at 4:46 PM, Murali N <span dir="ltr">&lt;<a href="mailto:nalajala.murali@gmail.com">nalajala.murali@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
Can somebody give pointers to the load balancing scheduler on Linux. I<br>
hope this is the default scheduler which is used on most of the linux<br>
systems on SMP environment.<br>
I would like to know how the scheduler takes a decision to migrate<br>
some of the processes to the another core?<br>
<br>
I have a scenario like below:<br>
<br>
If CORE0 is running per say 2 threads which can be handled by CORE0<br>
itself ( by running at higher frequencies ) without enabling the CORE1<br>
( put into some low power mode ).<br>
How the scheduler takes this kind of decision intelligently!!!<br>
<font color="#888888"><br>
--<br>
Regards,<br>
Murali N<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</font></blockquote></div>Hi, <br><br>You can refer the link <a href="http://www.ibm.com/developerworks/linux/library/l-scheduler/">http://www.ibm.com/developerworks/linux/library/l-scheduler/</a><br><br>Also, there is a notion of processor affinity, in linux one can set the processe&#39;s affinity with the taskset command.<br>
<br>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.<br><br>Regards,<br>Rohan Puri<br>