GMPbench v0.1 result
Mohammad Bahathir Hashim
bakhtiar@aldrich.com.my
Mon, 19 May 2003 16:37:13 +0800
I have run the GMPbench v0.1 on one of the fastest PC that I have in my
office, and happy to share the result with others. Belows are the details,
and I hope it is sufficient enough.
Hardware:
CPU: AMD Athlon XP 2400+, 2000 MHz, 1 GB RAM, NForce2 chipset
Software:
Linux kernel : 2.4.21pre7
Distro : Red Hat 8.0
GCC : gcc version 3.3
GMP : 4.1.2
GMP's compilation with CFLAGS='-O3 -funroll-all-loops -s -DGCC_INLINE -Wall -mmmx -msse -m3dnow -ffast-math -fno-unsafe-math-optimizations -D__USE_ISOC99 -D__USE_EXTERN_INLINES -fomit-frame-pointer -march=athlon-xp'
GMPbench excecution method :
# (time CFLAGS='-O2 -march=athlon-xp' sh runbench) &> result
# cat result
***** GMPbench version 0.1 *****
Using CFLAGS = "-O2 -march=athlon-xp" from your environment
Using default CC = "gcc"
Using default LIBS = "-static -lgmp"
Using compilation command: gcc -O2 -march=athlon-xp 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: 10993668
multiply 512 512
GMPbench.base.multiply.512,512 result: 1556028
multiply 8192 8192
GMPbench.base.multiply.8192,8192 result: 16753
multiply 131072 131072
GMPbench.base.multiply.131072,131072 result: 261
multiply 2097152 2097152
GMPbench.base.multiply.2097152,2097152 result: 7.57
GMPbench.base.multiply result: 14145
Program divide
divide 8192 32
GMPbench.base.divide.8192,32 result: 441766
divide 8192 64
GMPbench.base.divide.8192,64 result: 152409
divide 8192 128
GMPbench.base.divide.8192,128 result: 87253
divide 8192 4096
GMPbench.base.divide.8192,4096 result: 28649
divide 8192 8064
GMPbench.base.divide.8192,8064 result: 368232
divide 131072 8192
GMPbench.base.divide.131072,8192 result: 613
divide 131072 65536
GMPbench.base.divide.131072,65536 result: 325
divide 8388608 4194304
GMPbench.base.divide.8388608,4194304 result: 0.771
GMPbench.base.divide result: 7452.9
GMPbench.base result: 10267
Category app
Program rsa
rsa 512
GMPbench.app.rsa.512 result: 3330
rsa 1024
GMPbench.app.rsa.1024 result: 619
rsa 2048
GMPbench.app.rsa.2048 result: 99.4
GMPbench.app.rsa result: 589.53
GMPbench.app result: 589.53
GMPbench result: 2460.3
real 2m56.152s
user 2m55.610s
sys 0m0.540s
Thank you for the contributions to the Open Source world :).
--
"Leadership and Life-Long Learning"
Mohammad Bahathir Hashim,
System Engineer,
Open Source Systems Sdn. Bhd.
bakhtiar@aldrich.com.my
URL http://www.aldrich.com.my
MALAYSIA