ubuntu 下玩Super PI

仅仅用于软件推荐,不适合发求软件或软件使用问题方面的贴子
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#16

帖子 skyx » 2007-10-26 10:27

wanzcong 写了:跟m$下的不一样啊,计算的值怎么差那么多?20是指的100万吧?
2的20次方
no security measure is worth anything if an attacker has physical access to the machine
强颜欢笑
帖子: 54
注册时间: 2007-04-20 16:19

#17

帖子 强颜欢笑 » 2007-11-19 2:09

hefang@hefang-desktop:~$ time pi 1048576 > /dev/null

real 0m7.043s
user 0m6.916s
sys 0m0.096s
强颜欢笑
帖子: 54
注册时间: 2007-04-20 16:19

#18

帖子 强颜欢笑 » 2007-11-19 2:14

hefang@hefang-desktop:~$ ./super_pi
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 : 2007年 11月 19日 星期一 02:14:53 CST
Parameter(%i) to super_pi is missing. Parameter value ? 20
Start of PI calculation up to 1048576 decimal digits
End of initialization. Time= 0.368 Sec.
I= 1 L= 0 Time= 1.164 Sec.
I= 2 L= 0 Time= 1.324 Sec.
I= 3 L= 1 Time= 1.344 Sec.
I= 4 L= 2 Time= 1.336 Sec.
I= 5 L= 5 Time= 1.340 Sec.
I= 6 L= 10 Time= 1.332 Sec.
I= 7 L= 21 Time= 1.340 Sec.
I= 8 L= 43 Time= 1.328 Sec.
I= 9 L= 87 Time= 1.324 Sec.
I=10 L= 174 Time= 1.332 Sec.
I=11 L= 349 Time= 1.324 Sec.
I=12 L= 698 Time= 1.336 Sec.
I=13 L= 1396 Time= 1.332 Sec.
I=14 L= 2794 Time= 1.324 Sec.
I=15 L= 5588 Time= 1.336 Sec.
I=16 L= 11176 Time= 1.332 Sec.
I=17 L= 22353 Time= 1.312 Sec.
I=18 L= 44707 Time= 1.280 Sec.
I=19 L= 89415 Time= 1.192 Sec.
End of main loop
End of calculation. Time= 26.362 Sec.
头像
luojie-dune
帖子: 22033
注册时间: 2007-07-30 18:28
系统: Linux
来自: 空气中

#19

帖子 luojie-dune » 2007-11-20 6:36

time pi 1048576 > /dev/null

real 0m17.390s
user 0m14.541s
sys 0m0.296s
『这个世界都是我的 ,我爱你们』

ENTP ⥂ INTP ⥄ INFP ⇦ INTJ

在此发布的文章使用 Creative Commons Attribution-ShareAlike 4.0 协议
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

#20

帖子 hcym » 2007-11-20 9:18

6600
附件
CPU_I17.jpg
头像
tomcat.xin
帖子: 400
注册时间: 2007-02-08 21:18

#21

帖子 tomcat.xin » 2007-11-20 20:47

time pi 1048576
real 0m8.395s
user 0m7.004s
sys 0m0.248s

super pi是不支持双核,计算时我的一个CPU在工作
seanfj
帖子: 90
注册时间: 2007-02-09 23:36
来自: China
联系:

#22

帖子 seanfj » 2007-11-21 3:25

代码: 全选

$ sh 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 : 2007年 11月 21日 星期三 03:23:18 CST
 Start of PI calculation up to 1048576 decimal digits
 End of initialization. Time=       0.612 Sec.
 I= 1 L=       0        Time=       1.848 Sec.
 I= 2 L=       0        Time=       2.108 Sec.
 I= 3 L=       1        Time=       2.104 Sec.
 I= 4 L=       2        Time=       2.136 Sec.
 I= 5 L=       5        Time=       2.136 Sec.
 I= 6 L=      10        Time=       2.096 Sec.
 I= 7 L=      21        Time=       2.072 Sec.
 I= 8 L=      43        Time=       2.152 Sec.
 I= 9 L=      87        Time=       2.124 Sec.
 I=10 L=     174        Time=       2.124 Sec.
 I=11 L=     349        Time=       2.112 Sec.
 I=12 L=     698        Time=       2.208 Sec.
 I=13 L=    1396        Time=       2.168 Sec.
 I=14 L=    2794        Time=       2.184 Sec.
 I=15 L=    5588        Time=       2.076 Sec.
 I=16 L=   11176        Time=       2.108 Sec.
 I=17 L=   22353        Time=       2.076 Sec.
 I=18 L=   44707        Time=       1.996 Sec.
 I=19 L=   89415        Time=       1.844 Sec.
 End of main loop
 End of calculation.    Time=      41.927 Sec.
 End of data output.    Time=       0.236 Sec.
 Total calculation(I/O) time=      42.163(       1.140) Sec.
 ------ Ended super_pi run : 2007年 11月 21日 星期三 03:24:10 CST
jimu
帖子: 16
注册时间: 2007-11-15 21:59

#23

帖子 jimu » 2007-11-21 11:37

