日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

服务器性能测试--super PI 测试

發布時間:2023/12/20 编程问答 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 服务器性能测试--super PI 测试 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Super PI 是利用CPU的浮點運算能力來計算出 π(圓周率)的程序,具有windows和linux版本,是目前普遍被超頻玩家用做測試系統穩定性和測試CPU計算完后特定位數圓周率所需的時間。
官網:http://superpi.ilbello.com/pi/super_pi.tar.bz2
下載速度比較慢,可以直接在CSDN下載:
wget http://superpi.ilbello.com/pi/super_pi.tar.bz2
tar -jxvf super_pi.tar.bz2
./super_pi 20
20為位數。表示要算2的多少次方位,如通常要算小數點后1M位。

如果報錯就需要安裝對應的庫(yum安裝):

結果:
~# ./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 : Tue May 16 10:47:18 CST 2017
Start of PI calculation up to 1048576 decimal digits
End of initialization. Time= 0.200 Sec.
I= 1 L= 0 Time= 0.498 Sec.
I= 2 L= 0 Time= 0.539 Sec.
I= 3 L= 1 Time= 0.536 Sec.
I= 4 L= 2 Time= 0.535 Sec.
I= 5 L= 5 Time= 0.532 Sec.
I= 6 L= 10 Time= 0.537 Sec.
I= 7 L= 21 Time= 0.529 Sec.
I= 8 L= 43 Time= 0.542 Sec.
I= 9 L= 87 Time= 0.532 Sec.
I=10 L= 174 Time= 0.582 Sec.
I=11 L= 349 Time= 0.974 Sec.
I=12 L= 698 Time= 1.379 Sec.
I=13 L= 1396 Time= 1.094 Sec.
I=14 L= 2794 Time= 1.353 Sec.
I=15 L= 5588 Time= 0.955 Sec.
I=16 L= 11176 Time= 1.408 Sec.
I=17 L= 22353 Time= 1.067 Sec.
I=18 L= 44707 Time= 1.242 Sec.
I=19 L= 89415 Time= 0.901 Sec.
End of main loop
End of calculation. Time= 17.033 Sec.
End of data output. Time= 0.070 Sec.
Total calculation(I/O) time= 17.103( 0.521) Sec.

總結

以上是生活随笔為你收集整理的服务器性能测试--super PI 测试的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。