Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3194  / 1 Year ago, wed, may 3, 2023, 1:58:44

I want to know how many processors my ubuntu box has and if they are multicore. I did



cat /proc/cpuinfo  


and I see something like this



processor   : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
stepping : 11
cpu MHz : 1603.000
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : 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 nx lm constan
t_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm lahf_lm dts tpr_shadow vnmi flexpriority
bogomips : 4787.19
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:


notably, I saw such data block four times from

processor : 0 to processor : 4

and each time I see



cpu cores : 4  


I want to know what does that mean?



Is this machine has 4 processors and each processor has 4-cores?



Please let me know



Thank you


More From » 11.04

 Answers
0

The Q6600 is a single processor with 4 cores. You should actually be seeing processors 0-3 (total of 4) not 0-4 (which would be 5). If you look at the "physical ID" field you should see the same number (0).



On a hyperthread enabled quad-core, you should actually see 8 virtual processor cores (2 virtual HT cores run on each physical core). You may have hyperthreading disabled.


[#43176] Thursday, May 4, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
darpose

Total Points: 424
Total Questions: 99
Total Answers: 121

Location: Jersey
Member since Fri, Oct 1, 2021
3 Years ago
;