From: Vincent Fu Date: Fri, 28 Oct 2016 20:05:47 +0000 (-0400) Subject: steadystate: add example job file X-Git-Tag: fio-2.16~3^2~16 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=c93fae171b5354eb75f7dfc6d81b92ffbfcf0646 steadystate: add example job file --- diff --git a/TODO b/TODO index b5426260..a13b6828 100644 --- a/TODO +++ b/TODO @@ -4,8 +4,6 @@ Known issues/TODO (for steady-state) - Add output for --output-format=normal -- Add example job files - - Allow user to specify the frequency of measurements - Better documentation for output diff --git a/examples/steadystate.fio b/examples/steadystate.fio new file mode 100644 index 00000000..26fb8083 --- /dev/null +++ b/examples/steadystate.fio @@ -0,0 +1,45 @@ +# +# Example job file for steady state job termination +# Use --output-format=json for detailed information +# +# For Windows, change the file names +# + +[global] +threads=1 +group_reporting=1 +time_based +size=128m + +[ss-write] +filename=/dev/null +rw=write +bs=128k +numjobs=4 +runtime=5m +ss=iops:10% +ss_dur=30s +ss_ramp=10s +# +# Begin ss detection 10s after job starts +# Terminate job when largest deviation from mean IOPS is 10% +# Use a rolling 30s window for deviations +# + + +[ss-read] +new_group +stonewall +filename=/dev/zero +rw=randread +bs=4k +numjobs=4 +runtime=5m +ss=bw_slope:1% +ss_dur=10s +ss_ramp=5s +# +# Begin ss detection 5s after job starts +# Terminate job when bandwidth slope is less than 1% of avg bw +# Use a rolling 10s window for bw measurements +#