Recommended Services
› Amazon Web Services
› LeanCloud
› New Relic
› ClearDB
handwork
V2EX  ›  云计算

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

  •  
  •   handwork · May 30, 2017 · 5626 views
    This topic created in 3459 days ago, the information mentioned may be changed or developed.

    手贱,搞了台腾讯腾讯云 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
    
    21 replies  •  2017-06-18 09:08:17 +08:00
    blankme
    blankme
    May 30, 2017
    1
    垃圾 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
    zuolan
    May 30, 2017
    2
    相比 DO 这些,国内还得远呢。
    handwork
    handwork
    OP
    May 30, 2017
    3
    @blankme 这 IO 性能可以啊! VPS ?还是独立服务器?
    blankme
    blankme
    May 30, 2017
    4
    @huaxing0211 就是普通的 vps
    handwork
    handwork
    OP
    May 30, 2017
    5
    再来看看阿里云的哈,确实惨不忍睹!

    [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
    handwork
    handwork
    OP
    May 30, 2017
    6
    @blankme 哪家的 VPS ?
    blankme
    blankme
    May 30, 2017
    7
    @huaxing0211 前面写了 do 啊。。。digital ocean。。。
    xiaoyu9527
    xiaoyu9527
    May 30, 2017
    8
    不知道腾讯云是否使用了什么特殊的骚操作。

    测试起来确实很快 实际使用并没有比阿里云感觉快 10 倍
    qcloud
    qcloud
    May 30, 2017❤️1
    9
    醉了。。。这样都能被艾特。。。。。
    qcloud
    qcloud
    May 30, 2017
    10
    瞅了半天不知道被谁艾特了。。。。
    KIDJourney
    KIDJourney
    May 30, 2017❤️1
    11
    @qcloud 哈哈哈,root@qcloud。
    imxieke
    imxieke
    May 30, 2017
    12
    @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
    qwe321
    May 30, 2017
    13
    云盘和本地盘之间速度上的区别吧
    dwj437220696
    dwj437220696
    May 30, 2017
    14
    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
    Fishdrowned
    May 30, 2017 via Android
    15
    测试随机读写用 fio,别用 dd
    mooncakejs
    mooncakejs
    May 30, 2017 via iPhone
    16
    dd 的全 0 全 1 数据不随机,测不出性能的
    goodryb
    goodryb
    May 30, 2017
    17
    原来测试磁盘用 dd,学习了
    zhengxiaowai
    zhengxiaowai
    May 31, 2017
    18
    linode 吊打一切 I/O 读写 700 多
    fordoo
    fordoo
    May 31, 2017
    19
    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
    voocel
    Jun 1, 2017 via Android
    20
    @qcloud 题主的代码里 @的
    q57893
    q57893
    Jun 18, 2017
    21
    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

    腾讯云本地硬盘。。
    看来云盘还是差了很多
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2933 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 70ms · UTC 10:20 · PVG 18:20 · LAX 02:20 · JFK 05:20
    ♥ Do have faith in what you're doing.