关于DigitalOcean各机房IO性能的不靠谱测试
2013-12-13 02:04:21 +08:00
66CCFF
以下均使用$5方案机器测试,系统为ubuntu 12.04.3 x64
具体参数看命令即可= =
SFO机房:(目前买不到了)
root@xxx:/dev/shm# dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0145575 s, 2.3 GB/s
root@xxx:dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.602141 s, 55.7 MB/s
NY2机房
内存映射的结果很不稳定,全部贴上来供参考吧。
33554432 bytes (34 MB) copied, 0.057651 s, 582 MB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0277458 s, 1.2 GB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0507823 s, 661 MB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0373388 s, 899 MB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0389341 s, 862 MB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0256757 s, 1.3 GB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0273382 s, 1.2 GB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0384177 s, 873 MB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0735749 s, 456 MB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0413351 s, 812 MB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0616208 s, 545 MB/s
root@NewYorkTEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
磁盘:
root@NewYorkTEST:~# dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 1.02819 s, 32.6 MB/s
AMS1买不到了,不测了。
NY1机房:
root@NY1TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0252742 s, 1.3 GB/s
磁盘
root@NY1TEST:~# dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.316573 s, 106 MB/s (哎呀这个屌)
AMS2 SSH连不上。。大概是买到的机器被墙了。于是改用sfo的再次ssh过去。国内ping测试也是400ms+的。。网络不能忍
同样不太稳定,贴一下
33554432 bytes (34 MB) copied, 0.0426417 s, 787 MB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0674407 s, 498 MB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0344091 s, 975 MB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.030421 s, 1.1 GB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0359137 s, 934 MB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0501897 s, 669 MB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0531157 s, 632 MB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0268672 s, 1.2 GB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0380566 s, 882 MB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.028463 s, 1.2 GB/s
root@AMS2TEST:/dev/shm# cd /dev/shm;dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.0265787 s, 1.3 GB/s
磁盘
root@AMS2TEST:~# dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 0.474761 s, 70.7 MB/s
总的来说,NY1看起来很不错的样子。以上可能运气成分很大,仅供参考。
6 条回复
regmach
2013-12-13 08:11:37 +08:00
天蓝你好
结论是NY1最好吧?
maxduke
2013-12-13 09:31:29 +08:00
测试用的Count太小了,不准确,增大试试
66CCFF
2013-12-13 12:16:46 +08:00
@
regmach 是的~网络也还凑合。。比SFO差点
ch3nz
2013-12-14 01:47:29 +08:00
给你看个google comput engine硬盘的
dd if=/dev/zero of=test bs=64k count=512 oflag=dsync
512+0 records in
512+0 records out
33554432 bytes (34 MB) copied, 18.5088 s, 1.8 MB/s
leisudeng
2013-12-19 01:32:05 +08:00
还是google的NB一些
66CCFF
2013-12-20 12:02:42 +08:00
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://www.v2ex.com/t/92953
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.