harryzhu 发表于 2005-12-6 14:35:57

配置更好的一台机器怎么反而比另一台机器慢呢?

在两台机器上做运算,新的一台是915芯片组,CPU是1M缓存,内存也更大,512M,作运算时鼠标根本动不了,另一台旧的是845的,512K缓存,内存也只有256M,运算时鼠标很流畅的,奇怪了,两台机器CPU及内存信息如下:
新的915:
$> more /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model         : 4
model name      : Intel(R) Pentium(R) 4 CPU 2.66GHz
stepping      : 1
cpu MHz         : 2666.866
cache size      : 1024 KB
fdiv_bug      : no
hlt_bug         : no
f00f_bug      : no
coma_bug      : no
fpu             : yes
fpu_exception   : yes
cpuid level   : 5
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 nx
bogomips      : 5321.52

$> top
CPU states:cpu    user    nicesystem    irqsoftirqiowait    idle
         total   12.5%    0.0%    1.5%   0.7%   0.0%    0.0%   85.1%
Mem:   502780k av,432052k used,   70728k free,       0k shrd,104252k buff
                  310656k actv,   69468k in_d,    6392k in_c
Swap: 2096472k av,   620k used, 2095852k free                  214272k cached

另一台老机器:
$> more /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model         : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.60GHz
stepping      : 9
cpu MHz         : 2598.899
cache size      : 512 KB
fdiv_bug      : no
hlt_bug         : no
f00f_bug      : no
coma_bug      : no
fpu             : yes
fpu_exception   : yes
cpuid level   : 2
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
bogomips      : 5153.76

$> top
CPU states:3.5% user,0.7% system,3.5% nice, 92.0% idle
Mem:   247304K av,242272K used,    5032K free,       0K shrd,   17424K buff
Swap: 1020116K av,139776K used,880340K free                   56536K cached

哪位大虾帮忙分析一下?

上边抓的top命令的输出,只是给出两台机器的内存和swap设置,并不是运算时的输出

mandrakechina 发表于 2005-12-6 17:30:31

这说明在新的机器上运行老的Distro是一种折磨。
页: [1]
查看完整版本: 配置更好的一台机器怎么反而比另一台机器慢呢?