why are scheduling domains used in multiprocessor systems

Peter Teoh htmldeveloper at gmail.com
Fri Jan 11 01:45:01 EST 2013


On Thu, Jan 10, 2013 at 6:09 PM, Bond <jamesbond.2k.g at gmail.com> wrote:

> On Thu, Jan 10, 2013 at 9:00 AM, Preeti U Murthy
> <preeti at linux.vnet.ibm.com> wrote:
> > d1's 'groups',both the sd0s.Here is
> > the next advantage.It needs information about the sched group alone and
> > will not bother about the individual cpus in it.it checks if
> > load(sd0[cpu2,cpu3]) > load(sd0[cpu0,cpu1])
> > Only if this is true does it go on to see if cpu2/3 is more loaded.If
> > there were no scheduler domain or groups,we would have to see the states
> > of cpu2 and cpu3 in two iterations instead of 1 iteration like we are
> > doing now.
>
> Thanks Peter and preeti, I had seen that intel link and had read but
> was not very clear with it,
> with both explanations and new links I am clear.
>


Sorry, I am still learning all these.   On top of scheduling domain, there
is also cpusets, and both are intertwined (for eg, look into sched_fair.c),
and cpu inside cpuset can be offline/online, or made allow/disallowed to be
used.

I know not the difference between cpusets and sched_domain - conceptually.
  Any guidance?

-- 
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130111/18df52b5/attachment.html 


More information about the Kernelnewbies mailing list