Sunday 3 February 2008

SuperPi for Ubuntu

I have recently come across the Linux version of superpi. SuperPi is a popular program among the hardware and overclocking communities and is used to test the performance and stability of computers. It calculates the value of pi up to specified number of digits after the decimal point and displays your computers performance. You can get a copy from here

ftp://pi.super-computing.org/Linux/super_pi.tar.gz

Once you've downloaded it just unpack and use the following command to run it.

./super_pi 20

Here's a screenshot of my results.



Try it for yourself and post your results in the comments.

11 comments:

  1. 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 : Mon Feb 4 22:41:29 EET 2008
    Start of PI calculation up to 1048576 decimal digits
    End of initialization. Time= 1.512 Sec.
    I= 1 L= 0 Time= 4.952 Sec.
    I= 2 L= 0 Time= 5.660 Sec.
    I= 3 L= 1 Time= 5.672 Sec.
    I= 4 L= 2 Time= 5.660 Sec.
    I= 5 L= 5 Time= 5.812 Sec.
    I= 6 L= 10 Time= 5.588 Sec.
    I= 7 L= 21 Time= 5.372 Sec.
    I= 8 L= 43 Time= 5.680 Sec.
    I= 9 L= 87 Time= 5.384 Sec.
    I=10 L= 174 Time= 5.520 Sec.
    I=11 L= 349 Time= 5.836 Sec.
    I=12 L= 698 Time= 5.728 Sec.
    I=13 L= 1396 Time= 5.864 Sec.
    I=14 L= 2794 Time= 5.900 Sec.
    I=15 L= 5588 Time= 5.760 Sec.
    I=16 L= 11176 Time= 5.852 Sec.
    I=17 L= 22353 Time= 5.896 Sec.
    I=18 L= 44707 Time= 5.512 Sec.
    I=19 L= 89415 Time= 5.028 Sec.
    End of main loop
    End of calculation. Time= 113.123 Sec.
    End of data output. Time= 0.272 Sec.
    Total calculation(I/O) time= 113.395( 2.000) Sec.
    ------ Ended super_pi run : Mon Feb 4 22:43:53 EET 20


    ............soooooooooooo: what does this mean?

    ReplyDelete
  2. Its just a way for people to compare their machines performance against others- lower times means faster processor etc, its a sort of a benchmarking tool. Overclockers can use it test the stability of their computers with much larger calculation to see if it is done error free.

    ReplyDelete
  3. Btw I have a core 2 quad Q6600, I think this is a single threaded app so more cores shouldn't make a difference.

    ReplyDelete
  4. You can run
    sudo nice -n -20 ./super_pi 20
    to make sure you've got the highest possible score :)

    ReplyDelete
  5. BooBoo% sudo nice -n -20 ./super_pi 20
    [sudo] password for ben:
    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 : Sun Dec 28 01:46:24 EST 2008
    Start of PI calculation up to 1048576 decimal digits
    End of initialization. Time= 0.944 Sec.
    I= 1 L= 0 Time= 1.796 Sec.
    I= 2 L= 0 Time= 1.552 Sec.
    I= 3 L= 1 Time= 1.564 Sec.
    I= 4 L= 2 Time= 1.564 Sec.
    I= 5 L= 5 Time= 1.308 Sec.
    I= 6 L= 10 Time= 1.540 Sec.
    I= 7 L= 21 Time= 1.444 Sec.
    I= 8 L= 43 Time= 1.448 Sec.
    I= 9 L= 87 Time= 1.580 Sec.
    I=10 L= 174 Time= 1.576 Sec.
    I=11 L= 349 Time= 1.548 Sec.
    I=12 L= 698 Time= 1.572 Sec.
    I=13 L= 1396 Time= 1.528 Sec.
    I=14 L= 2794 Time= 1.536 Sec.
    I=15 L= 5588 Time= 1.536 Sec.
    I=16 L= 11176 Time= 1.532 Sec.
    I=17 L= 22353 Time= 1.532 Sec.
    I=18 L= 44707 Time= 1.496 Sec.
    I=19 L= 89415 Time= 1.360 Sec.
    End of main loop
    End of calculation. Time= 31.202 Sec.
    End of data output. Time= 0.172 Sec.
    Total calculation(I/O) time= 31.374( 0.880) Sec.
    ------ Ended super_pi run : Sun Dec 28 01:46:57 EST 2008

    ReplyDelete
  6. Only one core used =( (Phenom X3 2.1 Ghz)

    dilopez@casa:~/super_pi$ sudo nice -n -20 ./super_pi 20
    [sudo] password for dilopez:
    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 : Wed Apr 22 20:22:35 UYT 2009
    Start of PI calculation up to 1048576 decimal digits
    End of initialization. Time= 0.452 Sec.
    I= 1 L= 0 Time= 1.264 Sec.
    I= 2 L= 0 Time= 1.460 Sec.
    I= 3 L= 1 Time= 1.460 Sec.
    I= 4 L= 2 Time= 1.460 Sec.
    I= 5 L= 5 Time= 1.456 Sec.
    I= 6 L= 10 Time= 1.452 Sec.
    I= 7 L= 21 Time= 1.468 Sec.
    I= 8 L= 43 Time= 1.460 Sec.
    I= 9 L= 87 Time= 1.460 Sec.
    I=10 L= 174 Time= 1.456 Sec.
    I=11 L= 349 Time= 1.460 Sec.
    I=12 L= 698 Time= 1.460 Sec.
    I=13 L= 1396 Time= 1.456 Sec.
    I=14 L= 2794 Time= 1.452 Sec.
    I=15 L= 5588 Time= 1.452 Sec.
    I=16 L= 11176 Time= 1.448 Sec.
    I=17 L= 22353 Time= 1.428 Sec.
    I=18 L= 44707 Time= 1.392 Sec.
    I=19 L= 89415 Time= 1.292 Sec.
    End of main loop
    End of calculation. Time= 28.830 Sec.
    End of data output. Time= 0.176 Sec.
    Total calculation(I/O) time= 29.006( 0.784) Sec.
    ------ Ended super_pi run : Wed Apr 22 20:23:04 UYT 2009

    ReplyDelete
  7. ------ Started super_pi run : sob, 9 maj 2009, 08:42:28 CEST
    Start of PI calculation up to 1048576 decimal digits
    End of initialization. Time= 0.280 Sec.
    I= 1 L= 0 Time= 0.808 Sec.
    I= 2 L= 0 Time= 0.940 Sec.
    I= 3 L= 1 Time= 0.928 Sec.
    I= 4 L= 2 Time= 0.952 Sec.
    I= 5 L= 5 Time= 0.924 Sec.
    I= 6 L= 10 Time= 0.936 Sec.
    I= 7 L= 21 Time= 0.936 Sec.
    I= 8 L= 43 Time= 0.928 Sec.
    I= 9 L= 87 Time= 0.932 Sec.
    I=10 L= 174 Time= 0.940 Sec.
    I=11 L= 349 Time= 0.932 Sec.
    I=12 L= 698 Time= 0.924 Sec.
    I=13 L= 1396 Time= 0.928 Sec.
    I=14 L= 2794 Time= 0.924 Sec.
    I=15 L= 5588 Time= 0.968 Sec.
    I=16 L= 11176 Time= 0.928 Sec.
    I=17 L= 22353 Time= 0.904 Sec.
    I=18 L= 44707 Time= 0.880 Sec.
    I=19 L= 89415 Time= 0.824 Sec.
    End of main loop
    End of calculation. Time= 18.441 Sec.
    End of data output. Time= 0.096 Sec.
    Total calculation(I/O) time= 18.537( 0.660) Sec.
    ------ Ended super_pi run : sob, 9 maj 2009, 08:42:47 CEST

    ReplyDelete
  8. Dell Optiplex 3.16, Ubuntu 9.04
    Total calculation(I/O) time= 12.061( 0.420) Sec.

    A Virtualbox VM running 9.04 (within 9.04)
    Total calculation(I/O) time= 12.669( 0.872) Sec.

    ReplyDelete
  9. Thinkpad T61p, Ubuntu 8.04.3 LTS
    Total calculation(I/O) time= 15.817( 0.608) Sec.

    ReplyDelete
  10. Segmentation fault for 64bit Karmic....

    ReplyDelete
  11. The program doesn't work. Say me Segmentation defaul

    ReplyDelete