Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] 1.3.1 and 1.4rc1
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2011-12-13 10:48:54

Le 13/12/2011 16:45, Jeff Squyres a écrit :
> On Dec 13, 2011, at 10:40 AM, Brice Goglin wrote:
>> In most cases, you don't need PCI support for this, you juste manipulate
>> a cuda device, an ibv_device, a MX endpoint, ... and use one of the
>> inline helpers to get the corresponding locality (a cpuset).
> I care mostly about Ethernet devices.

We can get the locality for those by reading
/sys/class/net/<name>/device/local_cpus with name=eth0 and so on. That's
very similar to what we do for OFED. I can add a helper for these
devices as well if needed.

How do you identify these devices in your application ? by interface name ?