系统CPU问题

CPU/显卡/打印机/USB设备等硬件问题
回复
abbott
帖子: 435
注册时间: 2007-07-11 22:45

系统CPU问题

#1

帖子 abbott » 2008-10-29 18:41

机器的具体型号不知道,
大概是IBM, Workstation Pro Z系列的。
现在运行的是32位的系统,
看到这样的信息:
[redstar@localhost Rh_1_D]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 3
cpu MHz : 3200.240
cache size : 2048 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips : 8008.28
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 3
cpu MHz : 3200.240
cache size : 2048 KB
physical id : 1
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips : 8008.28
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 2
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 3
cpu MHz : 3200.240
cache size : 2048 KB
physical id : 2
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips : 8008.28
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:

processor : 3
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 3
cpu MHz : 3200.240
cache size : 2048 KB
physical id : 3
siblings : 1
core id : 0
cpu cores : 1
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips : 8008.28
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 48 bits virtual
power management:

同时也看到这个信息:
[redstar@localhost Rh_1_D]$ dmesg | grep CPU | grep ID
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0

机器的说明书不知道哪里去了。
现在问题是:这个机器到底有几个CPU?是不是采用超线程技术的?

因为机器最少是两年前的东西了,大概不会是一个4核心的物理CPU。
因为涉及到要采用多和并行执行一个计算,所以想弄清楚,这个机器上面,到底有多少个CPU?
CPU之间采用什么方式交换数据? 是SMP方式吗? 机器上的内存只有2GB。

期待高人的解答!
poet
帖子: 2841
注册时间: 2006-09-11 22:47

Re: 系统CPU问题

#2

帖子 poet » 2008-10-29 18:55

具体情况不太清楚,不过,服务器CPU大约在十年前就已经完全淘汰了单核心单CPU结构。所以该服务器要么是四核,要么是4CPU(4个单核心CPU),要么是两个双核心CPU。

服务器领域的CPU,一切技术革新都远比桌面领域要早。

但是具体到楼主这款CPU,是有具体资料可查的,根据现有的资料基本可以肯定的说:这是4个单核CPU,也就是说服务器的主板上安装有4个CPU。
hbolive
帖子: 89
注册时间: 2008-04-24 20:01

Re: 系统CPU问题

#3

帖子 hbolive » 2008-10-29 19:04

processor : 0-3 程序有抓到4個CPU
CPU: Physical Processor ID: 0实体代碼ID:0
大概是一个4核心的物理CPU。
這是我的理解! :em04
abbott
帖子: 435
注册时间: 2007-07-11 22:45

Re: 系统CPU问题

#4

帖子 abbott » 2008-10-29 19:04

谢谢你的回复!
那么就是说,我这里的四个CPU,集成在一个主板上,他们之间是通过共享内存来交换数据的吧?

之前,我用的程序是通过CLuster并行的,还没有采用过这种一个主板上集成数个CPU的情况!
如此一来,这四个CPU,是不是和现在普通的PC上面的多核心处理器一样,通过共享内存来交换数据!

由于机器需要,希望能并行执行我的程序,提高效率。
我使用的程序支持两种并行:
一个是通过cluster方式的,采用linda并行库实现,以TCP/IP协议为基础进行数据通讯;
另一个是通过多个核心的处理器,共享内存的方式,在一个节点内并行!
回复