admin 发表于 2009-4-23 21:00:56

UnixBench:测试Linux VPS性能

<p>UnixBench是一款不错的Linux下的VPS性能测试软件,现在说一下具体用法。</p>
<p>UnixBench 4.10 下载地址:<a href="http://licess.googlecode.com/files/unixbench-4.1.0-wht.tar.gz">http://licess.googlecode.com/files/unixbench-4.1.0-wht.tar.gz</a></p>
<p> # wget <a href="http://licess.googlecode.com/files/unixbench-4.1.0-wht.tar.gz">http://licess.googlecode.com/files/unixbench-4.1.0-wht.tar.gz</a></p>
<p> # tar xzf unixbench-4.1.0-wht.tar.gz<br /># ls<br /> 
unixbench-4.1.0-wht-2  unixbench-4.1.0-wht.tar.gz</p>
<p># cd unixbench-4.1.0-wht-2/<br />#
make</p>
<p># ./Run</p>
<p>一下是运行后显示的内容:</p>
<p>==============================================================<br />BYTE UNIX
Benchmarks (Version 4.1-wht.2)<br />System — Linux noc.lnmp.org
2.6.18-92.1.13.el5.028stab059.6 #1 SMP Fri Nov 14 16:01:01 MSK 2008 i686 i686
i386 GNU/Linux<br />simfs                  5120000   1581972   3538028  31% /</p>
<p>Start Benchmark Run: Wed Feb  4 05:11:25 PST 2009<br /> 05:11:25 up 20 days,
21:26,  1 user,  load average: 0.00, 0.00, 0.00</p>
<p>End Benchmark Run: Wed Feb  4 05:21:40 PST 2009<br /> 05:21:40 up 20 days,
21:37,  1 user,  load average: 15.46, 6.32, 2.72<br />                     INDEX
VALUES<br />TEST                                        BASELINE     RESULT     
INDEX</p>
<p>Dhrystone 2 using register variables        376783.7 23797779.3     
631.6<br />Double-Precision Whetstone                      83.1     1407.7     
169.4<br />Execl Throughput                               188.3    10095.2     
536.1<br />File Copy 1024 bufsize 2000 maxblocks         2672.0   204163.0     
764.1<br />File Copy 256 bufsize 500 maxblocks           1077.0    74664.0     
693.3<br />File Read 4096 bufsize 8000 maxblocks        15382.0  1629641.0    
1059.4<br />Pipe Throughput                             111814.6  3058960.1     
273.6<br />Pipe-based Context Switching                 15448.6   887966.3     
574.8<br />Process Creation                               569.3    26803.0     
470.8<br />Shell Scripts (8 concurrent)                    44.8     2503.6     
558.8<br />System Call Overhead                        114433.5  2409758.4     
210.6<br />                                                                
=========<br />     FINAL
SCORE                                                     475.4<br />[root@noc
unixbench-4.1.0-wht-2]#</p>
<p>我的VPS是<a href="http://thenynocportal.com/aff.php?aff=087">www.thenynoc.com</a>的,内存是256MB,分数是475.4,自己感觉这个分数还不错。快去测试一下你的VPS吧。</p>
页: [1]
查看完整版本: UnixBench:测试Linux VPS性能