Re: [Lse-tech] [RFC PATCH] scheduler: Dynamic sched_domains

From: Matthew Dobson
Date: Fri Oct 08 2004 - 18:01:46 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/