测试环境
Centos7
Docker version 17.03.0-ce, build 60ccb22
fio-2.0.13
测试方法
在物理服务器RAID卡中,使用4块硬盘创建RAID5,其中创建两个LUN,LUN1作为overlay使用,LUN2作为devicemapper使用。
此次测试在docker的container中通过fio进行测试,分别测试块大小为4KB/16KB/32KB/64KB/128KB/256KB/512KB/1024KB在顺序读写、随机读写时的MBPS&IOPS,测试命令为:
fio -ioengine=libaio -bs=$blocksize -direct=1 -thread -rw=write -size=9G -filename=a \
-name="$testmode test" -iodepth=64 -runtime=60
本文介绍了一种在Docker环境下使用fio工具进行存储性能测试的方法。测试搭建了RAID5,并通过不同块大小及读写模式评估MBPS和IOPS表现。
819

被折叠的 条评论
为什么被折叠?



