Open MPI logo

Hardware Locality Users' Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [hwloc-users] hwloc set membind function
From: Gabriele Fatigati (g.fatigati_at_[hidden])
Date: 2011-09-22 06:20:05


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
HWLOC_MEMBIND_BIND policy.

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
www.cineca.it                    Tel:   +39 051 6171722
g.fatigati [AT] cineca.it