Re: [PATCH 1/5] cpuset memory spread basic implementation

From: Ingo Molnar
Date: Mon Feb 06 2006 - 15:04:49 EST



* Paul Jackson <pj@xxxxxxx> wrote:

> Ingo wrote:
> > we should default to local.
>
> Agreed. There is much software and systems management expectations
> sitting on top of this, that have certain expectations of the default
> memory placement behaviour, to a rough degree, of the system.
>
> They are expecting node-local placement.
>
> We would only change that default if it was shown to be substantially
> wrong headed in a substantial number of cases. It has not been so
> shown. It is either an adequate or quite desirable default for most
> cases.
>
> Rather we need to consider optional behaviour, for use on workloads
> for which other policies are worth developing and invoking.

yes. And it seems that for the workloads you cited, the most natural
direction to drive the 'spreading' of resources is from the VFS side.
That would also avoid the problem Andrew observed: the ugliness of a
sysadmin configuring the placement strategy of kernel-internal slab
caches. It also feels a much more robust choice from the conceptual POV.

Ingo
-
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/