lpereira / hardinfo

System profiler and benchmark tool for Linux systems
http://hardinfo.org
GNU General Public License v2.0
771 stars 130 forks source link

Miscounts number of cores on NUMA machines #599

Open baryluk opened 3 years ago

baryluk commented 3 years ago

git master @ a72881a1d25b2b1ea7718c5e2f76b92ee43d8ef8

This is a single socket system, using x399 chipset. The memory channel configuration is set to NUMA mode in BIOS.

user@debian:~/hardinfo$ lscpu 
Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   43 bits physical, 48 bits virtual
CPU(s):                          32
On-line CPU(s) list:             0-31
Thread(s) per core:              2
Core(s) per socket:              16
Socket(s):                       1
NUMA node(s):                    2
Vendor ID:                       AuthenticAMD
CPU family:                      23
Model:                           8
Model name:                      AMD Ryzen Threadripper 2950X 16-Core Processor
Stepping:                        2
Frequency boost:                 enabled
CPU MHz:                         1772.172
CPU max MHz:                     3500.0000
CPU min MHz:                     2200.0000
BogoMIPS:                        6999.03
Virtualization:                  AMD-V
L1d cache:                       512 KiB
L1i cache:                       1 MiB
L2 cache:                        8 MiB
L3 cache:                        32 MiB
NUMA node0 CPU(s):               0-7,16-23
NUMA node1 CPU(s):               8-15,24-31
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Full AMD retpoline, IBPB conditional, STIBP disabled, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_ts
                                 c rep_good nopl nonstop_tsc cpuid extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand la
                                 hf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb 
                                 hw_pstate sme ssbd sev ibpb vmmcall sev_es fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsavee
                                 rptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor 
                                 smca
user@debian:~$ lscpu -e
CPU NODE SOCKET CORE L1d:L1i:L2:L3 ONLINE    MAXMHZ    MINMHZ
  0    0      0    0 0:0:0:0          yes 3500.0000 2200.0000
  1    0      0    1 1:1:1:0          yes 3500.0000 2200.0000
  2    0      0    2 2:2:2:0          yes 3500.0000 2200.0000
  3    0      0    3 3:3:3:0          yes 3500.0000 2200.0000
  4    0      0    4 4:4:4:1          yes 3500.0000 2200.0000
  5    0      0    5 5:5:5:1          yes 3500.0000 2200.0000
  6    0      0    6 6:6:6:1          yes 3500.0000 2200.0000
  7    0      0    7 7:7:7:1          yes 3500.0000 2200.0000
  8    1      0    8 8:8:8:2          yes 3500.0000 2200.0000
  9    1      0    9 9:9:9:2          yes 3500.0000 2200.0000
 10    1      0   10 10:10:10:2       yes 3500.0000 2200.0000
 11    1      0   11 11:11:11:2       yes 3500.0000 2200.0000
 12    1      0   12 12:12:12:3       yes 3500.0000 2200.0000
 13    1      0   13 13:13:13:3       yes 3500.0000 2200.0000
 14    1      0   14 14:14:14:3       yes 3500.0000 2200.0000
 15    1      0   15 15:15:15:3       yes 3500.0000 2200.0000
 16    0      0    0 0:0:0:0          yes 3500.0000 2200.0000
 17    0      0    1 1:1:1:0          yes 3500.0000 2200.0000
 18    0      0    2 2:2:2:0          yes 3500.0000 2200.0000
 19    0      0    3 3:3:3:0          yes 3500.0000 2200.0000
 20    0      0    4 4:4:4:1          yes 3500.0000 2200.0000
 21    0      0    5 5:5:5:1          yes 3500.0000 2200.0000
 22    0      0    6 6:6:6:1          yes 3500.0000 2200.0000
 23    0      0    7 7:7:7:1          yes 3500.0000 2200.0000
 24    1      0    8 8:8:8:2          yes 3500.0000 2200.0000
 25    1      0    9 9:9:9:2          yes 3500.0000 2200.0000
 26    1      0   10 10:10:10:2       yes 3500.0000 2200.0000
 27    1      0   11 11:11:11:2       yes 3500.0000 2200.0000
 28    1      0   12 12:12:12:3       yes 3500.0000 2200.0000
 29    1      0   13 13:13:13:3       yes 3500.0000 2200.0000
 30    1      0   14 14:14:14:3       yes 3500.0000 2200.0000
 31    1      0   15 15:15:15:3       yes 3500.0000 2200.0000
