忘记了服务器用得是什么CPU,于是用x86info检查一下:
# x86info -c
x86info v1.20. Dave Jones 2001-2006Feedback to <>.Found 8 CPUs
--------------------------------------------------------------------------CPU #1Family: 6 Model: 10 Stepping: 5 Type: 0 Brand: 0CPU Model: Pentium II (Deschutes) Original OEMFeature flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl vmx est tm2 ssse3 cx16 xTPR dcaExtended feature flags: SYSCALL xd em64t lahf_lmCache info L1 Data cache: 32KB, 8-way associative. 64 byte line size.TLB info Instruction TLB: 4K pages, 4-way associative, 128 entries. Data TLB: 4KB pages, 4-way associative, 64 entries 64 byte prefetching.Found unknown cache descriptors: 09 21 55 5a ca e3 Processor serial: 0001-06A5-0000-0000-0000-0000The physical package supports 16 logical processors--------------------------------------------------------------------------
显示的却是Pentium II的CPU,立刻雷到,看看已经是2006年版本的x86info,于是果断升级,新版本在这个网站找:
步骤如下:
wget
yum -y install pciutils-devel.x86_64
tar xvfz x86info-1.30.tgz
cd x86info-1.30
make
cp -rf x86info /usr/sbin/
使用新版本x86info检测如下:
x86info -c
x86info v1.30. Dave Jones 2001-2011Feedback to <>.Found 8 identical CPUs
Extended Family: 0 Extended Model: 1 Family: 6 Model: 26 Stepping: 5Type: 0 (Original OEM)CPU Model (x86info's best guess): Core i7 (Nehalem) [bloomfield/gainestown]Processor name string (BIOS programmed): Intel(R) Xeon(R) CPU E5504 @ 2.00GHzCache info
L1 Instruction cache: 32KB, 4-way associative. 64 byte line size. L1 Data cache: 32KB, 8-way associative. 64 byte line size. L2 (MLC): 256KB, 8-way associative. 64 byte line size.TLB info Instruction TLB: 2MB or 4MB pages, fully associative, 7 entries Instruction TLB: 4K pages, 4-way associative, 128 entries. Data TLB: 4KB or 4MB pages, fully associative, 32 entries. Data TLB: 4KB pages, 4-way associative, 64 entries Data TLB: 4K pages, 4-way associative, 512 entries. 64 byte prefetching.Found unknown cache descriptors: e3 Total processor threads: 8This system has 2 dual-core processors with hyper-threading (2 threads per core) running at an estimated 2.00GHz
能正确认出CPU类型了,收工。