fmtopo could display CPU socket
It would be nice if fmtopo could display the CPU socket that a given proccesor supports in information about the "chip" node in fmtopo. In terms of getting this information, we can't reliably use smbios, because we don't have a guaranteed way of mapping the smbios entry to the CPU itself. We also have this information in the kernel based on the CPU family and model and therefore will use that when available. As an example, here's what we see on a system with an AMD Rome cpu:
$ pfexec /usr/lib/fm/fmd/fmtopo -V ... hc://:server-id=beowulf:serial=iv0-AMD-830f10-1f0ef44db000088/motherboard=0/chip=0 group: protocol version: 1 stability: Private/Private resource fmri hc://:server-id=beowulf:serial=iv0-AMD-830f10-1f0ef44db000088/motherboard=0/chip=0 FRU fmri hc://:server-id=beowulf:serial=iv0-AMD-830f10-1f0ef44db000088/motherboard=0/chip=0 group: authority version: 1 stability: Private/Private server-id string beowulf group: chip-properties version: 1 stability: Private/Private vendor_id string AuthenticAMD family int32 23 model int32 49 stepping int32 0 brand string AMD EPYC 7282 16-Core Processor socket string SP3 ...
Updated by Electric Monk about 1 year ago
- Status changed from New to Closed
- % Done changed from 80 to 100
commit d0caeb890c33e30d7a9addcbccdda2343401d3e7 Author: Robert Mustacchi <email@example.com> Date: 2020-10-09T21:18:40.000Z 13200 fmtopo could display CPU socket Reviewed by: C Fraire <firstname.lastname@example.org> Reviewed by: Ryan Zezeski <email@example.com> Reviewed by: Toomas Soome <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>