UnixBench:测试Linux VPS性能
UnixBench是一款不错的Linux下的VPS性能测试软件,现在说一下具体用法。
UnixBench 4.10 下载地址:http://soft.vpser.net/test/unixbench/unixbench-4.1.0-wht.tar.gz
[root@noc ~]# wget http://soft.vpser.net/test/unixbench/unixbench-4.1.0-wht.tar.gz [root@noc ~]# tar xzf unixbench-4.1.0-wht.tar.gz[root@noc ~]# ls
unixbench-4.1.0-wht-2 unixbench-4.1.0-wht.tar.gz [root@noc ~]# cd unixbench-4.1.0-wht-2/
[root@noc unixbench-4.1.0-wht-2]# make
如果遇到 Error: Please install /usr/bin/time. 错误提示
centos/fedora 下运行 yum install time
ubuntu/debian 下运行 apt-get install time [root@noc unixbench-4.1.0-wht-2]# ./Run
以下是运行后显示的内容:
==============================================================
BYTE UNIX Benchmarks (Version 4.1-wht.2)
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
simfs 5120000 1581972 3538028 31% /
Start Benchmark Run: Wed Feb 4 05:11:25 PST 2009
05:11:25 up 20 days, 21:26, 1 user, load average: 0.00, 0.00, 0.00
End Benchmark Run: Wed Feb 4 05:21:40 PST 2009
05:21:40 up 20 days, 21:37, 1 user, load average: 15.46, 6.32, 2.72
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 23797779.3 631.6
Double-Precision Whetstone 83.1 1407.7 169.4
Execl Throughput 188.3 10095.2 536.1
File Copy 1024 bufsize 2000 maxblocks 2672.0 204163.0 764.1
File Copy 256 bufsize 500 maxblocks 1077.0 74664.0 693.3
File Read 4096 bufsize 8000 maxblocks 15382.0 1629641.0 1059.4
Pipe Throughput 111814.6 3058960.1 273.6
Pipe-based Context Switching 15448.6 887966.3 574.8
Process Creation 569.3 26803.0 470.8
Shell Scripts (8 concurrent) 44.8 2503.6 558.8
System Call Overhead 114433.5 2409758.4 210.6
=========
FINAL SCORE 475.4
[root@noc unixbench-4.1.0-wht-2]#
快去测试一下你的VPS吧。
>>转载请注明出处:VPS侦探 本文链接地址:https://www.vpser.net/opt/unixbench.html
==============================================================
BYTE UNIX Benchmarks (Version 4.1-wht.2)
System -- Linux li90-78 2.6.32.16-linode28 #1 SMP Sun Jul 25 21:32:42 UTC 2010 i686 GNU/Linux
/dev/xvda 16255928 1130796 14464532 8% /
Start Benchmark Run: Fri Nov 12 03:18:35 UTC 2010
03:18:35 up 20 min, 1 user, load average: 0.00, 0.00, 0.00
End Benchmark Run: Fri Nov 12 03:28:42 UTC 2010
03:28:42 up 31 min, 1 user, load average: 14.44, 5.78, 2.49
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 23985871.7 636.6
Double-Precision Whetstone 83.1 1039.2 125.1
Execl Throughput 188.3 4090.6 217.2
File Copy 1024 bufsize 2000 maxblocks 2672.0 176961.0 662.3
File Copy 256 bufsize 500 maxblocks 1077.0 46109.0 428.1
File Read 4096 bufsize 8000 maxblocks 15382.0 2338909.0 1520.5
Pipe Throughput 111814.6 1433701.4 128.2
Pipe-based Context Switching 15448.6 154311.3 99.9
Process Creation 569.3 6245.6 109.7
Shell Scripts (8 concurrent) 44.8 1361.8 304.0
System Call Overhead 114433.5 1563908.4 136.7
=========
FINAL SCORE 264.1
[...] DiaHosting Fremont He.net新机房VPS测试(与Linode同机房) 2010年09月4日 下午 | 作者:VPSerDiaHosting 即将推出位于Fremont(弗里蒙特) He.net 机房的VPS,Linode的Fremont就是使用的He.net的,而且DiaHosting与Linode的Fremont位于同一个机房 ,所有服务器都自己拥有并托管而且是G口带宽 。我们收到的测试VPS配置:X1080,40G硬盘,1个IP测试IP:173.245.70.20母机配置:X3470,16G DDR3 ECC内存,4*500GB RE4 硬件RAIDVPS探针:http://173.245.70.20/p.php10MB下载测试:http://173.245.70.20/10mb.iso 100MB下载测试:http://173.245.70.20/100mb.iso一、UnixBench:测试Linux VPS性能注:UnixBench测试为安装lnmp后进行的可能会对结果造成一定的影响。二、ping值测试:1、济南联通ping测试:(济南联通2Mbps)测试结果出乎我的意料居然比Linode要少,而且190ms多点,平常我这边很少能到200ms以下。2、webkaka 各地市ping测试:三、下载测试:1、IE单线程下载:下载过程基本上维持在120+KB。2、迅雷多线程下载:迅雷下载后边基本上维持在170+KB。其他,安装lnmp 0.4-full版用时不到半个小时。以上是对DiaHosting Fremont He.net新机房大部分用户比较像了解到的参数做的一些测试,您可以提出您的意见或建议我们继续增加其他的测试 :wink:。PS:留空晚些时间透露一下价格,支持一下我们,就猛烈点击这里吧! 转载请注明出处:VPS侦探 http://www.VPSer.Net相关文章:BuyVM – OpenVZ VPS 256MB内存 Fremont He.net线路 3.5$起第九主机 VPS测试总结向大家推荐几个对中国线路优化比较好的机房Linode 购买、安装、测试、配置教程DiaHosting(DiaVPS) Xen Windows VPS测试Linode 7周年,内存升级DiaHosting 2010年6月优惠:终身9折或免费DirectAdmin控制面板Linux VPS下简单解决CC攻击[转]DiaHosting 新机房测试Linode VPS PPTP VPN 安装配置教程google_ad_client = "pub-3421055613838817"; /* 468x15, 创建于 10-1-6 */ google_ad_slot = "3251390416"; google_ad_width = 468; google_ad_height = 15; 发表评论(评论暂缺) 分类:美国VPS 标签: DiaHosting, Fremont, he.net, linode, VPS测试, 测试 Tags: DiaHosting,Fremont,he.net,linode,VPS测试,测试.VPS侦探推荐: DiaHosting、Linode、PhotonVPS、瑞豪开源、VPSYou、第九主机等美国VPS主机。 欢迎加入VPS侦探论坛交流:http://bbs.vpser.net发表评论姓名: *必填邮件: *必填 (不会被公开)网站: 点击取消回复/* */ var commentformid = "commentform"; var USERINFO = false; var atreply = "authorlink"; /* */ 关于VPS侦探 VPS侦探是一个致力于美国VPS主机推荐、国内VPS主机推荐、VPS主机架设、VPS优化、VPS优惠信息及VPS免费试用的信息共享平台,这里将提供您所需要的关于VPS的价值性服务。 请尊重作者的劳动成果,转载请注明出处。 联系我们VPS侦探推荐 VPS侦探建立在Linode和DiaHosting上。 本站强烈推荐:DiaHosting、Linode、PhotonVPS、瑞豪开源、VPSYou、第九主机等美国VPS主机。美国VPS/服务器/VPN代购:http://jungehost.taobao.com/ 搜索本站内容 [...]
[...] 1、UnixBench:测试Linux VPS性能 [...]
今天看了你的教程买了这个玩意,可忘记填写你的推荐代码了
1元一天的主機
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 17431112.9 462.6
Double-Precision Whetstone 83.1 1714.4 206.3
Execl Throughput 188.3 10148.3 538.9
File Copy 1024 bufsize 2000 maxblocks 2672.0 422438.0 1581.0
File Copy 256 bufsize 500 maxblocks 1077.0 191117.0 1774.5
File Read 4096 bufsize 8000 maxblocks 15382.0 1699622.0 1104.9
Pipe-based Context Switching 15448.6 1272276.1 823.6
Pipe Throughput 111814.6 4928769.5 440.8
Process Creation 569.3 37703.9 662.3
Shell Scripts (8 concurrent) 44.8 1.0 0.2
System Call Overhead 114433.5 7753986.0 677.6
=========
FINAL SCORE 334.1
這機價低於一千的,還可以120分,算不錯了
CPU:Atom 330 @1.6Ghz
RAM: 2G
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 4809369.5 127.6
Double-Precision Whetstone 83.1 291.3 35.1
Execl Throughput 188.3 3066.8 162.9
File Copy 1024 bufsize 2000 maxblocks 2672.0 72079.0 269.8
File Copy 256 bufsize 500 maxblocks 1077.0 21952.0 203.8
File Read 4096 bufsize 8000 maxblocks 15382.0 560819.0 364.6
Pipe-based Context Switching 15448.6 158217.1 102.4
Pipe Throughput 111814.6 570910.9 51.1
Process Creation 569.3 9798.4 172.1
Shell Scripts (8 concurrent) 44.8 456.4 101.9
System Call Overhead 114433.5 1135447.4 99.2
=========
FINAL SCORE 126.5
burstNET的512M VPS
==============================================================
BYTE UNIX Benchmarks (Version 4.1-wht.2)
System -- Linux edisonNOTES.INFO 2.6.18-128.2.1.el5.028stab064.4 #1 SMP Mon Jul 27 12:45:01 MSD 2009 i686 GNU/Linux
/dev/simfs 20971520 690220 20281300 4% /
Start Benchmark Run: Tue Feb 9 07:45:07 MSK 2010
07:45:07 up 1:35, 1 user, load average: 0.00, 0.00, 0.00
End Benchmark Run: Tue Feb 9 07:56:46 MSK 2010
07:56:46 up 1:46, 1 user, load average: 8.77, 4.54, 2.22
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 4471326.3 118.7
Double-Precision Whetstone 83.1 1317.9 158.6
Execl Throughput 188.3 3540.4 188.0
File Copy 1024 bufsize 2000 maxblocks 2672.0 98407.0 368.3
File Copy 256 bufsize 500 maxblocks 1077.0 27810.0 258.2
File Read 4096 bufsize 8000 maxblocks 15382.0 617011.0 401.1
Pipe Throughput 111814.6 706101.1 63.1
Pipe-based Context Switching 15448.6 219861.4 142.3
Process Creation 569.3 10071.5 176.9
Shell Scripts (8 concurrent) 44.8 770.5 172.0
System Call Overhead 114433.5 573623.7 50.1
=========
FINAL SCORE 160.7
我的测试结果怎么会是0啊
==============================================================
BYTE UNIX Benchmarks (Version 4.1-wht.2)
System -- Linux li91-57 2.6.18.8-linode22 #1 SMP Tue Nov 10 16:12:12 UTC 2009 i686 i686 i386 GNU/Linux
/dev/xvda 15560408 527560 15032848 4% /
Start Benchmark Run: Sat Jan 23 03:18:19 UTC 2010
03:18:19 up 51 min, 2 users, load average: 0.01, 0.02, 0.00
End Benchmark Run: Sat Jan 23 03:19:20 UTC 2010
03:19:20 up 52 min, 2 users, load average: 0.21, 0.06, 0.02
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 1.0 0.0
Double-Precision Whetstone 83.1 0.0 0.0
Execl Throughput 188.3 1.0 0.1
Pipe-based Context Switching 15448.6 1.0 0.0
Pipe Throughput 111814.6 1.0 0.0
Process Creation 569.3 1.0 0.0
Shell Scripts (8 concurrent) 44.8 1.0 0.2
System Call Overhead 114433.5 1.0 0.0
=========
FINAL SCORE 0.0
======= Script description and score comparison: =======
[...] 596.6PS:分数仅供参考,100分以上的VPS才是比较适合购买的。转载并修改自:http://www.vpser.net/opt/unixbench.html今后由 Showfom 评测的VPS基本上会自己试用或者使用,并且放出 UnixBench (WHT [...]
谁能给我解释下./Run的那些测试结果么?具体的解释下那些测试结果没行代表什么意思。谢谢了。
我拿公司的服务器测试了下
独立服务器,E2140,2G内存
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 5676705.4 150.7
Double-Precision Whetstone 83.1 1057.2 127.2
Execl Throughput 188.3 3177.8 168.8
File Copy 1024 bufsize 2000 maxblocks 2672.0 80727.0 302.1
File Copy 256 bufsize 500 maxblocks 1077.0 28363.0 263.4
File Read 4096 bufsize 8000 maxblocks 15382.0 548469.0 356.6
Pipe-based Context Switching 15448.6 269813.9 174.7
Pipe Throughput 111814.6 875309.8 78.3
Process Creation 569.3 8837.2 155.2
Shell Scripts (8 concurrent) 44.8 584.5 130.5
System Call Overhead 114433.5 724501.4 63.3
=========
FINAL SCORE 158.7
看来以后都去搞VPS,谁还用独立主机
@babo, 呵呵,仅作参考^_^
我这台双4核处理器xeon e7320,4G内存,装CentOS的机器,也只有下面的数据
[root@moodle unixbench-4.1.0-wht-2]# ./Run
make all
make[1]: Entering directory `/root/unixbench-4.1.0-wht-2'
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./tmp exists
./results exists
make[1]: Leaving directory `/root/unixbench-4.1.0-wht-2'
# # # # # # # ##### ###### # # #### # #
# # ## # # # # # # # ## # # # # #
# # # # # # ## ##### ##### # # # # ######
# # # # # # ## # # # # # # # # #
# # # ## # # # # # # # ## # # # #
#### # # # # # ##### ###### # # #### # #
4 1 Based on the Byte Magazine Unix Benchmark
44 11
v v 4 4 1
v v 44444 1 v4.1 revisions mostly by David C. Niemi,
v 4 o 111 - WHT.2 Reston, VA, USA
WHT Variant by Andy A. Lee
See: http://www.webhostingtalk.com/showthread.php?s=&threadid=308055
Dhrystone 2 using register variables 1 2
Double-Precision Whetstone 1 2
Execl Throughput 1
Filesystem Throughput 1024 bufsize 2000 maxblocks 1
Filesystem Throughput 256 bufsize 500 maxblocks 1
Filesystem Throughput 4096 bufsize 8000 maxblocks 1
Pipe Throughput 1 2
Pipe-based Context Switching 1 2
Process Creation 1
System Call Overhead 1 2
Shell Scripts (8 concurrent) 1
==============================================================
BYTE UNIX Benchmarks (Version 4.1-wht.2)
System -- Linux moodle.ict 2.6.18-128.el5xen #1 SMP Wed Jan 21 11:12:42 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
271677672 3293760 254360848 2% /
Start Benchmark Run: Tue Jun 30 06:43:06 CST 2009
06:43:06 up 7:53, 1 user, load average: 0.19, 0.76, 0.81
End Benchmark Run: Tue Jun 30 06:53:17 CST 2009
06:53:17 up 8:03, 1 user, load average: 15.43, 6.42, 3.16
INDEX VALUES
TEST BASELINE RESULT INDEX
Dhrystone 2 using register variables 376783.7 19031818.6 505.1
Double-Precision Whetstone 83.1 1448.6 174.3
Execl Throughput 188.3 1593.9 84.6
File Copy 1024 bufsize 2000 maxblocks 2672.0 118911.0 445.0
File Copy 256 bufsize 500 maxblocks 1077.0 42442.0 394.1
File Read 4096 bufsize 8000 maxblocks 15382.0 946428.0 615.3
Pipe-based Context Switching 15448.6 253316.5 164.0
Pipe Throughput 111814.6 1223105.0 109.4
Process Creation 569.3 3279.0 57.6
Shell Scripts (8 concurrent) 44.8 508.7 113.5
System Call Overhead 114433.5 907496.2 79.3
=========
FINAL SCORE 182.5
总分 182.5 真不知都那些VPS测试出 400分的,是什么情况。
破机器测试下。
4盒1.6的 2G内存 110分。呵呵,以后我去租用VPS打死不用主机啦。650一月都没 人家 256内存的好。。
@guest, 没有什么标准,只是一个参考吧,分数越高,相对来说性能稍好一些。
分数是475.4,如何评价这个分数到底是好还是不够好呢?标准是什么?