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

From: Andi Kleen
Date: Mon Feb 06 2006 - 05:15:02 EST


On Monday 06 February 2006 11:11, Ingo Molnar wrote:
>
> * Andi Kleen <ak@xxxxxxx> wrote:
>
> > Of course there might be some corner cases where using local memory
> > for caching is still better (like mmap file IO), but my guess is that
> > it isn't a good default.
>
> /tmp is almost certainly one where local memory is better.

Not sure. What happens if someone writes a 1GB /tmp file on a 1GB node?

Christoph recently added some changes to the page allocator to
try harder to get local memory to work around this problem, but
attacking it at the root might be better.

Perhaps one could do a "near" caching policy for big machines: e.g.
if on a big Altix prefer to put it on a not too far away node, but
spread it out evenly. But it's not clear yet such complexity is needed.

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