如何查看kunpeng-920 CPU的当前工作频率?
收藏回复举报
如何查看kunpeng-920 CPU的当前工作频率?
t('forum.solved') 已解决
新人帖
发表于2025-09-15 09:58:21
0 查看

我们遇到的问题是:

1. 在kunpeng-920服务器上使用fio对SSD做性能测试,有时性能高,有时性能低。

2. FIO是设置了绑核的,并且与SSD在同一个numa node上。

3. 在性能低的时候,重启服务器,再次测试同一个SSD,把FIO绑到相同的核上,其他配置也都相同,性能就正常了。唯一的不同是,重启了服务器。

4. 同样一片SSD,在其他Kunpeng-920服务器上,也有类似问题。但是,这片SSD插到Intel Xeon服务器上就没有问题。

我们怀疑:可能是由于CPU温度过高等原因,导致了Kunpeng-920 CPU自动降频了。

在Intel Xeon服务器上,可以通过/sys/devices/system/cpu/cpu0/cpufreq/*下面的文件,读出当前CPU的工作频率。也可以通过命令cpupower monitor turbostat等查看是否降频。

但是在kunpeng-920上,这些查看CPU工作频率的方法都不能用了。

请问:在kunpeng-920上如何查看CPU的工作频率?

下面是我们服务器的CPU型号、Linux内核版本、以及装入的内核模块等信息。

希望能给我们一些相关信息,谢谢。

[root@localhost kernels]# lscpu

Architecture:                    aarch64

CPU op-mode(s):                  64-bit

Byte Order:                      Little Endian

CPU(s):                          128

On-line CPU(s) list:             0-127

Thread(s) per core:              1

Core(s) per socket:              64

Socket(s):                       2

NUMA node(s):                    2

Vendor ID:                       HiSilicon

Model:                           0

Model name:                      Kunpeng-920

Stepping:                        0x1

BogoMIPS:                        200.00

L1d cache:                       8 MiB

L1i cache:                       8 MiB

L2 cache:                        64 MiB

L3 cache:                        128 MiB

NUMA node0 CPU(s):               0-63

NUMA node1 CPU(s):               64-127

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

Vulnerability Spectre v1:        Mitigation; __user pointer sanitization

Vulnerability Spectre v2:        Not affected

Vulnerability Srbds:             Not affected

Vulnerability Tsx async abort:   Not affected

Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma dcpop asimddp asimdfhm ssbs

[root@localhost kernels]# uname -a

Linux localhost.localdomain 4.19.90-2102.2.0.0064.ctl2.aarch64 #1 SMP Fri May 20 06:44:10 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

[root@localhost kernels]#

[root@localhost kernels]# lsmod

Module                  Size  Used by

scpi_cpufreq          262144  0

arm_scpi              262144  1 scpi_cpufreq

ip6t_rpfilter         262144  1

ip6t_REJECT           262144  2

nf_reject_ipv6        262144  1 ip6t_REJECT

ipt_REJECT            262144  2

nf_reject_ipv4        262144  1 ipt_REJECT

xt_conntrack          262144  13

ebtable_filter        262144  1

ebtable_nat           262144  1

ebtable_broute        262144  1

bridge                327680  1 ebtable_broute

stp                   262144  1 bridge

llc                   262144  2 bridge,stp

ebtables              262144  3 ebtable_nat,ebtable_filter,ebtable_broute

ip6table_nat          262144  1

nf_nat_ipv6           262144  1 ip6table_nat

ip6table_mangle       262144  1

ip6table_raw          262144  1

ip6table_security     262144  1

iptable_nat           262144  1

nf_nat_ipv4           262144  1 iptable_nat

nf_nat                262144  2 nf_nat_ipv6,nf_nat_ipv4

iptable_mangle        262144  1

iptable_raw           262144  1

iptable_security      262144  1

nf_conntrack          327680  4 xt_conntrack,nf_nat,nf_nat_ipv6,nf_nat_ipv4

nf_defrag_ipv6        262144  1 nf_conntrack

nf_defrag_ipv4        262144  1 nf_conntrack

libcrc32c             262144  2 nf_conntrack,nf_nat

rfkill                262144  1

ip_set                262144  0

nfnetlink             262144  1 ip_set

ip6table_filter       262144  1

ip6_tables            262144  7 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle,ip6table_security

iptable_filter        262144  1

rdma_ucm              262144  0

rdma_cm               262144  1 rdma_ucm

iw_cm                 262144  1 rdma_cm

ib_ipoib              327680  0

ib_cm                 262144  2 rdma_cm,ib_ipoib

ib_umad               262144  0

mlx5_ib               524288  0

ib_uverbs             327680  2 rdma_ucm,mlx5_ib

ib_core               589824  8 rdma_cm,ib_ipoib,iw_cm,ib_umad,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm

mlx5_core            1572864  1 mlx5_ib

mlxfw                 262144  1 mlx5_core

tls                   262144  1 mlx5_core

strparser             262144  1 tls

mlx_compat            262144  10 rdma_cm,ib_ipoib,iw_cm,ib_umad,ib_core,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm,mlx5_core

devlink               327680  1 mlx5_core

vfat                  262144  1

fat                   262144  1 vfat

ipmi_ssif             262144  0

aes_ce_blk            262144  0

crypto_simd           262144  1 aes_ce_blk

cryptd                262144  1 crypto_simd

aes_ce_cipher         262144  1 aes_ce_blk

ses                   262144  0

ofpart                262144  0

enclosure             262144  1 ses

cmdlinepart           262144  0

ghash_ce              262144  0

sg                    262144  0

sha2_ce               262144  0

sha256_arm64          262144  1 sha2_ce

ipmi_si               262144  0

sha1_ce               262144  0

ipmi_devintf          262144  0

ipmi_msghandler       262144  3 ipmi_devintf,ipmi_si,ipmi_ssif

hi_sfc                262144  0

sbsa_gwdt             262144  0

mtd                   262144  4 cmdlinepart,ofpart,hi_sfc

spi_dw_mmio           262144  0

sch_fq_codel          262144  5

ip_tables             262144  5 iptable_filter,iptable_security,iptable_raw,iptable_nat,iptable_mangle

ext4                  851968  3

mbcache               262144  1 ext4

jbd2                  327680  1 ext4

sd_mod                262144  4

hclge                 393216  4

hisi_sas_v3_hw        262144  0

hisi_sas_main         262144  1 hisi_sas_v3_hw

libsas                262144  2 hisi_sas_v3_hw,hisi_sas_main

ahci                  262144  0

scsi_transport_sas    262144  4 hisi_sas_v3_hw,ses,hisi_sas_main,libsas

libahci               262144  1 ahci

nvme                  262144  1

hns3                  262144  0

nvme_core             262144  2 nvme

libata                458752  4 libahci,ahci,hisi_sas_main,libsas

hnae3                 262144  2 hclge,hns3

megaraid_sas          327680  3

nfit                  262144  0

i2c_designware_platform   262144  0

i2c_designware_core   262144  1 i2c_designware_platform

libnvdimm             327680  1 nfit

dm_mirror             262144  0

dm_region_hash        262144  1 dm_mirror

dm_log                262144  2 dm_region_hash,dm_mirror

dm_mod                327680  11 dm_log,dm_mirror

[root@localhost kernels]#

我要发帖子