summaryrefslogtreecommitdiff
path: root/examples/exitwhat.fio
blob: c52e3e139d08c558b25620d9a4a7c2cf1ffbfb58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# We want to run fast1 as long as slow1 is running, but also have a cumulative
# report of fast1 (group_reporting=1/new_group=1).  exitall=1 would not cause
# fast1 to stop after slow1 is done. Setting exit_what=stonewall will cause
# alls jobs up until the next stonewall=1 setting to be stopped, when job slow1
# finishes.
# In this example skipping forward to slow2/fast2. slow2 has exit_what=all set,
# which means all jobs will be cancelled when slow2 finishes. In particular,
# runsnever will never run.

[global]
filename=/tmp/test
filesize=1G
blocksize=4096
group_reporting=1
exitall=1

[slow1]
rw=read
numjobs=1
ioengine=sync
new_group=1
thinktime=2000
number_ios=1000
exit_what=stonewall

[fast1]
new_group=1
rw=randrw
numjobs=3
ioengine=libaio
iodepth=32
rate=300,300,300

[slow2]
stonewall=1
rw=write
numjobs=1
ioengine=sync
new_group=1
thinktime=2000
number_ios=1000
exit_what=all

[fast2]
rw=randrw
numjobs=3
ioengine=libaio
iodepth=32
rate=300,300,300

[runsnever]
rw=randrw
numjobs=3
ioengine=libaio
iodepth=32
rate=300,300,300