user@debian:~/hardinfo$ egrep '^(processor|physical|siblings|core id|cpu cores|$)' /proc/cpuinfo 
processor   : 0
physical id : 0
siblings    : 32
core id     : 0
cpu cores   : 16

processor   : 1
physical id : 0
siblings    : 32
core id     : 1
cpu cores   : 16

processor   : 2
physical id : 0
siblings    : 32
core id     : 2
cpu cores   : 16

processor   : 3
physical id : 0
siblings    : 32
core id     : 3
cpu cores   : 16

processor   : 4
physical id : 0
siblings    : 32
core id     : 4
cpu cores   : 16

processor   : 5
physical id : 0
siblings    : 32
core id     : 5
cpu cores   : 16

processor   : 6
physical id : 0
siblings    : 32
core id     : 6
cpu cores   : 16

processor   : 7
physical id : 0
siblings    : 32
core id     : 7
cpu cores   : 16

processor   : 8
physical id : 0
siblings    : 32
core id     : 0
cpu cores   : 16

processor   : 9
physical id : 0
siblings    : 32
core id     : 1
cpu cores   : 16

processor   : 10
physical id : 0
siblings    : 32
core id     : 2
cpu cores   : 16

processor   : 11
physical id : 0
siblings    : 32
core id     : 3
cpu cores   : 16

processor   : 12
physical id : 0
siblings    : 32
core id     : 4
cpu cores   : 16

processor   : 13
physical id : 0
siblings    : 32
core id     : 5
cpu cores   : 16

processor   : 14
physical id : 0
siblings    : 32
core id     : 6
cpu cores   : 16

processor   : 15
physical id : 0
siblings    : 32
core id     : 7
cpu cores   : 16

processor   : 16
physical id : 0
siblings    : 32
core id     : 0
cpu cores   : 16

processor   : 17
physical id : 0
siblings    : 32
core id     : 1
cpu cores   : 16

processor   : 18
physical id : 0
siblings    : 32
core id     : 2
cpu cores   : 16

processor   : 19
physical id : 0
siblings    : 32
core id     : 3
cpu cores   : 16

processor   : 20
physical id : 0
siblings    : 32
core id     : 4
cpu cores   : 16

processor   : 21
physical id : 0
siblings    : 32
core id     : 5
cpu cores   : 16

processor   : 22
physical id : 0
siblings    : 32
core id     : 6
cpu cores   : 16

processor   : 23
physical id : 0
siblings    : 32
core id     : 7
cpu cores   : 16

processor   : 24
physical id : 0
siblings    : 32
core id     : 0
cpu cores   : 16

processor   : 25
physical id : 0
siblings    : 32
core id     : 1
cpu cores   : 16

processor   : 26
physical id : 0
siblings    : 32
core id     : 2
cpu cores   : 16

processor   : 27
physical id : 0
siblings    : 32
core id     : 3
cpu cores   : 16

processor   : 28
physical id : 0
siblings    : 32
core id     : 4
cpu cores   : 16

processor   : 29
physical id : 0
siblings    : 32
core id     : 5
cpu cores   : 16

processor   : 30
physical id : 0
siblings    : 32
core id     : 6
cpu cores   : 16