AMD 3200+ 的效果

代码: 全选

 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 : 2007年 11月 21日 星期三 11:35:29 CST
 Parameter(%i) to super_pi is missing. Parameter value ? 20
 Start of PI calculation up to 1048576 decimal digits
 End of initialization. Time=       0.524 Sec.
 I= 1 L=       0        Time=       1.604 Sec.
 I= 2 L=       0        Time=       1.836 Sec.
 I= 3 L=       1        Time=       1.828 Sec.
 I= 4 L=       2        Time=       1.840 Sec.
 I= 5 L=       5        Time=       1.832 Sec.
 I= 6 L=      10        Time=       1.840 Sec.
 I= 7 L=      21        Time=       1.844 Sec.
 I= 8 L=      43        Time=       1.844 Sec.
 I= 9 L=      87        Time=       1.836 Sec.
 I=10 L=     174        Time=       1.836 Sec.
 I=11 L=     349        Time=       1.844 Sec.
 I=12 L=     698        Time=       1.832 Sec.
 I=13 L=    1396        Time=       1.836 Sec.
 I=14 L=    2794        Time=       1.836 Sec.
 I=15 L=    5588        Time=       1.840 Sec.
 I=16 L=   11176        Time=       1.832 Sec.
 I=17 L=   22353        Time=       1.816 Sec.
 I=18 L=   44707        Time=       1.764 Sec.
 I=19 L=   89415        Time=       1.640 Sec.
 End of main loop
 End of calculation.    Time=      36.366 Sec.
 End of data output.    Time=       0.188 Sec.
 Total calculation(I/O) time=      36.554(       1.120) Sec.
 ------ Ended super_pi run : 2007年 11月 21日 星期三 11:36:43 CST
头像
tenfar
帖子: 336
注册时间: 2005-12-10 17:36
来自: 北京市海淀区上地十街辉煌国际
联系:

#24

帖子 tenfar » 2007-11-21 11:45

代码: 全选

tenfar@tenfar-laptop:~$ time pi 1048576 > /dev/null

real    0m11.571s
user    0m11.161s
sys     0m0.164s
tenfar@tenfar-laptop:~$
Mobile Sempron 3400+
Laptop:HP Compaq Presario V3210AU
OS:Gentoo openbox+stalonetray+rox-filer+gmrun+mplayer+firefox+ibus+sonata+tilda
Phone:Orange Dopod 838+ SPV C600
OS:Windows Mobile 6.1
jimu
帖子: 16
注册时间: 2007-11-15 21:59

#25

帖子 jimu » 2007-11-21 19:17

AMD1800+的效果

代码: 全选

 ------ Started super_pi run : 2007年 11月 21日 星期三 19:15:08 CST
 Parameter(%i) to super_pi is missing. Parameter value ? 20
 Start of PI calculation up to 1048576 decimal digits
 End of initialization. Time=       0.928 Sec.
 I= 1 L=       0        Time=       2.948 Sec.
 I= 2 L=       0        Time=       3.388 Sec.
 I= 3 L=       1        Time=       3.364 Sec.
 I= 4 L=       2        Time=       3.360 Sec.
 I= 5 L=       5        Time=       3.376 Sec.
 I= 6 L=      10        Time=       3.368 Sec.
 I= 7 L=      21        Time=       3.392 Sec.
 I= 8 L=      43        Time=       3.368 Sec.
 I= 9 L=      87        Time=       3.364 Sec.
 I=10 L=     174        Time=       3.380 Sec.
 I=11 L=     349        Time=       3.396 Sec.
 I=12 L=     698        Time=       3.364 Sec.
 I=13 L=    1396        Time=       3.384 Sec.
 I=14 L=    2794        Time=       3.372 Sec.
 I=15 L=    5588        Time=       3.376 Sec.
 I=16 L=   11176        Time=       3.352 Sec.
 I=17 L=   22353        Time=       3.328 Sec.
 I=18 L=   44707        Time=       3.228 Sec.
 I=19 L=   89415        Time=       2.964 Sec.
 End of main loop
 End of calculation.    Time=      66.708 Sec.
 End of data output.    Time=       0.256 Sec.
 Total calculation(I/O) time=      66.964(       2.220) Sec.
 ------ Ended super_pi run : 2007年 11月 21日 星期三 19:16:17 CST
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46

#26

