测试腾讯云 CVM 的 IO,这个感觉如何?

2017-05-30 13:42:18 +08:00
 huaxing0211

手贱,搞了台腾讯腾讯云 CVM,系统盘和数据盘都是 20G 的云盘(数据盘挂载在 /mnt 下),测试了下 IO,这效果还行么?

root@Qcloud:/mnt# dd if=/dev/zero of=/mnt/iotest bs=8k count=204800
204800+0 records in
204800+0 records out
1677721600 bytes (1.7 GB, 1.6 GiB) copied, 11.3853 s, 147 MB/s

root@Qcloud:/mnt# dd if=/mnt/iotest of=/mnt/rwtest
3276800+0 records in
3276800+0 records out
1677721600 bytes (1.7 GB, 1.6 GiB) copied, 15.2966 s, 110 MB/s
3896 次点击
所在节点    云计算
21 条回复
blankme
2017-05-30 14:00:12 +08:00
垃圾 do:
204800+0 records in
204800+0 records out
1677721600 bytes (1.7 GB) copied, 2.76551 s, 607 MB/s

不过 qcloud 比 aliyun 还是好点,aliyun 惨不忍睹
zuolan
2017-05-30 14:10:28 +08:00
相比 DO 这些,国内还得远呢。
huaxing0211
2017-05-30 14:12:41 +08:00
@blankme 这 IO 性能可以啊! VPS ?还是独立服务器?
blankme
2017-05-30 14:13:19 +08:00
@huaxing0211 就是普通的 vps
huaxing0211
2017-05-30 14:17:25 +08:00
再来看看阿里云的哈,确实惨不忍睹!

[root@aliyun mnt]# dd if=/dev/zero of=/mnt/iotest bs=8k count=204800
204800+0 records in
204800+0 records out
1677721600 bytes (1.7 GB) copied, 50.9125 s, 33.0 MB/s
[root@aliyunr mnt]# dd if=/mnt/iotest of=/mnt/rwtest
3276800+0 records in
3276800+0 records out
1677721600 bytes (1.7 GB) copied, 121.988 s, 13.8 MB/s
huaxing0211
2017-05-30 14:19:34 +08:00
@blankme 哪家的 VPS ?
blankme
2017-05-30 14:22:23 +08:00
@huaxing0211 前面写了 do 啊。。。digital ocean。。。
xiaoyu9527
2017-05-30 14:48:45 +08:00
不知道腾讯云是否使用了什么特殊的骚操作。

测试起来确实很快 实际使用并没有比阿里云感觉快 10 倍
qcloud
2017-05-30 15:33:27 +08:00
醉了。。。这样都能被艾特。。。。。
qcloud
2017-05-30 15:36:59 +08:00
瞅了半天不知道被谁艾特了。。。。
KIDJourney
2017-05-30 15:52:41 +08:00
@qcloud 哈哈哈,root@qcloud。
imxieke
2017-05-30 16:49:17 +08:00
@huaxing0211 #5 貌似我这深圳的比你的好点
```
阿里云深圳节点
➜ ~ dd if=/dev/zero of=/mnt/iotest bs=8k count=204800
204800+0 records in
204800+0 records out
1677721600 bytes (1.7 GB, 1.6 GiB) copied, 35.9768 s, 46.6 MB/s
➜ ~ dd if=/mnt/iotest of=/mnt/rwtest
3276800+0 records in
3276800+0 records out
1677721600 bytes (1.7 GB, 1.6 GiB) copied, 68.9083 s, 24.3 MB/s


某 USvps 3 美元的
➜ ~ dd if=/dev/zero of=/mnt/iotest bs=8k count=204800
204800+0 records in
204800+0 records out
1677721600 bytes (1.7 GB) copied, 5.21785 s, 322 MB/s
➜ ~ dd if=/mnt/iotest of=/mnt/rwtest
3276800+0 records in
3276800+0 records out
1677721600 bytes (1.7 GB) copied, 21.0724 s, 79.6 MB/s
```
qwe321
2017-05-30 18:37:11 +08:00
云盘和本地盘之间速度上的区别吧
dwj437220696
2017-05-30 19:51:28 +08:00
root@ECS:~# dd if=/dev/zero of=/mnt/iotest bs=8k count=204800
204800+0 records in
204800+0 records out
1677721600 bytes (1.7 GB) copied, 19.6736 s, 85.3 MB/s、
root@ECS:~# dd if=/mnt/iotest of=/mnt/rwtest
3276800+0 records in
3276800+0 records out
1677721600 bytes (1.7 GB) copied, 18.7478 s, 89.5 MB/s

以上数据出自北京节点华为企业云
Fishdrowned
2017-05-30 19:58:41 +08:00
测试随机读写用 fio,别用 dd
mooncakejs
2017-05-30 20:23:14 +08:00
dd 的全 0 全 1 数据不随机,测不出性能的
goodryb
2017-05-30 20:52:45 +08:00
原来测试磁盘用 dd,学习了
zhengxiaowai
2017-05-31 11:15:39 +08:00
linode 吊打一切 I/O 读写 700 多
fordoo
2017-05-31 14:49:44 +08:00
root@localhost:~# dd if=/dev/zero of=/mnt/iotest bs=8k count=204800
204800+0 records in
204800+0 records out
1677721600 bytes (1.7 GB, 1.6 GiB) copied, 4.0128 s, 418 MB/s
root@localhost:~# dd if=/mnt/iotest of=/mnt/rwtest
3276800+0 records in
3276800+0 records out
1677721600 bytes (1.7 GB, 1.6 GiB) copied, 8.91559 s, 188 MB/s


搬瓦工最便宜的
voocel
2017-06-01 00:35:11 +08:00
@qcloud 题主的代码里 @的

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

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

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

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

© 2021 V2EX