| 1 | # We want to run fast1 as long as slow1 is running, but also have a cumulative |
| 2 | # report of fast1 (group_reporting=1/new_group=1). exitall=1 would not cause |
| 3 | # fast1 to stop after slow1 is done. Setting exit_what=stonewall will cause |
| 4 | # alls jobs up until the next stonewall setting to be stopped, when job slow1 |
| 5 | # finishes. |
| 6 | # In this example skipping forward to slow2/fast2. slow2 has exit_what=all set, |
| 7 | # which means all jobs will be cancelled when slow2 finishes. In particular, |
| 8 | # runsnever will never run. |
| 9 | |
| 10 | [global] |
| 11 | filename=/tmp/test |
| 12 | filesize=1G |
| 13 | blocksize=4096 |
| 14 | group_reporting |
| 15 | exitall=1 |
| 16 | |
| 17 | [slow1] |
| 18 | rw=read |
| 19 | numjobs=1 |
| 20 | ioengine=sync |
| 21 | new_group=1 |
| 22 | thinktime=2000 |
| 23 | number_ios=1000 |
| 24 | exit_what=stonewall |
| 25 | |
| 26 | [fast1] |
| 27 | new_group=1 |
| 28 | rw=randrw |
| 29 | numjobs=3 |
| 30 | ioengine=libaio |
| 31 | iodepth=32 |
| 32 | rate=300,300,300 |
| 33 | |
| 34 | [slow2] |
| 35 | stonewall |
| 36 | rw=write |
| 37 | numjobs=1 |
| 38 | ioengine=sync |
| 39 | new_group=1 |
| 40 | thinktime=2000 |
| 41 | number_ios=1000 |
| 42 | exit_what=all |
| 43 | |
| 44 | [fast2] |
| 45 | rw=randrw |
| 46 | numjobs=3 |
| 47 | ioengine=libaio |
| 48 | iodepth=32 |
| 49 | rate=300,300,300 |
| 50 | |
| 51 | [runsnever] |
| 52 | rw=randrw |
| 53 | numjobs=3 |
| 54 | ioengine=libaio |
| 55 | iodepth=32 |
| 56 | rate=300,300,300 |