[hwloc-devel] Create success (hwloc git dev-231-g75565fc)

2014-09-22 Thread MPI Team
Creating nightly hwloc snapshot git tarball was a success.

Snapshot:   hwloc dev-231-g75565fc
Start time: Mon Sep 22 21:01:01 EDT 2014
End time:   Mon Sep 22 21:02:30 EDT 2014

Your friendly daemon,
Cyrador


Re: [hwloc-devel] Using hwloc to detect Hard Disks

2014-09-22 Thread Jeff Squyres (jsquyres)
On Sep 22, 2014, at 6:55 PM, Brice Goglin  wrote:

>> HWLOC already provides similar info for processors and mother boards, so it 
>> seemed a natural extension of current capabilities to provide it for other 
>> system elements.
> 
> Disk vendor/model is easy to add from sysfs on Linux. I don't know where
> to find the serial number. Spindle speed may require more than just
> sysfs. Do you have more info on how to get these attributes?
> 
> For memory, we currently have a single memory object for all DIMMs of a
> single NUMA node. Adding multiple objects may not be useful, but adding
> many serials to a single NUMA object may be ugly.
> There are some information about physical memory in
> /sys/devices/system/node/node0/memory* but it doesn't correspond to
> DIMMs (I have 135 of them on my laptop for only 2 SODIMMs). dmidecode
> gets DIMM info somehow.

Back in Nehalem days, it wasn't possible to map Linux kernel "physical" memory 
back to individual DIMMs (because the BIOS could/would introduce another layer 
of kernel<-->DIMM mapping that the kernel might not be aware of).

Has that changed?

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/



Re: [hwloc-devel] Using hwloc to detect Hard Disks

2014-09-22 Thread Brice Goglin
Le 22/09/2014 23:28, Ralph Castain a écrit :
>
> I believe that is what we are requesting - and to be clear, Intel is 
> proposing to develop and contribute this feature. We'd like to add attributes 
> to the objects to record:
>
> * memory - the serial number and model number of the DIMMs
>
> * disks - serial, model, manufacturer and any other available info (sometimes 
> they have spindle speed, for example)
>
> HWLOC already provides similar info for processors and mother boards, so it 
> seemed a natural extension of current capabilities to provide it for other 
> system elements.

Disk vendor/model is easy to add from sysfs on Linux. I don't know where
to find the serial number. Spindle speed may require more than just
sysfs. Do you have more info on how to get these attributes?

For memory, we currently have a single memory object for all DIMMs of a
single NUMA node. Adding multiple objects may not be useful, but adding
many serials to a single NUMA object may be ugly.
There are some information about physical memory in
/sys/devices/system/node/node0/memory* but it doesn't correspond to
DIMMs (I have 135 of them on my laptop for only 2 SODIMMs). dmidecode
gets DIMM info somehow.

Brice