fio
Flexible I/O tester: do an I/O action spawning multiple threads or processes. More information: https://fio.readthedocs.io/en/latest/fio_doc.html.
- Test random reads:
fio --filename= --direct=1 --rw=randread --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name= --eta-newline=1 --readonly
- Test sequential reads:
fio --filename= --direct=1 --rw=read --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name= --eta-newline=1 --readonly
- Test random read/write:
fio --filename= --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name= --eta-newline=1
- Test with parameters from a job file:
fio
- Convert a specific job file to command-line options:
fio --showcmd
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
