1. 文件系统读写性能
文件系统测试采用文件大小1G,文件个数256,文件深度1,随机写;若要测试读性能将operation改为read,若要测试顺序读写将fileio改为sequential。
test_write脚本如下:
messagescan=no
fsd=fsd1,anchor=/ori_data,depth=1,width=1,files=256,size=1G,openflags=o_sync
fwd=fwd1,fsd=fsd1,operation=write,fileio=random,xfersize=4M,fileselect=random,threads=4
fwd=format,fsd=fsd1,xfersize=4M,threads=128
rd=rd1,fwd=fwd1,fwdrate=max,format=yes,elapsed=600,interval=1
执行脚本:
执行结束后可在output/summary.html中查看结果:
2. 块设备读写性能
随机读:readpct&#