Le 22/09/2011 12:20, Gabriele Fatigati a écrit :
> NUMA node(s) near the specified cpuset.
> What does "nodes near the specified cpuset" means? The node wherethe
> specified cpuset lives?
> Set the default memory binding policy of the current process or thread
> to prefer the
The node near the CPU specified in the cpuset.
> The first thread allocates with a malloc an array. The second thread
> (bound on other node) initialize the array.
> The free memory on the nodes decrease only on the node where the
> second thread is. Is it rigth?
> hwloc_set_membind involves all future allocations?
Yes. And already allocated pages if you add the migrate flag.