Project

General

Profile

Feature #10954

expose processor model name on chip topo nodes

Added by Rob Johnston 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2019-05-14
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

As part of the ongoing effort to allow libtopo and hwgrok to provide one-stop shopping for hardware configuration info, this ticket covers extending the chip enumerator module such that the processor model (brand) name is exposed as a string property on chip topo nodes. The model name will be sourced from the "cpu_info" kstat module.

This change has already been integrated into illumos-joyent via the commit below:

commit 8f51c40510c30fd4ca19e41f83a51273931e3a2f
Author: Rob Johnston <rob.johnston@joyent.com>
Date:   Thu Aug 30 02:33:29 2018 +0000

    OS-7150 expose processor model name on chip topo nodes
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Thus, this issue is simply to track pushing the above change upstream.

See the SmartOS ticket for details on how this change was tested.

https://smartos.org/bugview/OS-7150

History

#1

Updated by Rob Johnston 5 months ago

In addition to the testing noted in the SmartOS ticket above, I booted an OpenIndiana KVM instance with this change and verified that the new "brand" property was present on chip nodes:

rejohnst@openindiana:~$ pfexec /usr/lib/fm/fmd/fmtopo -P chip-properties "*chip=[0-9]" 
TIME                 UUID
May 14 22:57:14 778b6d5b-03dc-64b0-e1a1-b3d4cf609d74

hc://:product-id=SmartDC-HVM:server-id=openindiana:chassis-id=e7fa9fc4-2732-6f21-eed0-91d632c456e4/motherboard=0/chip=0
  group: chip-properties                version: 1   stability: Private/Private
    vendor_id         string    GenuineIntel
    family            int32     6
    model             int32     45
    stepping          int32     7
    brand             string    Intel(r) Xeon(r) CPU E5-2670 0 @ 2.60GHz

hc://:product-id=SmartDC-HVM:server-id=openindiana:chassis-id=e7fa9fc4-2732-6f21-eed0-91d632c456e4/motherboard=0/chip=1
  group: chip-properties                version: 1   stability: Private/Private
    vendor_id         string    GenuineIntel
    family            int32     6
    model             int32     45
    stepping          int32     7
    brand             string    Intel(r) Xeon(r) CPU E5-2670 0 @ 2.60GHz

hc://:product-id=SmartDC-HVM:server-id=openindiana:chassis-id=e7fa9fc4-2732-6f21-eed0-91d632c456e4/motherboard=0/chip=2
  group: chip-properties                version: 1   stability: Private/Private
    vendor_id         string    GenuineIntel
    family            int32     6
    model             int32     45
    stepping          int32     7
    brand             string    Intel(r) Xeon(r) CPU E5-2670 0 @ 2.60GHz

hc://:product-id=SmartDC-HVM:server-id=openindiana:chassis-id=e7fa9fc4-2732-6f21-eed0-91d632c456e4/motherboard=0/chip=3
  group: chip-properties                version: 1   stability: Private/Private
    vendor_id         string    GenuineIntel
    family            int32     6
    model             int32     45
    stepping          int32     7
    brand             string    Intel(r) Xeon(r) CPU E5-2670 0 @ 2.60GHz

hc://:product-id=SmartDC-HVM:server-id=openindiana:chassis-id=e7fa9fc4-2732-6f21-eed0-91d632c456e4/motherboard=0/chip=4
  group: chip-properties                version: 1   stability: Private/Private
    vendor_id         string    GenuineIntel
    family            int32     6
    model             int32     45
    stepping          int32     7
    brand             string    Intel(r) Xeon(r) CPU E5-2670 0 @ 2.60GHz

hc://:product-id=SmartDC-HVM:server-id=openindiana:chassis-id=e7fa9fc4-2732-6f21-eed0-91d632c456e4/motherboard=0/chip=5
  group: chip-properties                version: 1   stability: Private/Private
    vendor_id         string    GenuineIntel
    family            int32     6
    model             int32     45
    stepping          int32     7
    brand             string    Intel(r) Xeon(r) CPU E5-2670 0 @ 2.60GHz

hc://:product-id=SmartDC-HVM:server-id=openindiana:chassis-id=e7fa9fc4-2732-6f21-eed0-91d632c456e4/motherboard=0/chip=6
  group: chip-properties                version: 1   stability: Private/Private
    vendor_id         string    GenuineIntel
    family            int32     6
    model             int32     45
    stepping          int32     7
    brand             string    Intel(r) Xeon(r) CPU E5-2670 0 @ 2.60GHz

hc://:product-id=SmartDC-HVM:server-id=openindiana:chassis-id=e7fa9fc4-2732-6f21-eed0-91d632c456e4/motherboard=0/chip=7
  group: chip-properties                version: 1   stability: Private/Private
    vendor_id         string    GenuineIntel
    family            int32     6
    model             int32     45
    stepping          int32     7
    brand             string    Intel(r) Xeon(r) CPU E5-2670 0 @ 2.60GHz
#2

Updated by Electric Monk 5 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit c26bf377e2245534feb1f92b43f6d4ed32513c41

commit  c26bf377e2245534feb1f92b43f6d4ed32513c41
Author: Rob Johnston <rob.johnston@joyent.com>
Date:   2019-05-15T16:25:02.000Z

    10954 expose processor model name on chip topo nodes
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Gordon Ross <gwr@nexenta.com>

Also available in: Atom PDF