Re: Questions regarding CPUs on aarch64 builders

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 03, 2024 at 02:54:37PM GMT, Richard W.M. Jones wrote:
> On Tue, Sep 03, 2024 at 09:20:24AM -0000, Artur Frenszek-Iwicki wrote:
> > Hi all,
> > 
> > I maintain the cpufetch package [0], which is a program that allows the
> > user to retrieve some info about the CPU of the machine - such as cache
> > size, frequency, sometimes also the manufacturer and model.
> > 
> > A few weeks ago, the program had a new release and I updated the package.
> > However, the build failed on aarch64. After a little bit of debugging,
> > I was able to locate and patch the code responsible.
> > 
> > After submitting the bug upstream [1], the developer asked if I was
> > able to provide some information regarding the machine where
> > I observed the crash.
> > 
> > > what machine are we talking about in this case? Model?
> > > Also, what is the output of `cpufetch --verbose`?
> > > `cat /proc/device-tree/compatible`?
> > > Anything that could be indicating the model under `lspci -nn`?
> > 
> > Looking at the build history in koji, my builds ran on:
> > - buildhw-a64-03.iad2.fedoraproject.org
> > - buildvm-a64-04.iad2.fedoraproject.org
> > - buildhw-a64-24.iad2.fedoraproject.org
> > - buildvm-a64-09.iad2.fedoraproject.org
> > - buildvm-a64-06.iad2.fedoraproject.org
> > 
> > I'd be grateful if someone knowledgeable about infra could answer
> > the questions above. I don't know about the VMs, but information
> > about the two hardware builders could be very useful.
> 
> If you have a link to the build, there is a hw_info.log file which
> contains some CPU info (but not the device tree).
> 
> eg:
> 
> https://koji.fedoraproject.org/koji/buildinfo?buildID=2531880
> -> https://kojipkgs.fedoraproject.org//packages/cpufetch/1.06/1.fc40/data/logs/aarch64/hw_info.log
> 
> (It looks like it possibly comes from 'lscpu', 'free' and 'df')

So, there's 4 kinds of aarch64 builders:

1. Our oldest ones, buildhw-a64-01/02,07/08/09/10/11/12/13/21/22:

These are lenovo emags.
lscpu says: 

Vendor ID:                APM
  BIOS Vendor ID:         Ampere(TM)
  Model name:             -
    BIOS Model name:      eMAG   CPU @ 3.0GHz

cpufetch says:

[WARNING]: SoC detection failed using /proc/cpuinfo: No string found
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-efuse0/nvmem: No such file or directory
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-otp0/nvmem: No such file or directory
[WARNING]: guess_soc_from_uarch: No uarch matched the list
[WARNING]: guess_soc_from_pci: No PCI device matched the list

                                          SoC:                 Unknown
   #####  ##   # #####  ## ####  ######   Technology:          Unknown
 ###    ####   ###      ####  ###   ###   Microarchitecture:   Xgene
###       ##   ###      ###    ##    ###  Max Frequency:       3.000 GHz
 ###    ####   ###      ###    ##    ###  Cores:               32 cores
  ######  ##   ###      ###    ##    ###  Features:            NEON,SHA1,SHA2,AES,CRC32
                                          Peak Performance:    768.00 GFLOP/s
No /proc/device-tree/compatible 

2. We have two thunderx2's, buildhw-a64-19/20:

Vendor ID:                Cavium
  BIOS Vendor ID:         Cavium Inc.
  Model name:             ThunderX2-99xx
    BIOS Model name:      Cavium ThunderX2(R) CPU CN9975 v2.1 @ 2.20GHz CN9975-2200BG4077-PR21
                          -Y-G CPU @ 2.2GHz

                                          SoC:                 Unknown
   #####  ##   # #####  ## ####  ######   Technology:          Unknown
 ###    ####   ###      ####  ###   ###   Microarchitecture:   ThunderX2 99XX
