Re: about the meaning of numactl -i

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux