Page 1 of 1

CPU brand not show in /proc/cpuinfo for Cavium ThunderX2 ARMv8

Posted: 2019/05/26 07:03:11
by blackbird
I'm running CentOS Linux release 7.6.1810 (AltArch) on a machine with Cavium ThunderX2 CPU.
This is ARMv8 architecture, arch reports it as aarch64
cat /proc/cpuinfo reports it as (showing only the last core)

Code: Select all

processor	: 223
BogoMIPS	: 400.00
Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
CPU implementer	: 0x43
CPU architecture: 8
CPU variant	: 0x1
CPU part	: 0x0af
CPU revision	: 1
Any information about branding is missing. This creates a problem because some software packages rely on proc/cpuinfo to get system specs.

lscpu also does not show brand:

Code: Select all

$ lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                224
On-line CPU(s) list:   0-223
Thread(s) per core:    4
Core(s) per socket:    28
Socket(s):             2
NUMA node(s):          2
Model:                 1
BogoMIPS:              400.00
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              32768K
NUMA node0 CPU(s):     0-111
NUMA node1 CPU(s):     112-223
Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm
dmidecode, however, shows CPU brand, but this requires sudo rights.

Code: Select all

Processor Information
	Socket Designation: Socket 1
	Type: Central Processor
	Family: ARM
	Manufacturer: Cavium Inc.
	ID: F1 0A 1F 43 00 00 00 00
	Signature: Implementor 0x43, Variant 0x1, Architecture 15, Part 0x0af, Revision 1
	Version: Cavium ThunderX2(R) CPU CN9975 v2.1 @ 2.0GHz

can it be fixed somehow?

Re: CPU brand not show in /proc/cpuinfo for Cavium ThunderX2 ARMv8

Posted: 2019/05/26 11:45:04
by TrevorH
What kernel version are you using?

Re: CPU brand not show in /proc/cpuinfo for Cavium ThunderX2 ARMv8

Posted: 2019/06/05 14:39:54
by HPCJohn
I find the same thing as blackbird. Kernel 4.15.0-29
But this is on a Ubuntu system. The shame... the shame....
(Sorry - I found my way here via a Google search)

Re: CPU brand not show in /proc/cpuinfo for Cavium ThunderX2 ARMv8

Posted: 2019/06/05 15:15:58
by HPCJohn
The answer to this problem is to upgrade to a recent version of util-linux
Version 2.31.1 can decide the /proc/cpuinfo fields for Implementor etc.

$ ./lscpu
Architecture: aarch64
CPU op-mode(s): 64-bit
Byte Order: Little Endian
CPU(s): 56
On-line CPU(s) list: 0-55
Thread(s) per core: 1
Core(s) per socket: 28
Socket(s): 2
NUMA node(s): 2
Vendor ID: Cavium
Model: 1
Model name: ThunderX2 99xx
Stepping: 0x1
CPU max MHz: 2500.0000
CPU min MHz: 1000.0000
BogoMIPS: 400.00
L1d cache: 1.8 MiB
L1i cache: 1.8 MiB
L2 cache: 14 MiB
L3 cache: 64 MiB
NUMA node0 CPU(s): 0-27
NUMA node1 CPU(s): 28-55
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics cpuid asimdrdm