了解机器配置,多处理器或多核或两者兼而有之?

我想知道我的ubuntu盒子有多少处理器,如果它们是多核的。 我做到了

cat /proc/cpuinfo 

我看到这样的事情

 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: 

值得注意的是,我看到这样的数据块四次
processor : 0processor : 4
每次我看到

 cpu cores : 4 

我想知道这是什么意思?

这台机器有4 processors ,每个处理器有4-cores吗?

请告诉我

谢谢

Q6600是一款4核处理器。 你应该看到处理器0-3(总共4)不是0-4(这将是5)。 如果查看“物理ID”字段,您应该看到相同的数字(0)。

在支持超线程的四核上,您实际上应该看到8个虚拟处理器核心(每个物理核心上运行2个虚拟HT核心)。 您可能禁用了超线程。

查看“hwloc”包中的“lstopo”命令。

http://www.open-mpi.org/projects/hwloc/

http://packages.ubuntu.com/hwloc