Whetstone
Wednesday, January 2nd, 2008I’m still fiddling around with benchmarks.
So, if you ever want to run Whetstone on Ubuntu you will need to:
1. Download the code. I got it from here.
2. Compile it thus:
gcc whets.c -o whets -O2 -fomit-frame-pointer -ffast-math -fforce-addr -fforce-mem -lm -DUNIX
3. Run it:
./whets
4. Wait about a minute and a half as the results roll in then answer some questions to produce a result file.
This is what they look like on my aging 2nd desktop machine:
##############################################
Whetstone Single Precision Benchmark in C/C++
Date 2/1/2008 (DD/MM/YYYY)
Model Brand-x Pentium 3
CPU Pentium III (Coppermine)
Clock MHz 800 Mhz
Cache L1 16k L2 256k
H/W options
OS Ubuntu 6.06
Compiler gcc
Options -O2 -fomit-frame-pointer -ffast-math -fforce-addr -fforce-mem -lm -DUNIX
Loop content Result MFLOPS MOPS Seconds
N1 floating point -1.12441420555114746 241.012 0.561
N2 floating point -1.12241148948669434 199.674 4.739
N3 if then else 1.00000000000000000 1151.431 0.633
N4 fixed point 12.00000000000000000 3837.803 0.578
N5 sin,cos etc. 0.49907428026199341 20.709 28.288
N6 floating point 0.99999988079071045 118.127 32.151
N7 assignments 3.00000000000000000 121.284 10.728
N8 exp,sqrt etc. 0.75095528364181519 11.484 22.809
MWIPS 700.690 100.487
Results to load to spreadsheet MWIPS Mflops1 Mflops2 Mflops3 Cosmops Expmops Fixpmops Ifmops Eqmops
Results to load to spreadsheet 700.690 241.012 199.674 118.127 20.709 11.484 3837.803 1151.431 121.284