###       ##   ###      ###    ##    ###  Max Frequency:       ~2.140 GHz
 ###    ####   ###      ###    ##    ###  Cores:               224 cores
  ######  ##   ###      ###    ##    ###  Features:            NEON,SHA1,SHA2,AES,CRC32
                                          Peak Performance:    3.83 TFLOP/s
There's a ton of lines for each cpu like: 
...
[WARNING]: Could not open '/sys/devices/system/cpu/cpu223/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 223. This is probably because the core is offline
[WARNING]: Could not open '/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to find max frequency from udev, measuring CPU frequency
[WARNING]: Running frequency measurement with 5250000 iterations on core 0...
cpufetch is measuring the max frequency...[WARNING]: SoC detection failed using /proc/cpuinfo: No string found
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-efuse0/nvmem: No such file or directory
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-otp0/nvmem: No such file or directory
[WARNING]: guess_soc_from_uarch: No uarch matched the list
[WARNING]: guess_soc_from_pci: No PCI device matched the list

3. We have 4 newer mt snow boxes: buildhw-a64-03/04/05/06

Vendor ID:                ARM
  BIOS Vendor ID:         Ampere(R)
  Model name:             Neoverse-N1
    BIOS Model name:      Ampere(R) Altra(R) Processor Q80-30 CPU @ 3.0GHz
    BIOS CPU family:      257
    Model:                1

[WARNING]: SoC detection failed using /proc/cpuinfo: No string found
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-efuse0/nvmem: No such file or directory
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-otp0/nvmem: No such file or directory
[WARNING]: guess_soc_from_uarch: No uarch matched the list
[WARNING]: guess_soc_from_pci: No PCI device matched the list

                                          SoC:                 Unknown
   #####  ##   # #####  ## ####  ######   Technology:          Unknown
 ###    ####   ###      ####  ###   ###   Microarchitecture:   Neoverse N1
###       ##   ###      ###    ##    ###  Max Frequency:       3.000 GHz
 ###    ####   ###      ###    ##    ###  Cores:               80 cores
  ######  ##   ###      ###    ##    ###  Features:            NEON,SHA1,SHA2,AES,CRC32
                                          Peak Performance:    3.84 TFLOP/s

4. There's a bunch of buildvm-a64's on newer mt snow boxes:

Vendor ID:                ARM
  BIOS Vendor ID:         QEMU
  Model name:             Neoverse-N1
    BIOS Model name:      virt-rhel9.2.0  CPU @ 2.0GHz
    BIOS CPU family:      1

...
[WARNING]: Could not open '/sys/devices/system/cpu/cpu11/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to fetch max frequency for core 11. This is probably because the core is offline
[WARNING]: Could not open '/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq'
[WARNING]: Unable to find max frequency from udev, measuring CPU frequency
[WARNING]: Running frequency measurement with 7250000 iterations on core 0...
cpufetch is measuring the max frequency...[WARNING]: SoC detection failed using /proc/cpuinfo: No string found
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-efuse0/nvmem: No such file or directory
[WARNING]: read_file: /sys/bus/nvmem/devices/rockchip-otp0/nvmem: No such file or directory
[WARNING]: guess_soc_from_uarch: No uarch matched the list
[WARNING]: guess_soc_from_pci: No PCI device matched the list
                                          
                                          SoC:                 Unknown
   #####  ##   # #####  ## ####  ######   Technology:          Unknown
 ###    ####   ###      ####  ###   ###   Microarchitecture:   Neoverse N1
###       ##   ###      ###    ##    ###  Max Frequency:       ~2.990 GHz
 ###    ####   ###      ###    ##    ###  Cores:               12 cores
  ######  ##   ###      ###    ##    ###  Features:            NEON,SHA1,SHA2,AES,CRC32
                                          Peak Performance:    574.08 GFLOP/s

Hope that helps...

kevin

Attachment: signature.asc
Description: PGP signature

-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux