Re: [RFC] Cpuset: explicit dynamic sched domain control flags

Nick Piggin
2006-10-19T08:09:58Z

Paul Jackson wrote:
> Nick wrote:
>
>>You don't have to worry about the details of the hierarchy. You just need
>>to know where the partitions are
>
>
> Cpusets is a hierarchical space. What happens in a subtree
> of the /dev/cpuset hierarchy should not be affecting others.
>
> Partitioning sched domains is a flat space - dividing the
> CPUs of a system into disjoint partitions.
>
> Using details deep in the cpuset hierarchy to define global
> partitions leads to chaos in the minds of those coming at
> this from the cpuset side.

So don't do it, then. Just do the partitioning for disjoint
cpusets off the root cpuset, if you like. Or don't use it at
all, even.

But please don't let *users* try to deal with it.

> The lack of any means on a production system to view the
> resulting partition leads to ignorance of how deep is the
> chaos, a dangerous state of affairs.

It is much less complex than cpusets, as you note it is a flat
space.

--
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com