Re: about the meaning of numactl -i

Lee Schermerhorn <[email protected]> Wed, 22 Jun 2011 09:26:06 -0400
Newsgroups org.kernel.vger.linux-numa
Message-ID <[email protected]>
On Thu, 2011-04-14 at 15:40 +0200, Alfredo Buttari wrote:
> Hi all,
> I have a simple question regarding the functioning of the numactl
> command with the -i flag.
> 
> Does it mean that, if I have, e.g., multiple allocations in my
> executable then these allocations are interleaved on the numa nodes in
> a round-robin fashion?
> 
> or does it mean that if I have, e.g., a single big allocation in my
> executable the corresponding memory area will be split into multiple,
> non-contiguous regions which are then interleaved on the numa nodes in
> rr fashion?
> 
> or both of the above?

Alfredo:

Memory interleaving mode [-i] behaves like your first alternative.  See
Documentation/vm/numa_memory_policy.txt in the kernel source tree or
where ever your distro installs it.  [kernel-doc-*.rpm, linux-doc*.deb]

Lee