Add RISC-V 64 support
[fio.git] / examples / zbd-rand-write-trim-gc.fio
1 ; Using the libaio ioengine, random write to a (zoned) block device. Write
2 ; target zones are chosen randomly among the first 128 zones starting from
3 ; device offset corresponding to the 524th zone of the device (524 x 256 MB).
4 ; For first 3 seconds, run only random write. After that, run random write job
5 ; and garbage collection simulation job in parallel. The garbage collection
6 ; simulation job runs trim workload to reset the 128 zones randomly. Use flow
7 ; option to make the zone resets happen every 128 blocks writes by the other
8 ; job. This example does not specify max_open_zones. The limit of maximum
9 ; open zones is obtained from the target block device.
10
11 [global]
12 group_reporting
13 zonemode=zbd
14 zonesize=256M
15 direct=1
16 time_based
17 runtime=30
18
19 filename=/dev/sdb
20 offset=524z
21
22 [warmup]
23 rw=randwrite
24 bs=2M
25 size=128z
26 ioengine=libaio
27 runtime=3
28
29 [wjob]
30 wait_for=warmup
31 rw=randwrite
32 bs=2M
33 size=128z
34 ioengine=libaio
35 flow=128
36
37 [trimjob]
38 wait_for=warmup
39 rw=randtrim
40 bs=256M
41 size=128z
42 ioengine=psync
43 flow=1