Commit | Line | Data |
---|---|---|
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] | |
11 | name=zbd-rand-write-gc | |
12 | group_reporting | |
13 | rw=randwrite | |
14 | zonemode=zbd | |
15 | zonesize=256M | |
16 | bs=32M | |
17 | direct=1 | |
18 | time_based | |
19 | runtime=40 | |
20 | ||
21 | [dev1] | |
22 | filename=/dev/sdb | |
23 | size=8z | |
24 | offset=524z | |
25 | ioengine=psync | |
26 | zone_reset_threshold=0.7 | |
27 | zone_reset_frequency=0.125 |