(no subject)

Rafael Avila de Espindola ra003280@ic.unicamp.br
Fri, 22 Aug 2003 13:46:28 -0300


cat /proc/cpuinfo

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Xeon(TM) CPU 2.40GHz
stepping	: 7
cpu MHz		: 2379.070
cache size	: 512 KB
physical id	: 0
siblings	: 2
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	: 4744.80

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Xeon(TM) CPU 2.40GHz
stepping	: 7
cpu MHz		: 2379.070
cache size	: 512 KB
physical id	: 3
siblings	: 2
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	: 4744.80

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Xeon(TM) CPU 2.40GHz
stepping	: 7
cpu MHz		: 2379.070
cache size	: 512 KB
physical id	: 3
siblings	: 2
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	: 4744.80

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 15
model		: 2
model name	: Intel(R) Xeon(TM) CPU 2.40GHz
stepping	: 7
cpu MHz		: 2379.070
cache size	: 512 KB
physical id	: 0
siblings	: 2
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	: 4757.91

gmp 4.2.1

gcc 3.3

ra003280@tramp:/tmp/rafael/gmpbench-0.1$./runbench 
***** GMPbench version 0.1 *****
Using default CFLAGS = "-O3 -fomit-frame-pointer"
Using default CC = "gcc"
Using default LIBS = "-static -lgmp"
Using compilation command: gcc -O3 -fomit-frame-pointer foo.c -o foo 
-static -lg                                                                                                  
mp
You may want to override CC, CFLAGS, and LIBS
Using gmp version: 4.1.2
Compiling benchmarks
Running benchmarks
  Category base
    Program multiply
      multiply 128 128
      GMPbench.base.multiply.128,128 result: 10623870
      multiply 512 512
      GMPbench.base.multiply.512,512 result: 1478742
      multiply 8192 8192
      GMPbench.base.multiply.8192,8192 result: 10982
      multiply 131072 131072
      GMPbench.base.multiply.131072,131072 result: 167
      multiply 2097152 2097152
      GMPbench.base.multiply.2097152,2097152 result: 5.63
    GMPbench.base.multiply result: 11016
    Program divide
      divide 8192 32
      GMPbench.base.divide.8192,32 result: 161949
      divide 8192 64
      GMPbench.base.divide.8192,64 result: 91697
      divide 8192 128
      GMPbench.base.divide.8192,128 result: 49698
      divide 8192 4096
      GMPbench.base.divide.8192,4096 result: 20797
      divide 8192 8064
      GMPbench.base.divide.8192,8064 result: 248695
      divide 131072 8192
      GMPbench.base.divide.131072,8192 result: 458
      divide 131072 65536
      GMPbench.base.divide.131072,65536 result: 233
      divide 8388608 4194304
      GMPbench.base.divide.8388608,4194304 result: 0.543
    GMPbench.base.divide result: 4656.9
  GMPbench.base result: 7162.4
  Category app
    Program rsa
      rsa 512
      GMPbench.app.rsa.512 result: 2634
      rsa 1024
      GMPbench.app.rsa.1024 result: 478
      rsa 2048
      GMPbench.app.rsa.2048 result: 81.1
    GMPbench.app.rsa result: 467.4
  GMPbench.app result: 467.4
GMPbench result: 1829.7

--------------------------------------------------------------

ra003280@tramp:/tmp/rafael/gmpbench-0.1$CFLAGS="-O3 -fomit-frame-pointer 
-march=pentium4" ./runbench 
***** GMPbench version 0.1 *****
Using CFLAGS = "-O3 -fomit-frame-pointer -march=pentium4" from your 
environment
Using default CC = "gcc"
Using default LIBS = "-static -lgmp"
Using compilation command: gcc -O3 -fomit-frame-pointer -march=pentium4 
foo.c -o foo -static -lgmp
You may want to override CC, CFLAGS, and LIBS
Using gmp version: 4.1.2
Compiling benchmarks
Running benchmarks
  Category base
    Program multiply
      multiply 128 128
      GMPbench.base.multiply.128,128 result: 10743882
      multiply 512 512
      GMPbench.base.multiply.512,512 result: 1428266
      multiply 8192 8192
      GMPbench.base.multiply.8192,8192 result: 10943
      multiply 131072 131072
      GMPbench.base.multiply.131072,131072 result: 167
      multiply 2097152 2097152
      GMPbench.base.multiply.2097152,2097152 result: 5.46
    GMPbench.base.multiply result: 10889
    Program divide
      divide 8192 32
      GMPbench.base.divide.8192,32 result: 162114
      divide 8192 64
      GMPbench.base.divide.8192,64 result: 91756
      divide 8192 128
      GMPbench.base.divide.8192,128 result: 50049
      divide 8192 4096
      GMPbench.base.divide.8192,4096 result: 20838
      divide 8192 8064
      GMPbench.base.divide.8192,8064 result: 242546
      divide 131072 8192
      GMPbench.base.divide.131072,8192 result: 465
      divide 131072 65536
      GMPbench.base.divide.131072,65536 result: 230
      divide 8388608 4194304
      GMPbench.base.divide.8388608,4194304 result: 0.541
    GMPbench.base.divide result: 4647.7
  GMPbench.base result: 7114.1
  Category app
    Program rsa
      rsa 512
      GMPbench.app.rsa.512 result: 2935
      rsa 1024
      GMPbench.app.rsa.1024 result: 481
      rsa 2048
      GMPbench.app.rsa.2048 result: 80.6
    GMPbench.app.rsa result: 484.58
  GMPbench.app result: 484.58
GMPbench result: 1856.7