Mm,
Brice Goglin, le Sun 28 Aug 2011 12:36:31 +0200, a écrit :
> > Is there a hwloc routine to check this?
>
> get_nbobjs_by_type(topology, HWLOC_OBJ_NODE) tells how many NUMA nodeThe useful difference is that 0 means we don't know, while 1 means we do
> objects exist.
> If you get >1, the machine is NUMA.
> If the non-NUMA case, I think you can get 0 or 1 depending on whether
> the OS is NUMA-aware or not (not sure we should remove this possible
> difference).
know there is only one node.
Samuel