linux cpu详细信息cat /proc/cpuinfo的内容解释.

cat /proc/cpuinfo
    • processor 条目包括这一逻辑处理器的唯一标识符.
    • physical id 条目包括每个物理封装的唯一标识符。几个物理的cpu.
    • core id 条目保存每个内核的唯一标识符。
    • siblings 条目列出了位于相同物理封装中的逻辑处理器的数量。
    • cpu cores 条目包含位于相同物理封装中的内核数量
    • 如果处理器为英特尔处理器,则 vendor id 条目中的字符串是 GenuineIntel
 
如果cpu cores与 siblings 相同,则说明没有使用超线程,如果siblings 是cpu cores的2倍,则说明支持2个超线程.
 
例子: 2 x cpu时,假如每个cpu 2 核心,而每个 核心又使用2个 超线程.则可以看到8个实际可用的cpu.
 processor
 0
 1
 2
 3
 4
 5
 6
 7    8个实际可用的cpu.
 physical id
 0
 1
 0
 1
 0
 1
 0
 1    2个物理cpu.
 core id
 0
2
1
 3
 0
 2
 1
 3    每个cpu里的内核的际识.
 siblings
 4
 4
 4
 4
 4
 4
 4
 4    说明每个每个物理cpu实际有4个兄弟姐妹.实为2cpu x 2 核 x 2 超线 = 8.
 cpu cores
 2
 2
 2
 2
 2
 2
 2
 2    每个 cpu是2核的
 
--------------------虚拟机----------------------
processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 23
model name: Pentium(R) Dual-Core  CPU      E5800  @ 3.20GHz
stepping: 10
cpu MHz: 3064.580
cache size: 6144 KB
fpu: yes
fpu_exception: yes
cpuid level: 5

 

wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm constant_tsc up rep_good nopl pni monitor ssse3 lahf_lm
bogomips: 6129.16
clflush size: 64
cache_alignment: 64
address sizes: 36 bits physical, 48 bits virtual
power management:
 
------------服务器------------------------

 

physical id 0.1说明只有2cpu.
siblingscpu cores都为4,说明是4核的,不支持超线程.
总结:2cpu x  4 =8
 
processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 44
model name: Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
stepping: 2
cpu MHz: 2127.780
cache size: 8192 KB
physical id: 1
siblings: 4
core id: 0
cpu cores: 4
apicid: 32
initial apicid: 32
fpu: yes
fpu_exception: yes
cpuid level: 11
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips: 4255.56
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management:
 
processor: 1
vendor_id: GenuineIntel
cpu family: 6
model: 44
model name: Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
stepping: 2
cpu MHz: 2127.780
cache size: 8192 KB
physical id: 0
siblings: 4
core id: 0
cpu cores: 4
apicid: 0
initial apicid: 0
fpu: yes
fpu_exception: yes
cpuid level: 11
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips: 4255.87
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management:
 
processor: 2
vendor_id: GenuineIntel
cpu family: 6
model: 44
model name: Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
stepping: 2
cpu MHz: 2127.780
cache size: 8192 KB
physical id: 1
siblings: 4
core id: 1
cpu cores: 4
apicid: 34
initial apicid: 34
fpu: yes
fpu_exception: yes
cpuid level: 11
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips: 4255.84
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management:
 
processor: 3
vendor_id: GenuineIntel
cpu family: 6
model: 44
model name: Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
stepping: 2
cpu MHz: 2127.780
cache size: 8192 KB
physical id: 0
siblings: 4
core id: 1
cpu cores: 4
apicid: 2
initial apicid: 2
fpu: yes
fpu_exception: yes
cpuid level: 11
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips: 4255.87
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management:
 
processor: 4
vendor_id: GenuineIntel
cpu family: 6
model: 44
model name: Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
stepping: 2
cpu MHz: 2127.780
cache size: 8192 KB
physical id: 1
siblings: 4
core id: 9
cpu cores: 4
apicid: 50
initial apicid: 50
fpu: yes
fpu_exception: yes
cpuid level: 11
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips: 4255.84
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management:
 
processor: 5
vendor_id: GenuineIntel
cpu family: 6
model: 44
model name: Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
stepping: 2
cpu MHz: 2127.780
cache size: 8192 KB
physical id: 0
siblings: 4
core id: 9
cpu cores: 4
apicid: 18
initial apicid: 18
fpu: yes
fpu_exception: yes
cpuid level: 11
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips: 4255.87
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management:
 
processor: 6
vendor_id: GenuineIntel
cpu family: 6
model: 44
model name: Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
stepping: 2
cpu MHz: 2127.780
cache size: 8192 KB
physical id: 1
siblings: 4
core id: 10
cpu cores: 4
apicid: 52
initial apicid: 52
fpu: yes
fpu_exception: yes
cpuid level: 11
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips: 4255.84
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management:
 
processor: 7
vendor_id: GenuineIntel
cpu family: 6
model: 44
model name: Intel(R) Xeon(R) CPU           E5606  @ 2.13GHz
stepping: 2
cpu MHz: 2127.780
cache size: 8192 KB
physical id: 0
siblings: 4
core id: 10
cpu cores: 4
apicid: 20
initial apicid: 20
fpu: yes
fpu_exception: yes
cpuid level: 11
wp: yes
flags: fpu vme de pse tsc msr pae mce cx8 apic 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt aes lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips: 4255.87
clflush size: 64
cache_alignment: 64
address sizes: 40 bits physical, 48 bits virtual
power management:

你可能感兴趣的:(linux cpu详细信息cat /proc/cpuinfo的内容解释.)