Re: about the meaning of numactl -i
Andi Kleen <[email protected]> Thu, 14 Apr 2011 19:29:22 +0200
| Newsgroups | org.kernel.vger.linux-numa |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Apr 14, 2011 at 03:40:58PM +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? It depends on whether you apply it to a process or to a shm mapping. For a process it would the first, for a shm mapping the later. Also for a process this happens in first touch fault-order. -Andi -- [email protected] -- Speaking for myself only.