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

Issues related to hardware problems
Post Reply
blackbird
Posts: 1
Joined: 2019/05/26 06:51:05

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

Post by blackbird » 2019/05/26 07:03:11

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?

User avatar
TrevorH
Forum Moderator
Posts: 26587
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

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

Post by TrevorH » 2019/05/26 11:45:04

What kernel version are you using?
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. Use the FAQ Luke

HPCJohn
Posts: 2
Joined: 2019/06/05 14:33:31

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

Post by HPCJohn » 2019/06/05 14:39:54

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)

HPCJohn
Posts: 2
Joined: 2019/06/05 14:33:31

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

Post by HPCJohn » 2019/06/05 15:15:58

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

Post Reply

Return to “CentOS 7 - Hardware Support”