axboe / fio

Flexible I/O Tester
GNU General Public License v2.0
5.29k stars 1.26k forks source link

in 3.36, randwrite in zbd zonemode can only write to 128 zones which lead to high iops in randwrite #1717

Open pilife opened 9 months ago

pilife commented 9 months ago

Please acknowledge the following before creating a ticket

Description of the bug: in 3.36, randwrite in zbd zonemode can only write to 128 zones which lead to high iops in randwrite

Environment: 5.10.134-13.an8.x86_64

fio version: 3.36

Reproduction steps

fio --name=zbc --filename=/dev/sdr --direct=1 --zonemode=zbd --offset=969z --numjobs=4 --group_reporting=1 --runtime=30 --ioengine=libaio --iodepth=4 --rw=randwrite --bs=256K

image image
pilife commented 9 months ago

by using zbc_report_zones command, it turns out that there are only 128 implicit open zones were written