首页 > 其他分享 >磁盘 IO 读写测试

磁盘 IO 读写测试

时间:2023-02-18 12:12:01浏览次数:89  
标签:16k 读写 direct IO linuxcool 磁盘 ioengine fio size

[root@linuxcool ~]# fio -filename=linuxcool -direct=1 -iodepth 1 -thread -rw=read -ioengine=psync -bs=16k -size=10G -numjobs=10 -runtime=100 -group_reporting -name=mytest
进行随机写入测试:

[root@linuxcool ~]# fio -filename=linuxcool -direct=1 -iodepth 1 -thread -rw=randwrite -ioengine=psync -bs=16k -size=200G -numjobs=30 -runtime=1000 -group_reporting -name=mytest
进行顺序写入测试:

[root@linuxcool ~]# fio -filename=linuxcool -direct=1 -iodepth 1 -thread -rw=write -ioengine=psync -bs=16k -size=200G -numjobs=30 -runtime=1000 -group_reporting -name=mytest

ref: http://linuxcommand.p2hp.com/fio

标签:16k,读写,direct,IO,linuxcool,磁盘,ioengine,fio,size
From: https://www.cnblogs.com/stdpain/p/17132307.html

相关文章