

# cat / proc/cpuinfo | grep "cores" | sort | uniq # cat / proc/cpuinfo | grep 'physical id' | sort | uniq If two logical CPU s have the same "core id", then the hyperthreading is open. If "siblings" is twice as much as "cpu cores", then hyperthreading is supported and hyperthreading is open. If "siblings" and "cpu cores" are identical, hyperthreading is not supported, or the hyperthreading is not open. So this machine is a 24-core machine.ĭetermine whether hyperthreading is supported: Then the number of logical CPUs is 2 x 6 x 2=24.
CPUINFO INTEL CPU FAMILY 6 SERIES
If the CPU model is Xeon E5 series, this series is six core, twelve threads, that is, hyperthreading (generally only one thread in a core). Note: Number of logical CPUs = Number of physical CPUs x CPU core x 2 (if hyperthreading)Ĭat /proc/cpuinfo | grep 'siblings' | sort |uniq Look at how many physical CPUs there are (a section with different physical IDS indicates how many physical CPUs there are)Ĭat /proc/cpuinfo | grep 'physical id' | sort | uniqĬat /proc/cpuinfo | grep "cores" | sort | uniqĬat /proc/cpuinfo | grep "processor" | wc -l Analysis of Linux Physics, Core Number and Logical CPU Number

Siblings : 12 #Number of core threads per CPUįlags : 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 xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcidĪddress sizes : 46 bits physical, 48 bits virtual Model name : Intel(R) Xeon(R) CPU E5- 2620 v3 2.40GHz #CPU modelĬache size : 15360 KB #CPU Level 2 Cache Size Physical CPU: CPU on the slot in the actual server 2. Multi-core CPU: CPU chips contain multiple processor cores (i.e. All CPU computations, acceptance/storage commands, and processing data are executed by the core CPU Core: The core becomes the core, which is an important part of the CPU.
