On Sep 22, 2014, at 6:55 PM, Brice Goglin <brice.gog...@inria.fr> 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/