lkml.org 
[lkml]   [2004]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Lse-tech] [RFC PATCH] scheduler: Dynamic sched_domains
From
Date
On Fri, 2004-10-08 at 14:56, Peter Williams wrote:
> > How do we describe the levels other than the first? We'd either need
> > to:
> > 1) come up with a language to describe the full tree. For your example
> > I quoted above:
> > echo "0,1,2,4,5 3,6 7,8;0,1,2 4,5 3 6,7;0,1 2 4,5 3 6,7" > partitions
>
> I think the idea was that the full hierarchy was (automatically) derived
> from the partition in a way that best matched the physical layout of the
> machine?

Absolutely. I mentioned that in a different response in this thread.
The default behavior on boot up should be for the
arch_init_sched_domains() to build a sched_domains hierarchy that
mirrors the physical layout of the machine for maximal scheduling
efficiency for general computing. If the users/admin of the machine
want to configure the machine for a particular type(s) of workload, then
they can do that through the soon-to-be-figured-out API to rebuild the
sched_domains hierarchy in their own image and likeness...

-Matt

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.135 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site