From: Josef Bacik Date: Mon, 9 Oct 2017 20:35:51 +0000 (-0400) Subject: add an filecreate example file to examples/ X-Git-Tag: fio-3.2~52 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6bc5cf9cf84af3ba2086bff4141b559708917be7;p=fio.git add an filecreate example file to examples/ This adds an example with some documentation on how to use ioengine=filecreate. Signed-off-by: Josef Bacik Signed-off-by: Jens Axboe --- diff --git a/examples/filecreate-ioengine.fio b/examples/filecreate-ioengine.fio new file mode 100644 index 00000000..e1eb06ce --- /dev/null +++ b/examples/filecreate-ioengine.fio @@ -0,0 +1,36 @@ +# Example filecreate job +# +# create_on_open is needed so that the open happens during the run and not the +# setup. +# +# openfiles needs to be set so that you do not exceed the maximum allowed open +# files. +# +# filesize needs to be set to a non zero value so fio will actually run, but the +# IO will not really be done and the write latency numbers will only reflect the +# open times. +[global] +create_on_open=1 +nrfiles=31250 +readwrite=write +ioengine=filecreate +fallocate=none +filesize=4k +openfiles=1 + +[t0] +[t1] +[t2] +[t3] +[t4] +[t5] +[t6] +[t7] +[t8] +[t9] +[t10] +[t11] +[t12] +[t13] +[t14] +[t15]