2的20次方wanzcong 写了:跟m$下的不一样啊,计算的值怎么差那么多?20是指的100万吧?
ubuntu 下玩Super PI
- skyx
- 论坛版主
- 帖子: 9202
- 注册时间: 2006-12-23 13:46
- 来自: Azores Islands
- 联系:
-
- 帖子: 54
- 注册时间: 2007-04-20 16:19
-
- 帖子: 54
- 注册时间: 2007-04-20 16:19
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.
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
- 来自: 空气中
- tomcat.xin
- 帖子: 400
- 注册时间: 2007-02-08 21:18
-
- 帖子: 90
- 注册时间: 2007-02-09 23:36
- 来自: China
- 联系:
代码: 全选
$ 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
-
- 帖子: 16
- 注册时间: 2007-11-15 21:59
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
- 来自: 北京市海淀区上地十街辉煌国际
- 联系:
代码: 全选
tenfar@tenfar-laptop:~$ time pi 1048576 > /dev/null
real 0m11.571s
user 0m11.161s
sys 0m0.164s
tenfar@tenfar-laptop:~$
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
OS:Gentoo openbox+stalonetray+rox-filer+gmrun+mplayer+firefox+ibus+sonata+tilda
Phone:Orange Dopod 838+ SPV C600
OS:Windows Mobile 6.1
-
- 帖子: 16
- 注册时间: 2007-11-15 21:59
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
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
不对劲啊,
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
不对劲啊,
-
- 帖子: 84
- 注册时间: 2006-10-23 0:37
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
-
- 帖子: 22
- 注册时间: 2005-05-29 14:55
VMWare 中运行的结果
X61 中,XP上安装虚拟机 VMWare 5.5.3 的结果
[/code]
代码: 全选
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]
代码: 全选
代码: 全选