Messages in this thread | | | Date | Tue, 13 Dec 2011 11:06:32 -0800 | From | Andi Kleen <> | Subject | Re: [patch v3]numa: add a sysctl to control interleave allocation granularity from each node to improve I/O performance |
| |
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
| |