Originally Posted by
dbbolton
Your script seems to be calling 'pi' more than once. Still, if it is faster than Super Pi, then its results are totally irrelevant to all others in this thread.
If you really want to use the 'pi' program in the repositories to calculate pi to 2^20 digits and time the process, all you need to run is this command:
Code:
time pi 1048576 | egrep '.*total$'
And for me, running a T7600, this only took about 4 seconds. So I am pretty sure that this program isn't at all comparable to Super Pi.
The 'time' command is usually accurate to a few milliseconds:
Code:
time sleep 1
sleep 1 0.00s user 0.00s system 0% cpu 1.003 total
Considering human reaction time, I would guess that using a stop watch is going to be at least 1/3 of a second off, and probably way more for really short periods.
here is mine, e8400@4ghz i dont know if it uses both cores?
Code:
mark@mark-desktop:~/superpi$ time pi 1048576 | egrep '.*total$'
real 0m2.391s
user 0m2.350s
sys 0m0.050s
mark@mark-desktop:~/superpi$
this is my e5200 @ stock (2.5ghz)
Code:
mark@torrentslave:~/scripts$ time pi 1048576 | egrep '.*total$'
real 0m4.227s
user 0m4.100s
sys 0m0.120s
mark@torrentslave:~/scripts$
time is def accurate ...
Code:
mark@mark-desktop:~$ time sleep 1
real 0m1.001s
user 0m0.000s
sys 0m0.000s
mark@mark-desktop:~$
Bookmarks