From 609b7d1a52292f44ac3c4b5a7d0178618d8e6b97 Mon Sep 17 00:00:00 2001 From: Tomasz Durda Date: Tue, 8 Mar 2022 13:15:03 +0100 Subject: [PATCH] fio: add page (#7829) --- pages/common/fio.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pages/common/fio.md diff --git a/pages/common/fio.md b/pages/common/fio.md new file mode 100644 index 000000000..ef904c63d --- /dev/null +++ b/pages/common/fio.md @@ -0,0 +1,17 @@ +# fio + +> Flexible I/O tester. +> Tool that will spawn a number of threads or processes doing a particular type of I/O action. +> More information: . + +- Test random reads: + +`sudo fio --filename={{path/to/file}} --direct=1 --rw=randread --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name={{job_name}} --eta-newline=1 --readonly` + +- Test sequential reads: + +`sudo fio --filename={{path/to/file}} --direct=1 --rw=read --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name={{job_name}} --eta-newline=1 --readonly` + +- Test random read/write: + +`sudo fio --filename={{path/to/file}} --size=500GB --direct=1 --rw=randrw --bs=4k --ioengine=libaio --iodepth=256 --runtime=120 --numjobs=4 --time_based --group_reporting --name={{job_name}} --eta-newline=1`