作者:suxixb, Comments Rss, 留言, Trackback

在 Linux 上玩 Super PI

在 Ubuntu 上玩 Super PI

Super PI 是一个计算圆周率的软件。以前在 Windows 平台上,我们经常使用 Super PI 来测试自己的 CPU 超频是否稳定,可以说,Super PI 测试是否通过已经作为判断 CPU 稳定性的依据。

下载:super_pitar.gz(box.net | ziddu.com

假如下载到 “/home/您的登录名/“ 下,解压出来(鼠标右键 — 解压缩到此处),然后在终端输入

sh super_pi 20

最后的 20 代表 1M(100万位),21 代表 2M,25 代表 32M。

下面是我运行 sh super_pi 20 的结果

suxixb@su:/media/docs/deb/super_pi$ 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月 29日 星期四 17:48:26 CST
Start of PI calculation up to 1048576 decimal digits
End of initialization. Time= 0.824 Sec.
I= 1 L= 0 Time= 1.480 Sec.
I= 2 L= 0 Time= 1.692 Sec.
I= 3 L= 1 Time= 1.692 Sec.
I= 4 L= 2 Time= 1.692 Sec.
I= 5 L= 5 Time= 1.700 Sec.
I= 6 L= 10 Time= 1.664 Sec.
I= 7 L= 21 Time= 1.668 Sec.
I= 8 L= 43 Time= 1.676 Sec.
I= 9 L= 87 Time= 1.696 Sec.
I=10 L= 174 Time= 1.688 Sec.
I=11 L= 349 Time= 1.680 Sec.
I=12 L= 698 Time= 1.684 Sec.
I=13 L= 1396 Time= 1.692 Sec.
I=14 L= 2794 Time= 1.684 Sec.
I=15 L= 5588 Time= 1.672 Sec.
I=16 L= 11176 Time= 1.672 Sec.
I=17 L= 22353 Time= 1.656 Sec.
I=18 L= 44707 Time= 1.608 Sec.
I=19 L= 89415 Time= 1.496 Sec.
End of main loop
End of calculation. Time= 33.638 Sec.
End of data output. Time= 0.192 Sec.
Total calculation(I/O) time= 33.830( 0.872) Sec.
------ Ended super_pi run : 2007年 11月 29日 星期四 17:49:01 CST
suxixb@su:/media/docs/deb/super_pi$

比较让我惊讶的是在 Windows 上运行 100 万位要 40 多秒,在 Ubuntu 上只需 33 秒!!,我也使用 wine 模拟运行了一次 super_pi_mod 1.4.exe 得出的结果也同样出乎意料,下图有这两次的比较。

screenshot-super-pi-1m-07-11-29.png

screenshot-super-pi-2m-07-11-29.png

标签:,


随机文章:

延伸阅读

整个 Yo2 上的相关文章:

发布于 2007 11月 29th , 星期四 at 11:06 pm ,文章归类于 应用软件, 文章标签:,
Comments Rss, 留言, Trackback

3 Comments so far

  1. 下载不了……

  2. 可以的,不要直接点击链接,用鼠标右键点“链接另存为”。

  3. 东西不错,我测试了,在我的F31A本上32秒不到一点。

Have your say

Fields in bold are required. Email addresses are never published or distributed.

Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
URIs must be fully qualified (eg: http://www.domainname.com) and all tags must be properly closed.

Line breaks and paragraphs are automatically converted.

Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.

  1. 订阅

    • 订阅 我的 Blog
    • Feedsky 订阅数
    订阅到iGoogle或Google Reader 订阅到鲜果 订阅到抓虾 订阅到飞鸽 订阅到Bloglines 订阅到我的雅虎 订阅到NetVibes 订阅到Newsgatar 订阅到Rojo 订阅到网易有道 通过哪吒订阅到MSN,Gtalk,Skype 订阅到QQ邮箱
     

  2. 重要公告

    目前该博客(www.shareitem.org,以下简称该博客)是建立在Yo2优博网上的,由于一些众所周知的原因,本人(suxixb)决定于2008年8月1日起陆续将该博客上的所有文章转移到新网站上,地址为http://shareitem.org,并改名为ShareItem.org(简称siog),原来的订阅地址(feed.shareitem.org)将保持不变,可继续使用。在转移成功后,该博客仍然保留到到期为止(2008年11月18日),在到期后,将不能再通过www.shareitem.org来访问该博客,本人也不在该博客上进行更新和发布文章,所有的新文章将统一在新网站上发表。谢谢各位的支持。

  3. 最新评论

  4. 最新日志

  5. 阅读共享

  6. 标签

  7. 存档

  8. Logo