你应该选择哪个vps主机:Linode, amazon EC2,阿里云,盛大云性能测试报告征集中

2012-12-30 21:19:40 +08:00
 okidogi
其实选择哪个VPS我们会经常在讨论的是ping值是多少,但是vps还有很多非常重要的指标。这些指标可以让你知道vps系统的性能。而且我也很好奇,国内的云主机性能到了什么样的程度。我打算开始征集Linode,amazon EC2,阿里云,盛大云性能测试报告。当然,你如果用其他的vps,也可以贴上来。

测试方法: 使用byte-unixbench进行测试:byte-unixbench是专门用来测试unix系统性能的benchmark。
你可以在这儿下载一份:
http://code.google.com/p/byte-unixbench/

参照readme文件指令进行测试,非常简单,不需要花很长的时间。但是要保证你的系统中没有运行其它的程序,最好是只有操作系统进行测试。当然测试结果会跟你的内存,cpu有关系,所以我建议的baseline是 *512M ram, 4cpu*。

测试完成之后会生成这样的报告,你们可以贴上来,看看这些主机之间的差距有多少,会给你选择主机很大的帮助:

<script src="https://gist.github.com/4412807.js"></script>

https://gist.github.com/4412807
https://gist.github.com/4412807.git
-----------------------------------------------------------
BYTE UNIX Benchmarks (Version 4.1-wht.2)
System -- Linux NNN GNU/Linux /dev/xvda 16384952 420060 15469440 3% /

Start Benchmark Run: NNN 11:00:39 UTC 2009
00:50:39 up 8 min, 1 user, load average: 0.06, 0.13, 0.08

End Benchmark Run: NNN 11:11:50 UTC 2009
01:00:50 up 18 min, 1 user, load average: 12.19, 5.55, 2.56

INDEX VALUES

TEST BASELINE RESULT INDEX

Dhrystone 2 using register variables 376783.7 22903326.3 607.9
Double-Precision Whetstone 83.1 1773.0 213.4
Execl Throughput 188.3 4556.9 242.0
File Copy 1024 bufsize 2000 maxblocks 2672.0 143783.0 538.1
File Copy 256 bufsize 500 maxblocks 1077.0 42424.0 393.9
File Read 4096 bufsize 8000 maxblocks 15382.0 1143167.0 743.2
Pipe Throughput 111814.6 1641535.3 146.8
Pipe-based Context Switching 15448.6 383953.3 248.5
Process Creation 569.3 10094.6 177.3
Shell Scripts (8 concurrent) 44.8 1571.5 350.8
System Call Overhead 114433.5 1254749.9 109.6
=========

FINAL SCORE 290.2
3195 次点击
所在节点    Linode
12 条回复
shiny
2012-12-30 22:23:13 +08:00
虽然上面跑了些服务,不过平时负载都非常低,可以做个参考。

盛大云,华东,微型
http://gist.github.com/4412889

阿里云,标准B型
http://gist.github.com/4413021

参照:Mbp 2011,更换SSD
http://gist.github.com/4412907
vking
2012-12-30 23:10:27 +08:00
测了两次还没有测完,vps直接崩了.
还是不测了.
dingtianran
2012-12-31 09:15:33 +08:00
求缩水+总结
yiqingfeng
2012-12-31 09:18:09 +08:00
测所谓的UB,一点用都没有。
mosir
2012-12-31 09:32:08 +08:00
非以上四家的vps, 512M,非ssd,大约半年前测的,数据如下:

Dhrystone 2 using register variables 74648413.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 12590.5 MWIPS (10.0 s, 7 samples)
Execl Throughput 8734.2 lps (29.8 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 583905.4 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 148668.1 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 2004512.7 KBps (30.1 s, 2 samples)
Pipe Throughput 2821183.4 lps (10.0 s, 7 samples)
Pipe-based Context Switching 360350.1 lps (10.0 s, 7 samples)
Process Creation 15056.4 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 16406.8 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 2147.3 lpm (60.1 s, 2 samples)
System Call Overhead 2902131.5 lps (10.0 s, 7 samples)

System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 74648413.0 6396.6
Double-Precision Whetstone 55.0 12590.5 2289.2
Execl Throughput 43.0 8734.2 2031.2
File Copy 1024 bufsize 2000 maxblocks 3960.0 583905.4 1474.5
File Copy 256 bufsize 500 maxblocks 1655.0 148668.1 898.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 2004512.7 3456.1
Pipe Throughput 12440.0 2821183.4 2267.8
Pipe-based Context Switching 4000.0 360350.1 900.9
Process Creation 126.0 15056.4 1195.0
Shell Scripts (1 concurrent) 42.4 16406.8 3869.5
Shell Scripts (8 concurrent) 6.0 2147.3 3578.8
System Call Overhead 15000.0 2902131.5 1934.8
========
System Benchmarks Index Score 2133.7
tarsier
2012-12-31 10:57:08 +08:00
@mosir 这是哪家的?看着分数性能很不错啊
mosir
2012-12-31 11:27:45 +08:00
@tarsier 不好意思,不敢说,境外的,怕惹麻烦被D;-( 只是体验过阿里、盛大之后,觉得除了线路因为近好点外,其它的真是甚至说不上专业,各种不爽
yiqingfeng
2012-12-31 11:48:22 +08:00
@tarsier 目测:日本樱花VPS,我目前测过的也就这价UB跑分挺高,不过VPS性能不仅仅看硬件的,主要是看网络情况,在硬件差别不大的情况下,别的都是浮云。
sparanoid
2012-12-31 16:13:48 +08:00
欢迎各位使用 ServerBear 的测试方法提交到 http://serverbear.com/
junyi
2012-12-31 21:05:07 +08:00
楼主是否测试过蒋清野先生的测试方法,除了UnixBenchmark之外貌似还有其他工具和方法,也许系统的总结这些方法再测会更好?
jylee
2012-12-31 21:09:57 +08:00
测这个其实没意义= =
raptor
2013-01-01 10:48:49 +08:00
UB试过,意义不大。
以前在一个openvz的VPS上跑过,比手边一台实际的server分还高……但openvz实际上是什么效果大家都知道的

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/56231

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX