examples: Clarify group_reporting usage
[fio.git] / examples / exitwhat.fio
CommitLineData
8fa1c06b
HW
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
fd56c235 4# alls jobs up until the next stonewall setting to be stopped, when job slow1
8fa1c06b
HW
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]
11filename=/tmp/test
12filesize=1G
13blocksize=4096
79e92925 14group_reporting
8fa1c06b
HW
15exitall=1
16
17[slow1]
fd56c235 18rw=read
8fa1c06b
HW
19numjobs=1
20ioengine=sync
21new_group=1
22thinktime=2000
23number_ios=1000
24exit_what=stonewall
25
26[fast1]
27new_group=1
28rw=randrw
29numjobs=3
30ioengine=libaio
31iodepth=32
32rate=300,300,300
33
34[slow2]
fd56c235
AW
35stonewall
36rw=write
8fa1c06b
HW
37numjobs=1
38ioengine=sync
39new_group=1
40thinktime=2000
41number_ios=1000
42exit_what=all
43
44[fast2]
45rw=randrw
46numjobs=3
47ioengine=libaio
48iodepth=32
49rate=300,300,300
50
51[runsnever]
52rw=randrw
53numjobs=3
54ioengine=libaio
55iodepth=32
56rate=300,300,300