3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 4087|回复: 8
打印 上一主题 下一主题

[讨论] 你的CPU算1000万位PI需要多久?

[复制链接]

0

主题

221

帖子

377

积分

高级玩家

Rank: 4

贡献度
47
金元
1888
积分
377
精华
0
注册时间
2009-4-22
QQ
跳转到指定楼层
主题
发表于 2009-10-30 06:03 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
superpi 1.5比较老了,现在pifast 4.3操作简便而且计算PI效率比较高
下载地址:http://numbers.computation.free.fr/Constants/PiProgram/pifast.zip

我的U很老了,E6550 2.33G,拿出来抛砖引玉

算PI 1000万位,选的是no Disk memory ,1024FFT,计算占用内存60M,只用了34.66秒,算出来的结果有12.7MB大

Program : PiFast version 4.3 (fix 1), by Xavier Gourdon
Computation of 10000000 digits of Pi
Method used : Chudnovsky
Size of FFT : 1024 K
Physical memory used : ~ 61355 K
Disk memory used : ~ 0.00 Meg
------------------------------------------------------------
Computation run information :

Start : Thu Oct 29 21:23:51 2009
End   : Thu Oct 29 21:24:25 2009
Duration : 34.66 seconds
============================================================
Total computation time : 34.66 seconds (~ 0.01 hours)
============================================================

算PI 1亿位,no Disk memory ,8192FFT,计算占用内存500M,用了508.23秒,算出来的结果有129MB大

Program : PiFast version 4.3 (fix 1), by Xavier Gourdon
Computation of 100000000 digits of Pi
Method used : Chudnovsky
Size of FFT : 8192 K
Physical memory used : ~ 525521 K
Disk memory used : ~ 0.00 Meg
------------------------------------------------------------
Computation run information :

Start : Thu Oct 29 21:27:48 2009
End   : Thu Oct 29 21:36:16 2009
Duration : 508.23 seconds
============================================================
Total computation time : 508.23 seconds (~ 0.14 hours)
============================================================

算PI 10亿位,basic Disk memory ,32768FFT,计算占用内存1500M,用了11111.88秒(其中Disk memory读写时间2604秒),算出来的结果有1.28GB大


Program : PiFast version 4.3 (fix 1), by Xavier Gourdon
Computation of 1000000000 digits of Pi
Method used : Chudnovsky
Size of FFT : 32768 K
Physical memory used : ~ 1577920 K
Disk memory used : ~ 1907.35 Meg
------------------------------------------------------------
Computation run information :

Start : Thu Oct 29 22:19:29 2009
End   : Fri Oct 30 01:24:41 2009
Duration : 11111.88 seconds

Time spent in disk swapping : 2604 s (reading 1019, writing 1585)
============================================================
Total computation time : 11111.88 seconds (~ 3.09 hours)
============================================================
PI=
3.1415926............................................................................................................7139868209 3196353628 2046127557 1517139511 5275045519


所以....PI的第10亿位数是9
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-5-12 14:13 , Processed in 0.035120 second(s), 16 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表