温馨提示×

centos cpuinfo有哪些关键指标

小樊
42
2025-12-29 07:53:23
栏目: 智能运维

在CentOS系统中,lscpu命令可以显示CPU的详细信息。以下是一些关键指标:

基本信息

  1. Architecture:CPU架构(如x86_64)。
  2. CPU op-mode(s):支持的指令集模式(如32-bit, 64-bit)。
  3. Byte Order:字节序(大端或小端)。
  4. CPU(s):逻辑CPU的数量。
  5. On-line CPU(s) list:在线CPU列表。
  6. Thread(s) per core:每个核心的线程数。
  7. Core(s) per socket:每个插槽的核心数。
  8. Socket(s):物理CPU插槽的数量。

性能指标

  1. Vendor ID:CPU制造商ID。
  2. CPU family:CPU家族号。
  3. Model:CPU型号。
  4. Stepping:CPU步进号。
  5. CPU MHz:当前CPU频率(单位MHz)。
  6. BogoMIPS:每秒十亿次指令数,用于衡量CPU性能。
  7. Virtualization:虚拟化技术支持情况(如VT-x, AMD-V)。
  8. L1d cache:一级数据缓存大小。
  9. L1i cache:一级指令缓存大小。
  10. L2 cache:二级缓存大小。
  11. L3 cache:三级缓存大小。
  12. NUMA node(s):NUMA节点数量。
  13. Flags:CPU支持的指令集和特性标志。

其他重要信息

  1. Flags:详细列出了CPU支持的所有指令集和特性。
  2. Clflush size:缓存行刷新大小。
  3. Cache alignment:缓存对齐方式。
  4. Address sizes:支持的地址空间大小(如39位、48位)。
  5. Power management:电源管理选项。

示例输出

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                8
On-line CPU(s) list:   0-7
Thread(s) per core:    2
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 158
Stepping:              9
CPU MHz:               2400.000
BogoMIPS:              4798.05
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              8192K
NUMA node0 CPU(s):     0-7
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
Clflush size:          64
Cache alignment:       64
Address sizes:         40 bits physical, 48 bits virtual
Power management:

通过这些指标,你可以全面了解CentOS系统中CPU的性能、架构和特性支持情况。

0