Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Users mailing list

Subject: Re: [hwloc-users] hwloc set membind function
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-09-22 08:03:47

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.