adding an example for dedupe_global usage and DRR testing
[fio.git] / examples / cmdprio-bssplit.fio
CommitLineData
63176c21 1; Randomly read/write a block device file at queue depth 16.
63176c21
DLM
2[global]
3filename=/dev/sda
4direct=1
5write_lat_log=prio-run.log
6log_prio=1
63176c21 7rw=randrw
63176c21
DLM
8ioengine=libaio
9iodepth=16
4927ccc9
NC
10
11; Simple cmdprio_bssplit format. All non-zero percentage entries will
12; use the same prio class and prio level defined by the cmdprio_class
13; and cmdprio options.
14[cmdprio]
15; 40% of read IOs are 64kB and 60% are 1MB. 100% of writes are 1MB.
16; 100% of the 64kB reads are executed with prio class 1 and prio level 0.
17; All other IOs are executed without a priority set.
18bssplit=64k/40:1024k/60,1024k/100
63176c21
DLM
19cmdprio_bssplit=64k/100:1024k/0,1024k/0
20cmdprio_class=1
4927ccc9
NC
21cmdprio=0
22
23; Advanced cmdprio_bssplit format. Each non-zero percentage entry can
24; use a different prio class and prio level (appended to each entry).
25[cmdprio-adv]
26; 40% of read IOs are 64kB and 60% are 1MB. 100% of writes are 1MB.
27; 25% of the 64kB reads are executed with prio class 1 and prio level 1,
28; 75% of the 64kB reads are executed with prio class 3 and prio level 2.
29; All other IOs are executed without a priority set.
30stonewall
31bssplit=64k/40:1024k/60,1024k/100
32cmdprio_bssplit=64k/25/1/1:64k/75/3/2:1024k/0,1024k/0
33
34; Identical to the previous example, but with a default priority defined.
35[cmdprio-adv-def]
36; 40% of read IOs are 64kB and 60% are 1MB. 100% of writes are 1MB.
37; 25% of the 64kB reads are executed with prio class 1 and prio level 1,
38; 75% of the 64kB reads are executed with prio class 3 and prio level 2.
39; All other IOs are executed with prio class 2 and prio level 7.
40stonewall
41prioclass=2
42prio=7
43bssplit=64k/40:1024k/60,1024k/100
44cmdprio_bssplit=64k/25/1/1:64k/75/3/2:1024k/0,1024k/0