example: add a zoned block device write example with GC by zone resets
[fio.git] / examples / zbd-rand-write-zone-reset-gc.fio
CommitLineData
f65f4f2d
SK
1; Using the psync ioengine, random write to a (zoned) block device. Write
2; target zones are chosen randomly among the first 8 zones starting from device
3; offset corresponding to the 524th zone of the device (524 x 256 MB). Simulate
4; garbage collection operation using zone_reset_threshold and
5; zone_reset_frequency options. The zone resets happen when total written data
6; bytes is beyond 70% of 8 zones, and 8 = 1 / 0.125 blocks are written. This
7; example does not specify max_open_zones. The limit of maximum open zones is
8; obtained from the target block device.
9
10[global]
11name=zbd-rand-write-gc
12group_reporting
13rw=randwrite
14zonemode=zbd
15zonesize=256M
16bs=32M
17direct=1
18time_based
19runtime=40
20
21[dev1]
22filename=/dev/sdb
23size=8z
24offset=524z
25ioengine=psync
26zone_reset_threshold=0.7
27zone_reset_frequency=0.125