• 感谢赞赏!给好友秀一下吧

    内容棒,扫码分享给好友

  • 评论

阿里云服务器和西部数码服务器磁盘性能评测

  阿里云服务器 :华北3(张家口) 2 vCPU 4 GiB 操作系统:centos 7.4 ip地址:39.100.87.96 磁盘 :普通云盘(非ssd)

  西部数码服务器:电信服务器my-2 (绵阳) 2 vCPU 4 GiB 操作系统:centos 7.4 ip地址:211.149.248.95 磁盘 :普通云盘(非SSD超高速云盘)

  

 

  直接服务器执行 :

  性能测试

  不同工具测试出来的硬盘基准性能会有差异,如dd、sysbench、iometer等工具可能会受到测试参数配置和文件系统影响,难以反映真实性能。本文的性能参数,均为Linux系统下采用FIO工具的测试结果,以此作为块存储产品性能指标参考。Linux实例和Windows实例都推荐使用FIO工具测试块存储性能。

  本示例在Linux实例中使用FIO测试块存储性能。测试前,请您确保块存储设备已经4KiB对齐。

  警告 测试裸盘可以获得真实的块存储盘性能,但直接测试裸盘会破坏文件系统结构,请在测试前提前做好数据备份。建议您只在新购无数据的ECS实例上使用工具测试块存储性能,避免造成数据丢失。

  测试随机写IOPS:

  fio -direct=1 -iodepth=128 -rw=randwrite -ioengine=libaio -bs=4k -size=1G -numjobs=1 -runtime=1000 -group_reporting -filename=iotest -name=Rand_Write_Testing

  测试随机读IOPS:

  fio -direct=1 -iodepth=128 -rw=randread -ioengine=libaio -bs=4k -size=1G -numjobs=1 -runtime=1000 -group_reporting -filename=iotest -name=Rand_Read_Testing

  测试顺序写吞吐量:

  fio -direct=1 -iodepth=64 -rw=write -ioengine=libaio -bs=1024k -size=1G -numjobs=1 -runtime=1000 -group_reporting -filename=iotest -name=Write_PPS_Testing

  测试顺序读吞吐量:

  fio -direct=1 -iodepth=64 -rw=read -ioengine=libaio -bs=1024k -size=1G -numjobs=1 -runtime=1000 -group_reporting -filename=iotest -name=Read_PPS_Testing

  测试随机写时延:

  fio -direct=1 -iodepth=1 -rw=randwrite -ioengine=libaio -bs=4k -size=1G -numjobs=1 -group_reporting -filename=iotest -name=Rand_Write_Latency_Testing

  测试随机读时延:

  fio -direct=1 -iodepth=1 -rw=randread -ioengine=libaio -bs=4k -size=1G -numjobs=1 -group_reporting -filename=iotest -name=Rand_Read_Latency_Testingrandwrite -ioengine=libaio -bs=4k -size=1G -numjobs=1 -group_reporting -filename=iotest -name=Rand_Write_Latency_Testing

  下表以测试结果对比 :

  项目:西部数码(my-2)阿里云西部数码阿里云

  测试随机写IOPS:约26M/s约8.4M/sWRITE: bw=26.6MiB/s (27.9MB/s), 26.6MiB/s-26.6MiB/s (27.9MB/s-27.9MB/s), io=518MiB (543MB), run=19502-19502msecWRITE: bw=8403KiB/s (8604kB/s), 8403KiB/s-8403KiB/s (8604kB/s-8604kB/s), io=1024MiB (1074MB), run=124790-124790msec

  测试随机读IOPS:约83M/s约8.5M/sREAD: bw=83.7MiB/s (87.7MB/s), 83.7MiB/s-83.7MiB/s (87.7MB/s-87.7MB/s), io=1024MiB (1074MB), run=12237-12237msecJobs: 1 (f=1): [r(1)][67.5%][r=8544KiB/s,w=0KiB/s][r=2136,w=0 IOPS][eta 00m:40s]

  测试顺序写吞吐量:约54M/s约41M/sWRITE: bw=54.0MiB/s (56.6MB/s), 54.0MiB/s-54.0MiB/s (56.6MB/s-56.6MB/s), io=1024MiB (1074MB), run=18954-18954msecWRITE: bw=40.0MiB/s (41.9MB/s), 40.0MiB/s-40.0MiB/s (41.9MB/s-41.9MB/s), io=1024MiB (1074MB), run=25600-25600msec

  测试顺序读吞吐量:约1G/s约40M/sREAD: bw=965MiB/s (1012MB/s), 965MiB/s-965MiB/s (1012MB/s-1012MB/s), io=1024MiB (1074MB), run=1061-1061msec READ: bw=40.1MiB/s (42.1MB/s), 40.1MiB/s-40.1MiB/s (42.1MB/s-42.1MB/s), io=1024MiB (1074MB), run=25512-25512msec

  测试随机写时延:约1.7M/s约8.4M/sWRITE: bw=1727KiB/s (1769kB/s), 1727KiB/s-1727KiB/s (1769kB/s-1769kB/s), io=118MiB (124MB), run=70099-70099msecWRITE: bw=8414KiB/s (8616kB/s), 8414KiB/s-8414KiB/s (8616kB/s-8616kB/s), io=611MiB (641MB), run=74384-74384msec

  测试随机读时延:约12M/s约8.5M/sREAD: bw=12.2MiB/s (12.8MB/s), 12.2MiB/s-12.2MiB/s (12.8MB/s-12.8MB/s), io=348MiB (365MB), run=28510-28510msec READ: bw=8543KiB/s (8748kB/s), 8543KiB/s-8543KiB/s (8748kB/s-8748kB/s), io=439MiB (460MB), run=52565-52565msec

  补充:西部数码升级磁盘为SSD超高速云盘,同时升级阿里云为ssd云盘进行测试:

  项目:西部数码(my-10)阿里云西部数码阿里云

  测试随机写IOPS:约39M/s约11M/s WRITE: bw=39.4MiB/s (41.3MB/s), 39.4MiB/s-39.4MiB/s (41.3MB/s-41.3MB/s), io=886MiB (929MB), run=22506-22506msec WRITE: bw=11.8MiB/s (12.4MB/s), 11.8MiB/s-11.8MiB/s (12.4MB/s-12.4MB/s), io=418MiB (439MB), run=35402-35402msec

  测试随机读IOPS:约60M/s约11M/sREAD: bw=64.9MiB/s (68.0MB/s), 64.9MiB/s-64.9MiB/s (68.0MB/s-68.0MB/s), io=1024MiB (1074MB), run=15783-15783msec READ: bw=11.8MiB/s (12.4MB/s), 11.8MiB/s-11.8MiB/s (12.4MB/s-12.4MB/s), io=278MiB (292MB), run=23494-23494msec

  测试顺序写吞吐量:约300M/s约138M/sWRITE: bw=310MiB/s (325MB/s), 310MiB/s-310MiB/s (325MB/s-325MB/s), io=1024MiB (1074MB), run=3301-3301msecWRITE: bw=138MiB/s (145MB/s), 138MiB/s-138MiB/s (145MB/s-145MB/s), io=1024MiB (1074MB), run=7415-7415msec

  测试顺序读吞吐量:约1.3G/s约142M/sREAD: bw=1320MiB/s (1384MB/s), 1320MiB/s-1320MiB/s (1384MB/s-1384MB/s), io=1024MiB (1074MB), run=776-776msecREAD: bw=142MiB/s (148MB/s), 142MiB/s-142MiB/s (148MB/s-148MB/s), io=1024MiB (1074MB), run=7233-7233msec

  测试随机写时延:约4-5M/s约5-6M/sWRITE: bw=4694KiB/s (4806kB/s), 4694KiB/s-4694KiB/s (4806kB/s-4806kB/s), io=118MiB (124MB), run=25798-25798msec WRITE: bw=5870KiB/s (6011kB/s), 5870KiB/s-5870KiB/s (6011kB/s-6011kB/s), io=238MiB (250MB), run=41549-41549msec

  测试随机读时延:约17M/s约10M/s READ: bw=17.9MiB/s (18.8MB/s), 17.9MiB/s-17.9MiB/s (18.8MB/s-18.8MB/s), io=455MiB (477MB), run=25401-25401msecREAD: bw=9.91MiB/s (10.4MB/s), 9.91MiB/s-9.91MiB/s (10.4MB/s-10.4MB/s), io=258MiB (271MB), run=26057-26057msec

  AD:【www.ysidc.top】西数超哥博客


推荐阅读
网易云音乐Mac版2.0更新下载:全新UI、...
微软Skype Windows/Mac桌面版预览更...
iPhone之后,苹果Mac电脑出货量出现下...
迅雷Mac版3.3.0.3874正式版发布:解决...
微信macOS版 v2.3.22.18 升级:支持公...
Adobe视频应用Windows版现已支持苹果...
说点什么

账号 (必填)     密码 (必填)





热文