How to determine number of processor sockets on Linux ppc64le

238 Views Asked by At

There seems to be a bug with lscpu where it can not determine the correct number of sockets. There is an issue opened for this but I haven't got any response https://github.com/karelzak/util-linux/issues/698. This is my output:

Architecture:          ppc64le
Byte Order:            Little Endian
CPU(s):                256
On-line CPU(s) list:   0-255
Thread(s) per core:    8
Core(s) per socket:    1
Socket(s):             32
NUMA node(s):          5
Model:                 IBM,9119-MHE
L1d cache:             64K
L1i cache:             32K
NUMA node0 CPU(s):     0-255
NUMA node4 CPU(s):
NUMA node5 CPU(s):
NUMA node6 CPU(s):
NUMA node7 CPU(s):

Is there another way to go about getting the number of sockets?

1

There are 1 best solutions below

0
On

A linux patch currently in testing (on Feb 26 2020) patch fixes this issue.

The patch is this one

Expect this to come out in the next 5.6 linux kernel release.