1. Linux CPU 가상 core를 (Intel Hyperthread) 포함한 전체 Core 수 확인
[root@marine1 ~]# [root@marine1 ~]# cat /proc/cpuinfo | grep process | wc -l 128
[root@marine1 ~]# dmidecode -t processor | grep "Thread Count" Thread Count: 16 Thread Count: 16 Thread Count: 16 Thread Count: 16 Thread Count: 16 Thread Count: 16 Thread Count: 16 Thread Count: 16 [root@marine1 ~]# |
2. CPU 이하 실제 물리적인 Core 수 확인
[root@marine1 ~]# dmidecode -t processor | grep "Core Count" Core Count: 8 Core Count: 8 Core Count: 8 Core Count: 8 Core Count: 8 Core Count: 8 Core Count: 8 Core Count: 8 |
3. Linux 이하 실제 물리적인 CPU 소켓 수 확인
[root@marine1 ~]# dmidecode -t processor | grep "Socket Designation" Socket Designation: Proc 1 (Upper Tray, Processor 1) Socket Designation: Proc 2 (Upper Tray, Processor 2) Socket Designation: Proc 3 (Upper Tray, Processor 3) Socket Designation: Proc 4 (Upper Tray, Processor 4) Socket Designation: Proc 5 (Lower Tray, Processor 4) Socket Designation: Proc 6 (Lower Tray, Processor 3) Socket Designation: Proc 7 (Lower Tray, Processor 2) Socket Designation: Proc 8 (Lower Tray, Processor 1) [root@marine1 ~]# [root@marine1 ~]# |
4. CPU 관련 Detail 정보 확인
[root@marine1 ~]# dmidecode -t processor | more # dmidecode 2.10 SMBIOS 2.7 present. # SMBIOS implementations newer than version 2.6 are not # fully supported by this version of dmidecode.
Handle 0x0400, DMI type 4, 42 bytes Processor Information Socket Designation: Proc 1 (Upper Tray, Processor 1) Type: Central Processor Family: Xeon Manufacturer: Intel ID: E6 06 02 00 FF FB EB BF Signature: Type 0, Family 6, Model 46, Stepping 6 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) DS (Debug store) ACPI (ACPI supported) MMX (MMX technology supported) FXSR (Fast floating-point save and restore) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) SS (Self-snoop) HTT (Hyper-threading technology) TM (Thermal monitor supported) PBE (Pending break enabled) Version: Intel(R) Xeon(R) CPU X7560 @ 2.27GHz Voltage: 1.4 V External Clock: 133 MHz Max Speed: 4800 MHz Current Speed: 2267 MHz Status: Populated, Enabled Upgrade: <OUT OF SPEC> L1 Cache Handle: 0x0710 L2 Cache Handle: 0x0720 L3 Cache Handle: 0x0730 Serial Number: Not Specified Asset Tag: Not Specified Part Number: Not Specified Core Count: 8 Core Enabled: 8 Thread Count: 16 Characteristics: 64-bit capable |