Associate
- Joined
- 30 Jan 2008
- Posts
- 467
My 4GHz Q9550 rig can hit 9.26 seconds on Super Pi on Linux, but running the same calculation on Windows it comes in a good few seconds slower. Is the Linux version of Super Pi written more efficiently (assuming that the code is different) or is it just an OS thing?
matt@q9550:~/Documents/Downloads/super_pi$ ./super_pi 20
Version 2.0 of the super_pi for Linux OS
Fortran source program was translated into C program with version 19981204 of
f2c, then generated C source program was optimized manually.
pgcc 3.2-3 with compile option of "-fast -tp px -Mbuiltin -Minline=size:1000 -Mnoframe -Mnobounds -Mcache_align -Mdalign -Mnoreentrant" was used for the
compilation.
------ Started super_pi run : Sat Nov 22 20:09:30 GMT 2008
Start of PI calculation up to 1048576 decimal digits
End of initialization. Time= 0.156 Sec.
I= 1 L= 0 Time= 0.424 Sec.
I= 2 L= 0 Time= 0.480 Sec.
I= 3 L= 1 Time= 0.476 Sec.
I= 4 L= 2 Time= 0.484 Sec.
I= 5 L= 5 Time= 0.480 Sec.
I= 6 L= 10 Time= 0.464 Sec.
I= 7 L= 21 Time= 0.464 Sec.
I= 8 L= 43 Time= 0.468 Sec.
I= 9 L= 87 Time= 0.464 Sec.
I=10 L= 174 Time= 0.468 Sec.
I=11 L= 349 Time= 0.468 Sec.
I=12 L= 698 Time= 0.468 Sec.
I=13 L= 1396 Time= 0.464 Sec.
I=14 L= 2794 Time= 0.464 Sec.
I=15 L= 5588 Time= 0.464 Sec.
I=16 L= 11176 Time= 0.456 Sec.
I=17 L= 22353 Time= 0.456 Sec.
I=18 L= 44707 Time= 0.436 Sec.
I=19 L= 89415 Time= 0.404 Sec.
End of main loop
End of calculation. Time= 9.265 Sec.
End of data output. Time= 0.056 Sec.
Total calculation(I/O) time= 9.321( 0.336) Sec.
------ Ended super_pi run : Sat Nov 22 20:09:40 GMT 2008