帖子 hcym » 2007-11-24 23:38

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 : 2007年 11月 24日 星期六 23:36:36 CST
Start of PI calculation up to 1048576 decimal digits
End of initialization. Time= 0.214 Sec.
I= 1 L= 0 Time= 0.687 Sec.
I= 2 L= 0 Time= 0.795 Sec.
I= 3 L= 1 Time= 0.793 Sec.
I= 4 L= 2 Time= 0.795 Sec.
I= 5 L= 5 Time= 0.794 Sec.
I= 6 L= 10 Time= 0.795 Sec.
I= 7 L= 21 Time= 0.795 Sec.
I= 8 L= 43 Time= 0.793 Sec.
I= 9 L= 87 Time= 0.794 Sec.
I=10 L= 174 Time= 0.794 Sec.
I=11 L= 349 Time= 0.793 Sec.
I=12 L= 698 Time= 0.793 Sec.
I=13 L= 1396 Time= 0.797 Sec.
I=14 L= 2794 Time= 0.790 Sec.
I=15 L= 5588 Time= 0.789 Sec.
I=16 L= 11176 Time= 0.782 Sec.
I=17 L= 22353 Time= 0.774 Sec.
I=18 L= 44707 Time= 0.748 Sec.
I=19 L= 89415 Time= 0.700 Sec.
End of main loop
End of calculation. Time= 15.627 Sec.
End of data output. Time= 0.087 Sec.
Total calculation(I/O) time= 15.714( 0.643) Sec.
------ Ended super_pi run : 2007年 11月 24日 星期六 23:36:52 CST

不对劲啊, :roll:
tourist
帖子: 39
注册时间: 2007-06-08 11:46

#27

帖子 tourist » 2007-11-25 19:22

成绩和WIN下差不多`````还可以 ``
bobby
帖子: 84
注册时间: 2006-10-23 0:37

#28

帖子 bobby » 2007-11-25 21:57

AMD Sempron 3000+(oc 3600+)

代码: 全选

bobby@bobby-pc:~/桌面$ sh 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 : 2007年 11月 25日 星期日 21:54:18 CST
 Start of PI calculation up to 1048576 decimal digits
 End of initialization. Time=       0.484 Sec.
 I= 1 L=       0        Time=       1.512 Sec.
 I= 2 L=       0        Time=       1.704 Sec.
 I= 3 L=       1        Time=       1.704 Sec.
 I= 4 L=       2        Time=       1.708 Sec.
 I= 5 L=       5        Time=       1.708 Sec.
 I= 6 L=      10        Time=       1.716 Sec.
 I= 7 L=      21        Time=       1.720 Sec.
 I= 8 L=      43        Time=       1.720 Sec.
 I= 9 L=      87        Time=       1.708 Sec.
 I=10 L=     174        Time=       1.724 Sec.
 I=11 L=     349        Time=       1.720 Sec.
 I=12 L=     698        Time=       1.708 Sec.
 I=13 L=    1396        Time=       1.712 Sec.
 I=14 L=    2794        Time=       1.704 Sec.
 I=15 L=    5588        Time=       1.704 Sec.
 I=16 L=   11176        Time=       1.692 Sec.
 I=17 L=   22353        Time=       1.672 Sec.
 I=18 L=   44707        Time=       1.640 Sec.
 I=19 L=   89415        Time=       1.500 Sec.
 End of main loop
 End of calculation.    Time=      33.814 Sec.
 End of data output.    Time=       0.184 Sec.
 Total calculation(I/O) time=      33.998(       0.764) Sec.
 ------ Ended super_pi run : 2007年 11月 25日 星期日 21:54:53 CST
dannygao
帖子: 22
注册时间: 2005-05-29 14:55

VMWare 中运行的结果

#29

帖子 dannygao » 2007-11-27 12:49

X61 中,XP上安装虚拟机 VMWare 5.5.3 的结果

代码: 全选

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 : Tue Nov 27 12:50:57 CST 2007
 Start of PI calculation up to 1048576 decimal digits
 End of initialization. Time=       0.380 Sec.
 I= 1 L=       0        Time=       0.904 Sec.
 I= 2 L=       0        Time=       1.076 Sec.
 I= 3 L=       1        Time=       1.084 Sec.
 I= 4 L=       2        Time=       1.052 Sec.
 I= 5 L=       5        Time=       1.020 Sec.
 I= 6 L=      10        Time=       1.032 Sec.
 I= 7 L=      21        Time=       1.064 Sec.
 I= 8 L=      43        Time=       1.104 Sec.
 I= 9 L=      87        Time=       1.044 Sec.
 I=10 L=     174        Time=       1.056 Sec.
 I=11 L=     349        Time=       1.020 Sec.
 I=12 L=     698        Time=       1.108 Sec.
 I=13 L=    1396        Time=       1.048 Sec.
 I=14 L=    2794        Time=       1.020 Sec.
 I=15 L=    5588        Time=       1.016 Sec.
 I=16 L=   11176        Time=       1.032 Sec.
 I=17 L=   22353        Time=       1.076 Sec.
 I=18 L=   44707        Time=       0.952 Sec.
 I=19 L=   89415        Time=       0.956 Sec.
 End of main loop
 End of calculation.    Time=      20.825 Sec.
 End of data output.    Time=       0.176 Sec.
 Total calculation(I/O) time=      21.001(       1.440) Sec.
 ------ Ended super_pi run : Tue Nov 27 12:51:19 CST 2007[code]

代码: 全选

代码: 全选

[/code]
vvvli
帖子: 441
注册时间: 2006-10-26 7:02

#30

帖子 vvvli » 2007-11-30 15:15

pi 和 super_pi 很不一样阿。

./pi 结果差距不大。 amd,intel 结果差不多。
/super_pi 差距很大。

./pi 用了浮点了?
回复