From c93fae171b5354eb75f7dfc6d81b92ffbfcf0646 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Fri, 28 Oct 2016 16:05:47 -0400 Subject: [PATCH] steadystate: add example job file --- TODO | 2 -- examples/steadystate.fio | 45 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 examples/steadystate.fio diff --git a/TODO b/TODO index b542626029..a13b68282e 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 0000000000..26fb808303 --- /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 +#