Please find my response inline. Some of the items related to hard drives & DIMM is available only with root privileges. We should be able to populate objects related to these items only when root privileges are available. Is this an acceptable change to the HWLOC's design?
-----Original Message----- From: hwloc-devel [mailto:hwloc-devel-boun...@open-mpi.org] On Behalf Of Brice Goglin Sent: Tuesday, September 23, 2014 12:42 PM To: hwloc-de...@open-mpi.org Subject: Re: [hwloc-devel] Using hwloc to detect Hard Disks Le 23/09/2014 21:06, Pedaballe, Vineet a écrit : > 4a. Network Adapters (Ethernet) > a. Model > b. Speed Both supported and currently negociated link speed? [VIN] : Yup. On Linux, we'll have to use the ethtool interface. > c. Serial Number (if applicable) > d. MAC address > 4b. Network Adapters (Infiniband) > a. Model > b. Speed > c. Serial Number (if applicable) > d. MAC address We'll to use the verbs or libfabric or whatever interface. [VIN] : Sounds good. I am not sure what/how much libfabric actually exposes. > 4. Host Bus Adapters > a. Manufacturer > b. Serial Number > c. MAC address What kind of adapter are you talking about here? Hostbridge? [VIN] : No, HBAs are also more like non-infiniband network interfaces (which are called HCAs usually), which include fiber optic, eSATA, etc. But work done should be similar to the previous section for network interfaces. > 6. Coprocessors > a. Manufacturer > b. Serial Number We'll need an explicit list of supported coprocessors/accelerators and specific ways to retrieve the S/N for each of them. [VIN] : I did some work with coprocessors and should be able to help out. > 7. Other PCI Devices > a. Device ID > b. Device Serial number (if applicable) IIRC the serial number isn't standardized anywhere in the PCI config space, this item is likely impossible. [VIN] : Agreed. But if we show it is possible for some devices (like the coprocessors), I was hoping the vendors would eventually contribute to their respective devices. I was hoping all this information is provided as attributes, and these can be optional for each device.(am I correct?) Brice _______________________________________________ hwloc-devel mailing list hwloc-de...@open-mpi.org Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel Link to this post: http://www.open-mpi.org/community/lists/hwloc-devel/2014/09/4238.php