Re: [patch v3]numa: add a sysctl to control interleave allocationgranularity from each node to improve I/O performance

From: Andi Kleen
Date: Tue Dec 13 2011 - 14:06:44 EST


On Mon, Dec 12, 2011 at 09:58:45AM +0800, Shaohua Li wrote:
> If mem plicy is interleaves, we will allocated pages from nodes in a round
> robin way. This surely can do interleave fairly, but not optimal.
>
> Say the pages will be used for I/O later. Interleave allocation for two pages
> are allocated from two nodes, so the pages are not physically continuous. Later

I would prefer to add a new policy (INTERLEAVE_MULTI or so) for this
instead of a global sysctl, that takes the additional parameter.

Also I don't like having more per task state. Could you compute this
from the address instead even for the process policy case?

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