搭建环境:
Centos x64
首先查看CPU架构
[root@mysqltest bin]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : QEMU Virtual CPU version 2.3.0
stepping : 3
microcode : 0x1
cpu MHz : 2194.710
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 ht syscall nx lm rep_good nopl pni cx16 x2apic hypervisor lahf_lm abm
bogomips : 4389.42
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 13
model name : QEMU Virtual CPU version 2.3.0
stepping : 3
microcode : 0x1
cpu MHz : 2194.710
cache size : 4096 KB
physical id : 0
siblings : 2
core id