processor   : 31
physical id : 0
siblings    : 32
core id     : 7
cpu cores   : 16
user@debian:~/hardinfo$ hwloc-info 
depth 0:            1 Machine (type #0)
 depth 1:           1 Package (type #1)
  depth 2:          2 Die (type #19)
   depth 3:         4 L3Cache (type #6)
    depth 4:        16 L2Cache (type #5)
     depth 5:       16 L1dCache (type #4)
      depth 6:      16 L1iCache (type #9)
       depth 7:     16 Core (type #2)
        depth 8:    32 PU (type #3)
Special depth -3:   2 NUMANode (type #13)
Special depth -4:   9 Bridge (type #14)
Special depth -5:   7 PCIDev (type #15)
Special depth -6:   5 OSDev (type #16)
user@debian:~/hardinfo$ lstopo-no-graphics 
Machine (126GB total)
  Package L#0
    Die L#0
      NUMANode L#0 (P#0 63GB)
      L3 L#0 (8192KB)
        L2 L#0 (512KB) + L1d L#0 (32KB) + L1i L#0 (64KB) + Core L#0
          PU L#0 (P#0)
          PU L#1 (P#16)
        L2 L#1 (512KB) + L1d L#1 (32KB) + L1i L#1 (64KB) + Core L#1
          PU L#2 (P#1)
          PU L#3 (P#17)
        L2 L#2 (512KB) + L1d L#2 (32KB) + L1i L#2 (64KB) + Core L#2
          PU L#4 (P#2)
          PU L#5 (P#18)
        L2 L#3 (512KB) + L1d L#3 (32KB) + L1i L#3 (64KB) + Core L#3
          PU L#6 (P#3)
          PU L#7 (P#19)
      L3 L#1 (8192KB)
        L2 L#4 (512KB) + L1d L#4 (32KB) + L1i L#4 (64KB) + Core L#4
          PU L#8 (P#4)
          PU L#9 (P#20)
        L2 L#5 (512KB) + L1d L#5 (32KB) + L1i L#5 (64KB) + Core L#5
          PU L#10 (P#5)
          PU L#11 (P#21)
        L2 L#6 (512KB) + L1d L#6 (32KB) + L1i L#6 (64KB) + Core L#6
          PU L#12 (P#6)
          PU L#13 (P#22)
        L2 L#7 (512KB) + L1d L#7 (32KB) + L1i L#7 (64KB) + Core L#7
          PU L#14 (P#7)
          PU L#15 (P#23)
      HostBridge
        PCIBridge
          PCI 01:00.1 (SATA)
        PCIBridge
          PCI 09:00.0 (NVMExp)
            Block(Disk) "nvme0n1"
        PCIBridge
          PCI 0a:00.0 (Ethernet)
            Net "enp10s0"
            OpenFabrics "mlx4_0"
        PCIBridge
          PCI 0c:00.2 (SATA)
    Die L#1
      NUMANode L#1 (P#1 63GB)
      L3 L#2 (8192KB)
        L2 L#8 (512KB) + L1d L#8 (32KB) + L1i L#8 (64KB) + Core L#8
          PU L#16 (P#8)
          PU L#17 (P#24)
        L2 L#9 (512KB) + L1d L#9 (32KB) + L1i L#9 (64KB) + Core L#9
          PU L#18 (P#9)
          PU L#19 (P#25)
        L2 L#10 (512KB) + L1d L#10 (32KB) + L1i L#10 (64KB) + Core L#10
          PU L#20 (P#10)
          PU L#21 (P#26)
        L2 L#11 (512KB) + L1d L#11 (32KB) + L1i L#11 (64KB) + Core L#11
          PU L#22 (P#11)
          PU L#23 (P#27)
      L3 L#3 (8192KB)
        L2 L#12 (512KB) + L1d L#12 (32KB) + L1i L#12 (64KB) + Core L#12
          PU L#24 (P#12)
          PU L#25 (P#28)
        L2 L#13 (512KB) + L1d L#13 (32KB) + L1i L#13 (64KB) + Core L#13
          PU L#26 (P#13)
          PU L#27 (P#29)
        L2 L#14 (512KB) + L1d L#14 (32KB) + L1i L#14 (64KB) + Core L#14
          PU L#28 (P#14)
          PU L#29 (P#30)
        L2 L#15 (512KB) + L1d L#15 (32KB) + L1i L#15 (64KB) + Core L#15
          PU L#30 (P#15)
          PU L#31 (P#31)
      HostBridge
        PCIBridge
          PCI 41:00.0 (NVMExp)
            Block(Disk) "nvme1n1"
        PCIBridge
          PCI 42:00.0 (VGA)
        PCIBridge
          PCI 44:00.2 (SATA)
  CoProc(OpenCL) "opencl0d0"
user@debian:~$ lstopo-no-graphics -v
Machine (P#0 total=131884740KB DMIProductName=MS-7B92 DMIProductVersion=1.0 DMIBoardVendor="Micro-Star International Co., Ltd." DMIBoardName="MEG X399 CREATION (MS-7B92)" DMIBoardVersion=1.0 DMIBoardAssetTag="To be filled by O.E.M." DMIChassisVendor="Micro-Star International Co., Ltd." DMIChassisType=3 DMIChassisVersion=1.0 DMIChassisAssetTag="To be filled by O.E.M." DMIBIOSVendor="American Megatrends Inc." DMIBIOSVersion=1.30 DMIBIOSDate=03/25/2019 DMISysVendor="Micro-Star International Co., Ltd." Backend=Linux LinuxCgroup=/user.slice OSName=Linux OSRelease=5.10.0-3-amd64 OSVersion="#1 SMP Debian 5.10.13-1 (2021-02-06)" HostName=debian Architecture=x86_64 hwlocVersion=2.4.1rc2 ProcessName=lstopo-no-graphics)
  Package L#0 (P#0 total=131884740KB CPUVendor=AuthenticAMD CPUFamilyNumber=23 CPUModelNumber=8 CPUModel="AMD Ryzen Threadripper 2950X 16-Core Processor " CPUStepping=2)
    Die L#0 (P#0 total=65871796KB)
      NUMANode L#0 (P#0 local=65871796KB total=65871796KB)
      L3Cache L#0 (size=8192KB linesize=64 ways=16 Inclusive=0)
        L2Cache L#0 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#0 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#0 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#0 (P#0)
                PU L#0 (P#0)
                PU L#1 (P#16)
        L2Cache L#1 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#1 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#1 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#1 (P#1)
                PU L#2 (P#1)
                PU L#3 (P#17)
        L2Cache L#2 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#2 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#2 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#2 (P#2)
                PU L#4 (P#2)
                PU L#5 (P#18)
        L2Cache L#3 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#3 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#3 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#3 (P#3)
                PU L#6 (P#3)
                PU L#7 (P#19)
      L3Cache L#1 (size=8192KB linesize=64 ways=16 Inclusive=0)
        L2Cache L#4 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#4 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#4 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#4 (P#4)
                PU L#8 (P#4)
                PU L#9 (P#20)
        L2Cache L#5 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#5 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#5 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#5 (P#5)
                PU L#10 (P#5)
                PU L#11 (P#21)
        L2Cache L#6 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#6 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#6 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#6 (P#6)
                PU L#12 (P#6)
                PU L#13 (P#22)
        L2Cache L#7 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#7 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#7 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#7 (P#7)
                PU L#14 (P#7)
                PU L#15 (P#23)
      HostBridge L#0 (buses=0000:[00-0c])
        PCIBridge L#1 (busid=0000:00:01.1 id=1022:1453 class=0604(PCIBridge) link=3.94GB/s buses=0000:[01-08] PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="Family 17h (Models 00h-0fh) PCIe GPP Bridge")
          PCI L#0 (busid=0000:01:00.1 id=1022:43b6 class=0106(SATA) link=3.94GB/s PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="X399 Series Chipset SATA Controller")
        PCIBridge L#2 (busid=0000:00:01.2 id=1022:1453 class=0604(PCIBridge) link=3.94GB/s buses=0000:[09-09] PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="Family 17h (Models 00h-0fh) PCIe GPP Bridge")
          PCI L#1 (busid=0000:09:00.0 id=144d:a808 class=0108(NVMExp) link=3.94GB/s PCIVendor="Samsung Electronics Co Ltd" PCIDevice="NVMe SSD Controller SM981/PM981/PM983")
            Block(Disk) L#0 (Size=1875374424 SectorSize=512 LinuxDeviceID=259:0 Vendor=Samsung Model="Samsung SSD 983 DCT 1.92TB" Revision=EDA5202Q SerialNumber=S48BNG0K900030Z) "nvme0n1"
        PCIBridge L#3 (busid=0000:00:01.3 id=1022:1453 class=0604(PCIBridge) link=3.94GB/s buses=0000:[0a-0a] PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="Family 17h (Models 00h-0fh) PCIe GPP Bridge")
          PCI L#2 (busid=0000:0a:00.0 id=15b3:1003 class=0200(Ethernet) link=3.94GB/s PCIVendor="Mellanox Technologies" PCIDevice="MT27500 Family [ConnectX-3]")
            Network L#1 (Address=00:02:c9:b3:f6:30 Port=1) "enp10s0"
            OpenFabrics L#2 (NodeGUID=ffff:ffff:ffff:ffff SysImageGUID=ffff:ffff:ffff:ffff Port1State=4 Port1LID=0x0 Port1LMC=0 Port1GID0=fe80:0000:0000:0000:0202:c9ff:feb3:f630 Port1GID1=fe80:0000:0000:0000:5e89:1aaf:a4ad:da5a Port1GID2=0000:0000:0000:0000:0000:ffff:5106:22b9 Port1GID3=2a02:0168:2000:005b:87a3:d1ef:14bb:6854) "mlx4_0"
        PCIBridge L#4 (busid=0000:00:08.1 id=1022:1454 class=0604(PCIBridge) link=15.75GB/s buses=0000:[0c-0c] PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B")
          PCI L#3 (busid=0000:0c:00.2 id=1022:7901 class=0106(SATA) link=15.75GB/s PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="FCH SATA Controller [AHCI mode]")
    Die L#1 (P#1 total=66012944KB)
      NUMANode L#1 (P#1 local=66012944KB total=66012944KB)
      L3Cache L#2 (size=8192KB linesize=64 ways=16 Inclusive=0)
        L2Cache L#8 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#8 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#8 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#8 (P#0)
                PU L#16 (P#8)
                PU L#17 (P#24)
        L2Cache L#9 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#9 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#9 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#9 (P#1)
                PU L#18 (P#9)
                PU L#19 (P#25)
        L2Cache L#10 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#10 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#10 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#10 (P#2)
                PU L#20 (P#10)
                PU L#21 (P#26)
        L2Cache L#11 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#11 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#11 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#11 (P#3)
                PU L#22 (P#11)
                PU L#23 (P#27)
      L3Cache L#3 (size=8192KB linesize=64 ways=16 Inclusive=0)
        L2Cache L#12 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#12 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#12 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#12 (P#4)
                PU L#24 (P#12)
                PU L#25 (P#28)
        L2Cache L#13 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#13 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#13 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#13 (P#5)
                PU L#26 (P#13)
                PU L#27 (P#29)
        L2Cache L#14 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#14 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#14 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#14 (P#6)
                PU L#28 (P#14)
                PU L#29 (P#30)
        L2Cache L#15 (size=512KB linesize=64 ways=8 Inclusive=1)
          L1dCache L#15 (size=32KB linesize=64 ways=8 Inclusive=0)
            L1iCache L#15 (size=64KB linesize=64 ways=4 Inclusive=0)
              Core L#15 (P#7)
                PU L#30 (P#15)
                PU L#31 (P#31)
      HostBridge L#5 (buses=0000:[40-44])
        PCIBridge L#6 (busid=0000:40:01.2 id=1022:1453 class=0604(PCIBridge) link=3.94GB/s buses=0000:[41-41] PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="Family 17h (Models 00h-0fh) PCIe GPP Bridge")
          PCI L#4 (busid=0000:41:00.0 id=144d:a808 class=0108(NVMExp) link=3.94GB/s PCIVendor="Samsung Electronics Co Ltd" PCIDevice="NVMe SSD Controller SM981/PM981/PM983")
            Block(Disk) L#3 (Size=1875374424 SectorSize=512 LinuxDeviceID=259:1 Vendor=Samsung Model="Samsung SSD 983 DCT 1.92TB" Revision=EDA5202Q SerialNumber=S48BNG0K900020X) "nvme1n1"
        PCIBridge L#7 (busid=0000:40:03.1 id=1022:1453 class=0604(PCIBridge) link=15.75GB/s buses=0000:[42-42] PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="Family 17h (Models 00h-0fh) PCIe GPP Bridge")
          PCI L#5 (busid=0000:42:00.0 id=1002:7300 class=0300(VGA) link=15.75GB/s PCIVendor="Advanced Micro Devices, Inc. [AMD/ATI]" PCIDevice="Fiji [Radeon R9 FURY / NANO Series]")
        PCIBridge L#8 (busid=0000:40:08.1 id=1022:1454 class=0604(PCIBridge) link=15.75GB/s buses=0000:[44-44] PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B")
          PCI L#6 (busid=0000:44:00.2 id=1022:7901 class=0106(SATA) link=15.75GB/s PCIVendor="Advanced Micro Devices, Inc. [AMD]" PCIDevice="FCH SATA Controller [AHCI mode]")
  Co-Processor(OpenCL) L#4 (Backend=OpenCL OpenCLDeviceType=GPU GPUVendor=AMD OpenCLPlatformIndex=0 OpenCLPlatformName=Clover OpenCLPlatformDeviceIndex=0 OpenCLComputeUnits=64 OpenCLGlobalMemorySize=4194304) "opencl0d0"
depth 0:            1 Machine (type #0)
 depth 1:           1 Package (type #1)
  depth 2:          2 Die (type #19)
   depth 3:         4 L3Cache (type #6)
    depth 4:        16 L2Cache (type #5)
     depth 5:       16 L1dCache (type #4)
      depth 6:      16 L1iCache (type #9)
       depth 7:     16 Core (type #2)
        depth 8:    32 PU (type #3)
Special depth -3:   2 NUMANode (type #13)
Special depth -4:   9 Bridge (type #14)
Special depth -5:   7 PCIDev (type #15)
Special depth -6:   5 OSDev (type #16)
Relative latency matrix (name NUMALatency kind 5) between 2 NUMANodes (depth -3) by logical indexes:
  index     0     1
      0    10    16
      1    16    10
CPU kind #0 efficiency 0 cpuset 0xffffffff
  FrequencyMaxMHz = 3500

Screenshot at 2021-02-21 12-48-17 Screenshot at 2021-02-21 12-48-30 Screenshot at 2021-02-21 12-48-44

mckaygerhard commented 3 years ago

edited: now i noted 8 cores vs 16 cores..

PD: AMD Ryzen Threadripper 2950X 16-Core 😢 snif snif.. i want one!

lpereira commented 3 years ago

Thanks for the report. This might pick @bp0's interest.

lpereira commented 3 years ago

I don't have a NUMA-capable system, so I don't know if this will work; could you please test 903e852 and report back?

baryluk commented 3 years ago

Screenshot at 2021-02-22 17-16-14 Screenshot at 2021-02-22 17-16-28

Kind of. Doesn't sum the cores from nodes still.

lpereira commented 3 years ago

Ah, that's fine. I just wanted to know if the number of nodes would be correctly found. It seems it is. Thanks for testing. Now I can tweak the output (and not mention NUMA if only one node is present, etc).

On Mon, Feb 22, 2021, 09:17 Witold Baryluk notifications@github.com wrote:

[image: Screenshot at 2021-02-22 17-16-14] https://user-images.githubusercontent.com/110322/108744345-ba0a0c00-7531-11eb-9e85-754c653f9d0c.png [image: Screenshot at 2021-02-22 17-16-28] https://user-images.githubusercontent.com/110322/108744351-bbd3cf80-7531-11eb-8667-7fdcbfcd7d34.png

Kind of. Doesn't sum the cores from nodes still.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lpereira/hardinfo/issues/599#issuecomment-783531742, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADVGMXBDAF3C63ZXHZTGLTAKGRPANCNFSM4X66STXA .