From: Jens Axboe Date: Wed, 29 Feb 2012 09:47:29 +0000 (+0100) Subject: Rename job files X-Git-Tag: gfio-0.1~292 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=bd755d307bc7da99e3df2d710b2129aa39b6874a Rename job files The GUI would prefer job files to have a fixed extensions, makes it much easier to navigate. So hence forth all fio job files shall be named foo.fio. Signed-off-by: Jens Axboe --- diff --git a/examples/1mbs_clients b/examples/1mbs_clients deleted file mode 100644 index 505cd879..00000000 --- a/examples/1mbs_clients +++ /dev/null @@ -1,104 +0,0 @@ -; Keep adding 1024kb/s reading clients at 4 seconds -[global] -size=32m -rw=read -directory=tmp -rate=1250 -ratemin=1024 - -[file1] -startdelay=0 - -[file2] -startdelay=4 - -[file3] -startdelay=8 - -[file4] -startdelay=12 - -[file5] -startdelay=16 - -[file6] -startdelay=20 - -[file7] -startdelay=24 - -[file8] -startdelay=28 - -[file9] -startdelay=32 - -[file10] -startdelay=36 - -[file11] -startdelay=40 - -[file12] -startdelay=44 - -[file13] -startdelay=48 - -[file14] -startdelay=52 - -[file15] -startdelay=56 - -[file16] -startdelay=60 - -[file17] -startdelay=64 - -[file18] -startdelay=68 - -[file19] -startdelay=72 - -[file20] -startdelay=76 - -[file21] -startdelay=80 - -[file22] -startdelay=84 - -[file23] -startdelay=88 - -[file24] -startdelay=92 - -[file25] -startdelay=96 - -[file26] -startdelay=100 - -[file27] -startdelay=104 - -[file28] -startdelay=108 - -[file29] -startdelay=112 - -[file30] -startdelay=116 - -[file31] -startdelay=120 - -[file32] -startdelay=124 - diff --git a/examples/1mbs_clients.fio b/examples/1mbs_clients.fio new file mode 100644 index 00000000..505cd879 --- /dev/null +++ b/examples/1mbs_clients.fio @@ -0,0 +1,104 @@ +; Keep adding 1024kb/s reading clients at 4 seconds +[global] +size=32m +rw=read +directory=tmp +rate=1250 +ratemin=1024 + +[file1] +startdelay=0 + +[file2] +startdelay=4 + +[file3] +startdelay=8 + +[file4] +startdelay=12 + +[file5] +startdelay=16 + +[file6] +startdelay=20 + +[file7] +startdelay=24 + +[file8] +startdelay=28 + +[file9] +startdelay=32 + +[file10] +startdelay=36 + +[file11] +startdelay=40 + +[file12] +startdelay=44 + +[file13] +startdelay=48 + +[file14] +startdelay=52 + +[file15] +startdelay=56 + +[file16] +startdelay=60 + +[file17] +startdelay=64 + +[file18] +startdelay=68 + +[file19] +startdelay=72 + +[file20] +startdelay=76 + +[file21] +startdelay=80 + +[file22] +startdelay=84 + +[file23] +startdelay=88 + +[file24] +startdelay=92 + +[file25] +startdelay=96 + +[file26] +startdelay=100 + +[file27] +startdelay=104 + +[file28] +startdelay=108 + +[file29] +startdelay=112 + +[file30] +startdelay=116 + +[file31] +startdelay=120 + +[file32] +startdelay=124 + diff --git a/examples/aio-read b/examples/aio-read deleted file mode 100644 index 173a4e1f..00000000 --- a/examples/aio-read +++ /dev/null @@ -1,20 +0,0 @@ -; Read 4 files with aio at different depths -[global] -ioengine=libaio -buffered=0 -rw=randread -bs=128k -size=512m -directory=/data1 - -[file1] -iodepth=4 - -[file2] -iodepth=32 - -[file3] -iodepth=8 - -[file4] -iodepth=16 diff --git a/examples/aio-read.fio b/examples/aio-read.fio new file mode 100644 index 00000000..173a4e1f --- /dev/null +++ b/examples/aio-read.fio @@ -0,0 +1,20 @@ +; Read 4 files with aio at different depths +[global] +ioengine=libaio +buffered=0 +rw=randread +bs=128k +size=512m +directory=/data1 + +[file1] +iodepth=4 + +[file2] +iodepth=32 + +[file3] +iodepth=8 + +[file4] +iodepth=16 diff --git a/examples/disk-zone-profile b/examples/disk-zone-profile deleted file mode 100644 index 96e56695..00000000 --- a/examples/disk-zone-profile +++ /dev/null @@ -1,14 +0,0 @@ -; Read disk in zones of 128m/2g, generating a plot of that afterwards -; should give a nice picture of the zoning of this drive - -[global] -bs=64k -direct=1 -rw=read -ioengine=libaio -iodepth=2 -zonesize=256m -zoneskip=2g -write_bw_log - -[/dev/sdb] diff --git a/examples/disk-zone-profile.fio b/examples/disk-zone-profile.fio new file mode 100644 index 00000000..96e56695 --- /dev/null +++ b/examples/disk-zone-profile.fio @@ -0,0 +1,14 @@ +; Read disk in zones of 128m/2g, generating a plot of that afterwards +; should give a nice picture of the zoning of this drive + +[global] +bs=64k +direct=1 +rw=read +ioengine=libaio +iodepth=2 +zonesize=256m +zoneskip=2g +write_bw_log + +[/dev/sdb] diff --git a/examples/flow b/examples/flow deleted file mode 100644 index 4b078cf8..00000000 --- a/examples/flow +++ /dev/null @@ -1,25 +0,0 @@ -# Example usage of flows. The below will have roughly a 1:8 difference -# between job2 and job1. -[global] -norandommap -thread -time_based -runtime=30 -direct=1 -ioengine=libaio -iodepth=256 -size=100g -bs=8k -filename=/tmp/testfile -flow_watermark=100 -flow_sleep=1000 - -[job2] -numjobs=1 -rw=write -flow=-8 - -[job1] -numjobs=1 -rw=randread -flow=1 diff --git a/examples/flow.fio b/examples/flow.fio new file mode 100644 index 00000000..4b078cf8 --- /dev/null +++ b/examples/flow.fio @@ -0,0 +1,25 @@ +# Example usage of flows. The below will have roughly a 1:8 difference +# between job2 and job1. +[global] +norandommap +thread +time_based +runtime=30 +direct=1 +ioengine=libaio +iodepth=256 +size=100g +bs=8k +filename=/tmp/testfile +flow_watermark=100 +flow_sleep=1000 + +[job2] +numjobs=1 +rw=write +flow=-8 + +[job1] +numjobs=1 +rw=randread +flow=1 diff --git a/examples/fsx b/examples/fsx deleted file mode 100644 index 6b48c6fd..00000000 --- a/examples/fsx +++ /dev/null @@ -1,12 +0,0 @@ -; This job file works pretty works similarly to running fsx-linux -; with -r 4096 -w 4096 -Z -N 500000 -[file] -ioengine=libaio -iodepth=1 -rw=randrw -size=256k -bs=4k -norandommap -direct=1 -loops=500000 -rwmixcycle=40 diff --git a/examples/fsx.fio b/examples/fsx.fio new file mode 100644 index 00000000..6b48c6fd --- /dev/null +++ b/examples/fsx.fio @@ -0,0 +1,12 @@ +; This job file works pretty works similarly to running fsx-linux +; with -r 4096 -w 4096 -Z -N 500000 +[file] +ioengine=libaio +iodepth=1 +rw=randrw +size=256k +bs=4k +norandommap +direct=1 +loops=500000 +rwmixcycle=40 diff --git a/examples/iometer-file-access-server b/examples/iometer-file-access-server deleted file mode 100644 index 291bacec..00000000 --- a/examples/iometer-file-access-server +++ /dev/null @@ -1,18 +0,0 @@ -# This job file tries to mimic the Intel IOMeter File Server Access Pattern -[global] -description=Emulation of Intel IOmeter File Server Access Pattern - -[iometer] -bssplit=512/10:1k/5:2k/5:4k/60:8k/2:16k/4:32k/4:64k/10 -rw=randrw -rwmixread=80 -direct=1 -size=4g -ioengine=libaio -# IOMeter defines the server loads as the following: -# iodepth=1 Linear -# iodepth=4 Very Light -# iodepth=8 Light -# iodepth=64 Moderate -# iodepth=256 Heavy -iodepth=64 diff --git a/examples/iometer-file-access-server.fio b/examples/iometer-file-access-server.fio new file mode 100644 index 00000000..291bacec --- /dev/null +++ b/examples/iometer-file-access-server.fio @@ -0,0 +1,18 @@ +# This job file tries to mimic the Intel IOMeter File Server Access Pattern +[global] +description=Emulation of Intel IOmeter File Server Access Pattern + +[iometer] +bssplit=512/10:1k/5:2k/5:4k/60:8k/2:16k/4:32k/4:64k/10 +rw=randrw +rwmixread=80 +direct=1 +size=4g +ioengine=libaio +# IOMeter defines the server loads as the following: +# iodepth=1 Linear +# iodepth=4 Very Light +# iodepth=8 Light +# iodepth=64 Moderate +# iodepth=256 Heavy +iodepth=64 diff --git a/examples/netio b/examples/netio deleted file mode 100644 index 3b1a7cd9..00000000 --- a/examples/netio +++ /dev/null @@ -1,20 +0,0 @@ -# Example network job, just defines two clients that send/recv data -[global] -ioengine=net -#Use hostname=/tmp.fio.sock for local unix domain sockets -port=8888 -#Use =udp for UDP, =unix for local unix domain socket -protocol=tcp -bs=4k -size=10g -#set the below option to enable end-to-end data integrity tests -#verify=md5 - -[receiver] -listen -rw=read - -[sender] -hostname=localhost -startdelay=1 -rw=write diff --git a/examples/netio.fio b/examples/netio.fio new file mode 100644 index 00000000..3b1a7cd9 --- /dev/null +++ b/examples/netio.fio @@ -0,0 +1,20 @@ +# Example network job, just defines two clients that send/recv data +[global] +ioengine=net +#Use hostname=/tmp.fio.sock for local unix domain sockets +port=8888 +#Use =udp for UDP, =unix for local unix domain socket +protocol=tcp +bs=4k +size=10g +#set the below option to enable end-to-end data integrity tests +#verify=md5 + +[receiver] +listen +rw=read + +[sender] +hostname=localhost +startdelay=1 +rw=write diff --git a/examples/null b/examples/null deleted file mode 100644 index 9d2f3e00..00000000 --- a/examples/null +++ /dev/null @@ -1,10 +0,0 @@ -[global] -bs=4k -gtod_reduce=1 - -[null] -ioengine=null -size=100g -rw=randread -norandommap -time_based=0 diff --git a/examples/null.fio b/examples/null.fio new file mode 100644 index 00000000..9d2f3e00 --- /dev/null +++ b/examples/null.fio @@ -0,0 +1,10 @@ +[global] +bs=4k +gtod_reduce=1 + +[null] +ioengine=null +size=100g +rw=randread +norandommap +time_based=0 diff --git a/examples/rdmaio-client b/examples/rdmaio-client deleted file mode 100644 index 7c660c9f..00000000 --- a/examples/rdmaio-client +++ /dev/null @@ -1,11 +0,0 @@ -# Example rdma client job -[global] -ioengine=rdma -filename=[ip_addr]/[port]/[RDMA_WRITE/RDMA_READ/SEND] -bs=1m -size=100g - -[sender] -rw=write -iodepth=1 -iodepth_batch_complete=1 \ No newline at end of file diff --git a/examples/rdmaio-client.fio b/examples/rdmaio-client.fio new file mode 100644 index 00000000..7c660c9f --- /dev/null +++ b/examples/rdmaio-client.fio @@ -0,0 +1,11 @@ +# Example rdma client job +[global] +ioengine=rdma +filename=[ip_addr]/[port]/[RDMA_WRITE/RDMA_READ/SEND] +bs=1m +size=100g + +[sender] +rw=write +iodepth=1 +iodepth_batch_complete=1 \ No newline at end of file diff --git a/examples/rdmaio-server b/examples/rdmaio-server deleted file mode 100644 index 93488591..00000000 --- a/examples/rdmaio-server +++ /dev/null @@ -1,10 +0,0 @@ -# Example rdma server job -[global] -ioengine=rdma -filename=[ip_addr]/[port] -bs=1m -size=100g - -[receiver] -rw=read -iodepth=16 \ No newline at end of file diff --git a/examples/rdmaio-server.fio b/examples/rdmaio-server.fio new file mode 100644 index 00000000..93488591 --- /dev/null +++ b/examples/rdmaio-server.fio @@ -0,0 +1,10 @@ +# Example rdma server job +[global] +ioengine=rdma +filename=[ip_addr]/[port] +bs=1m +size=100g + +[receiver] +rw=read +iodepth=16 \ No newline at end of file diff --git a/examples/ssd-test b/examples/ssd-test deleted file mode 100644 index c84cf501..00000000 --- a/examples/ssd-test +++ /dev/null @@ -1,37 +0,0 @@ -# Do some important numbers on SSD drives, to gauge what kind of -# performance you might get out of them. -# -# Sequential read and write speeds are tested, these are expected to be -# high. Random reads should also be fast, random writes are where crap -# drives are usually separated from the good drives. -# -# This uses a queue depth of 4. New SATA SSD's will support up to 32 -# in flight commands, so it may also be interesting to increase the queue -# depth and compare. Note that most real-life usage will not see that -# large of a queue depth, so 4 is more representative of normal use. -# -[global] -bs=4k -ioengine=libaio -iodepth=4 -size=1g -direct=1 -runtime=60 -directory=/mount-point-of-ssd -filename=ssd.test.file - -[seq-read] -rw=read -stonewall - -[rand-read] -rw=randread -stonewall - -[seq-write] -rw=write -stonewall - -[rand-write] -rw=randwrite -stonewall diff --git a/examples/ssd-test.fio b/examples/ssd-test.fio new file mode 100644 index 00000000..c84cf501 --- /dev/null +++ b/examples/ssd-test.fio @@ -0,0 +1,37 @@ +# Do some important numbers on SSD drives, to gauge what kind of +# performance you might get out of them. +# +# Sequential read and write speeds are tested, these are expected to be +# high. Random reads should also be fast, random writes are where crap +# drives are usually separated from the good drives. +# +# This uses a queue depth of 4. New SATA SSD's will support up to 32 +# in flight commands, so it may also be interesting to increase the queue +# depth and compare. Note that most real-life usage will not see that +# large of a queue depth, so 4 is more representative of normal use. +# +[global] +bs=4k +ioengine=libaio +iodepth=4 +size=1g +direct=1 +runtime=60 +directory=/mount-point-of-ssd +filename=ssd.test.file + +[seq-read] +rw=read +stonewall + +[rand-read] +rw=randread +stonewall + +[seq-write] +rw=write +stonewall + +[rand-write] +rw=randwrite +stonewall diff --git a/examples/surface-scan b/examples/surface-scan deleted file mode 100644 index dc3373a2..00000000 --- a/examples/surface-scan +++ /dev/null @@ -1,23 +0,0 @@ -; writes 512 byte verification blocks until the disk is full, -; then verifies written data -[global] -thread=1 -bs=64k -direct=1 -ioengine=sync -verify=meta -verify_pattern=0xaa555aa5 -verify_interval=512 - -[write-phase] -filename=datafile.tmp ; or use a full disk, for example /dev/sda -rw=write -fill_device=1 -do_verify=0 - -[verify-phase] -stonewall -create_serialize=0 -filename=datafile.tmp -rw=read -do_verify=1 diff --git a/examples/surface-scan.fio b/examples/surface-scan.fio new file mode 100644 index 00000000..dc3373a2 --- /dev/null +++ b/examples/surface-scan.fio @@ -0,0 +1,23 @@ +; writes 512 byte verification blocks until the disk is full, +; then verifies written data +[global] +thread=1 +bs=64k +direct=1 +ioengine=sync +verify=meta +verify_pattern=0xaa555aa5 +verify_interval=512 + +[write-phase] +filename=datafile.tmp ; or use a full disk, for example /dev/sda +rw=write +fill_device=1 +do_verify=0 + +[verify-phase] +stonewall +create_serialize=0 +filename=datafile.tmp +rw=read +do_verify=1 diff --git a/examples/tiobench-example b/examples/tiobench-example deleted file mode 100644 index 5a4493e7..00000000 --- a/examples/tiobench-example +++ /dev/null @@ -1,24 +0,0 @@ -; tiobench like setup, add more fX files between the stonewalls to -; create more threads - -[global] -direct=1 -size=512m -bsrange=4k-4k -timeout=60 -numjobs=4 ; 4 simultaneous threads for each job - -[f1] -rw=write - -[f2] -stonewall -rw=randwrite - -[f3] -stonewall -rw=read - -[f4] -stonewall -rw=randread diff --git a/examples/tiobench-example.fio b/examples/tiobench-example.fio new file mode 100644 index 00000000..5a4493e7 --- /dev/null +++ b/examples/tiobench-example.fio @@ -0,0 +1,24 @@ +; tiobench like setup, add more fX files between the stonewalls to +; create more threads + +[global] +direct=1 +size=512m +bsrange=4k-4k +timeout=60 +numjobs=4 ; 4 simultaneous threads for each job + +[f1] +rw=write + +[f2] +stonewall +rw=randwrite + +[f3] +stonewall +rw=read + +[f4] +stonewall +rw=randread