手贱,搞了台腾讯腾讯云 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
![]() | 1 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 惨不忍睹 |
![]() | 2 zuolan 2017-05-30 14:10:28 +08:00 相比 DO 这些,国内还得远呢。 |
3 huaxing0211 OP @blankme 这 IO 性能可以啊! VPS ?还是独立服务器? |
![]() | 4 blankme 2017-05-30 14:13:19 +08:00 @huaxing0211 就是普通的 vps |
5 huaxing0211 OP 再来看看阿里云的哈,确实惨不忍睹! [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 |
6 huaxing0211 OP @blankme 哪家的 VPS ? |
![]() | 7 blankme 2017-05-30 14:22:23 +08:00 @huaxing0211 前面写了 do 啊。。。digital ocean。。。 |
![]() | 8 xiaoyu9527 2017-05-30 14:48:45 +08:00 不知道腾讯云是否使用了什么特殊的骚操作。 测试起来确实很快 实际使用并没有比阿里云感觉快 10 倍 |
![]() | 9 qcloud 2017-05-30 15:33:27 +08:00 ![]() 醉了。。。这样都能被艾特。。。。。 |
![]() | 10 qcloud 2017-05-30 15:36:59 +08:00 瞅了半天不知道被谁艾特了。。。。 |
![]() | 11 KIDJourney 2017-05-30 15:52:41 +08:00 ![]() @qcloud 哈哈哈,root@qcloud。 |
![]() | 12 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 ``` |
![]() | 13 qwe321 2017-05-30 18:37:11 +08:00 云盘和本地盘之间速度上的区别吧 |
14 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 以上数据出自北京节点华为企业云 |
![]() | 15 Fishdrowned 2017-05-30 19:58:41 +08:00 via Android 测试随机读写用 fio,别用 dd |
16 mooncakejs 2017-05-30 20:23:14 +08:00 via iPhone dd 的全 0 全 1 数据不随机,测不出性能的 |
![]() | 17 goodryb 2017-05-30 20:52:45 +08:00 原来测试磁盘用 dd,学习了 |
![]() | 18 zhengxiaowai 2017-05-31 11:15:39 +08:00 linode 吊打一切 I/O 读写 700 多 |
19 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 搬瓦工最便宜的 |
21 q57893 2017-06-18 09:08:17 +08:00 204800+0 records in 204800+0 records out 1677721600 bytes (1.7 GB) copied, 2.90376 s, 578 MB/s 3276800+0 records in 3276800+0 records out 1677721600 bytes (1.7 GB) copied, 12.2718 s, 137 MB/s 腾讯云本地硬盘。。 看来云盘还是差了很多 |