From: Sean Anderson <seanga2@gmail.com>
To: Shinichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Cc: Jens Axboe <axboe@kernel.dk>,
"fio@vger.kernel.org" <fio@vger.kernel.org>,
Damien Le Moal <dlemoal@kernel.org>
Subject: Re: [BUG] active zones exceeded error with max_open_zones
Date: Thu, 24 Apr 2025 10:01:24 -0400 [thread overview]
Message-ID: <ce3a5fb5-ed48-b751-4de7-cf72aae5df49@gmail.com> (raw)
In-Reply-To: <ptncklg56axp5463pdaadt5a3xxepeu4vnnl3qqtg3k2elpsmj@lcl7boaxswn5>
On 4/24/25 02:13, Shinichiro Kawasaki wrote:
> On Apr 23, 2025 / 13:11, Sean Anderson wrote:
>> Hi,
>>
>> I'm getting an "active zones exceeded" error when running fio with
>> --rw=randwrite mode:
>>
>> # fio --bs=4k --rw=randwrite --norandommap --fsync=1 --number_ios=16384 --name=flushes --direct=1 --zonemode=zbd --max_open_zones=1978 --filename=/dev/my_zone_dev
>> flushes: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=psync, iodepth=1
>
> Hi,
>
> The block size is 4k. And according to the blkzone report, it looks like the gap
> between the zone size and zone capacity is 512b. So, I guess the fio can not
> fill the gap by 4k writes. It looks likely this unalignment between the gap and
> the block size left unwritten small remainders in many zones, then many zones
> are kept open and the device exceeded the max active zone limit. Based on this
> guess, I suggest to try with 512 byte block size to align it with the gap.
Same issue. And fio seems to be capable of working with the gap in --rw=write mode.
>> fio-3.39
>
> Recently, I contributed a fix which handles the case many small remainders are
> left by random write workload to zoned block devices [1]. The fix was upstreamed
> after the fio version 3.39. I also suggest to try out the latest fio code with
> 4k blocksize.
>
> [1] https://github.com/axboe/fio/commit/e2e29bf6f8300186d267fa46a7b266d14d174575
Yeah, I saw that, but it didn't appear to be related to this issue. I will try it
out tonight.
--Sean
next prev parent reply other threads:[~2025-04-24 14:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-23 17:11 [BUG] active zones exceeded error with max_open_zones Sean Anderson
2025-04-24 3:10 ` Damien Le Moal
2025-04-24 5:27 ` Sean Anderson
2025-04-24 5:40 ` Damien Le Moal
2025-04-24 5:53 ` Sean Anderson
2025-04-24 6:13 ` Shinichiro Kawasaki
2025-04-24 14:01 ` Sean Anderson [this message]
2025-04-25 4:14 ` Sean Anderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ce3a5fb5-ed48-b751-4de7-cf72aae5df49@gmail.com \
--to=seanga2@gmail.com \
--cc=axboe@kernel.dk \
--cc=dlemoal@kernel.org \
--cc=fio@vger.kernel.org \
--cc=shinichiro.kawasaki@wdc.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.