Dear hwloc users and developers,

reading the manual about hwloc set membind() function:

Set the default memory binding policy of the current process or thread to
prefer the
NUMA node(s) near the specified cpuset.

What does   "nodes near the specified cpuset" means? The node wherethe
specified cpuset lives? Or others node?

What this function does in particular?

I'm calling hwloc_set_membind from two OpenMP threads passing

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?

Thanks in forward.

Ing. Gabriele Fatigati

HPC specialist

SuperComputing Applications and Innovation Department

Via Magnanelli 6/3, Casalecchio di Reno (BO) Italy                    Tel:   +39 051 6171722

g.fatigati [AT]

Reply via email to