-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcfiojobs.job
51 lines (44 loc) · 5.12 KB
/
cfiojobs.job
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
# fio -bs=4m -size=100% -rw=randread -runtime=500 -ramp_time=30 -iodepth=32 -numjobs=2 -group_reporting -direct=1 -ioengine=libaio -time_based --output-format=json -filename=/dev/sdb -name=4m-randread-devsdb.log.json
# fio -bs=4m -size=100% -rw=randread -runtime=500 -ioengine=rbd -clientname=admin -pool=rbd -ramp_time=30 -iodepth=32 -numjobs=2 -group_reporting -direct=1 -ioengine=libaio -time_based --output-format=json -rbdname=rbd060 -name=4m-randread-rbd060.log.json
# "DEFAULT" job should be set, if any job with an empty customized_options exists.
#
#job_name runtime data_size block_size_range read_write_pattern inherit_args "customized_options_args"
DEFAULT 900 100% 4k,256k,4m randread,randwrite True "-ramp_time=60 -iodepth=32 -numjobs=2 -direct=1 -ioengine=libaio -time_based -group_reporting --output-format=json"
#
# unknow, based on block size
rbdlong none random 4m randwrite False "-ramp_time=60 -iodepth=32 -numjobs=2 -direct=1 -ioengine=rbd -group_reporting --output-format=json -clientname=admin -pool=rbd"
#
# 2 day
durable 172800 100% none randrw False "-bssplit=4k/40:256k/50:4m/10 -rwmixwrite=30 -ioengine=libaio -iodepth=8 -numjobs=2 -direct=1 -time_based -group_reporting --output-format=json"
rbddurable 172800 100% none randrw False "-bssplit=4k/40:256k/50:4m/10 -rwmixwrite=30 -ioengine=rbd -iodepth=32 -numjobs=2 -direct=1 -time_based -group_reporting --output-format=json -clientname=admin -pool=rbd"
# block devices data fill jobs
ssdfill1 none 100% 128k write False "--ioengine=libaio --direct=1 --thread -numjobs=1 -iodepth=128 --norandommap --loops=2 -group_reporting --output-format=json"
ssdfill2 7200 100% 4k randwrite False "--ioengine=libaio --direct=1 --thread -numjobs=8 -iodepth=32 --norandommap --time_based -group_reporting --output-format=json"
hddfill none 100% 4m write False "--ioengine=libaio --direct=1 --thread -numjobs=2 -iodepth=32 -group_reporting --output-format=json"
rbdfill none 100% 4m write False "-ioengine=rbd --direct=1 --thread -numjobs=2 -iodepth=32 -group_reporting --output-format=json -clientname=admin -pool=rbd"
# 10 min
normal 600 100% 4k,256k,4m read,randread,write,randwrite True
rbdnormal 600 100% 4k,256k,4m read,randread,write,randwrite True "-ramp_time=30 -ioengine=rbd -clientname=admin -pool=rbd"
random 600 100% 4k,256k,4m randread,randwrite True
writeonly 600 100% 4k,256k,4m write,randwrite True
readonly 600 100% 4k,256k,4m read,randread True
sequntial 600 100% 4k,256k,4m read,write True
4k 600 100% 4k read,randread,write,randwrite True
4m 600 100% 4m read,randread,write,randwrite True
# 8 min only for test
allbs 500 100% 4k,8k,16k,32k,64k,128k,256k,512k,1m,4m randread,randwrite True "-ramp_time=30 -iodepth=32 -numjobs=2"
allsmall 500 100% 1k,4k,16k,32k,64k read,randread,write,randwrite True
general 500 100% 4k,64k,256k,4m read,randread,write,randwrite True
# 5 min
normalquick 300 100% 4k,256k,4m read,randread,write,randwrite True "-ramp_time=30"
rbdquick 300 100% 4k,256k,4m read,randread,write,randwrite True "-ramp_time=30 -ioengine=rbd -clientname=admin -pool=rbd"
quick 300 100% 4k,4m read,randread,write,randwrite True "-ramp_time=30"
# 2 min, try it on real host
short 120 100% 4k,256k,4m read,randread,write,randwrite True "-ramp_time=15 -iodepth=2 -numjobs=2"
# test on lower load, try it on vm
srbd 120 100% 4k,256k,4m read,randread,write,randwrite True "-ramp_time=10 -iodepth=1 -numjobs=1 -ioengine=rbd -clientname=admin -pool=rbd"
ssrbd 120 100% 4k,4m read,write True "-ramp_time=10 -iodepth=1 -numjobs=1 -ioengine=rbd -clientname=admin -pool=rbd"
seqr 120 100% 4k,256k,4m read,randread True "-ramp_time=10 -iodepth=1 -numjobs=1"
sseqr 80 100% 4k,4m read True "-ramp_time=10 -iodepth=1 -numjobs=1"
sdurable 300 100% none randrw False "-iodepth=1 -numjobs=1 -direct=1 -bssplit=4k/40:256k/50:4m/10 -ioengine=libaio -rwmixwrite=30 -time_based -group_reporting --output-format=json"
# self defined