Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Radha Ramachandran <radha@google.com>
To: Jens Axboe <jens.axboe@oracle.com>
Cc: fio@vger.kernel.org
Subject: Re: Add extra_buff_count flag
Date: Wed, 4 Nov 2009 11:31:18 -0800	[thread overview]
Message-ID: <66dfd3fe0911041131qcd032dem89f3cdfada112989@mail.gmail.com> (raw)
In-Reply-To: <20091104192230.GI8742@kernel.dk>

Thank you for the documentation update.

You also mentioned that you saw some kind of a race on io_u->flags
today, do you by any chance know if you were using iodepth_low or
iodepth_batch_complete or libaio engine options.
I think I see an issue when using them and understand why it happens,
but dont have a clean fix yet, will hopefully have one soon. I was
wondering if its the same issue you are seeing.
Basically the issue is we might think the queue is full (because we
cannot allocate any more io_u (they are probably doing async verify)),
but the code assumes that if the queue is full, then there is atleast
one I/O that we can do "io_getevents" on. And that will cause a hang
in the code.

thanks
-radha


On Wed, Nov 4, 2009 at 11:22 AM, Jens Axboe <jens.axboe@oracle.com> wrote:
> On Wed, Nov 04 2009, Jens Axboe wrote:
>> On Wed, Nov 04 2009, Radha Ramachandran wrote:
>> > I would rather document it than add it by default in case it starts
>> > hitting memory constraints because its allocating more memory buffers.
>>
>> Yes I agree, I usually don't like having one option implying changes for
>> another either.
>
> So the problem with documentation is that usually nobody reads it. This
> is what the HOWTO/man page currently has:
>
> verify_async=int        Fio will normally verify IO inline from the submitting
>                thread. This option takes an integer describing how many
>                async offload threads to create for IO verification instead,
>                causing fio to offload the duty of verifying IO contents
>                to one or more separate threads. If using this offload
>                option, even sync IO engines can benefit from using an
>                iodepth setting higher than 1, as it allows them to have
>                IO in flight while verifies are running.
>
> It's already documented...
>
> --
> Jens Axboe
>
>


  reply	other threads:[~2009-11-04 19:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-04  0:33 Add extra_buff_count flag Radha Ramachandran
2009-11-04  7:35 ` Jens Axboe
2009-11-04 17:12   ` Radha Ramachandran
2009-11-04 17:29     ` Jens Axboe
2009-11-04 17:39       ` Radha Ramachandran
2009-11-04 17:41         ` Jens Axboe
2009-11-04 19:22           ` Jens Axboe
2009-11-04 19:31             ` Radha Ramachandran [this message]
2009-11-04 19:36               ` Jens Axboe
2009-11-04 20:01                 ` Jens Axboe
2009-11-04 22:50                   ` Radha Ramachandran
2009-11-05  7:32                     ` Jens Axboe

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=66dfd3fe0911041131qcd032dem89f3cdfada112989@mail.gmail.com \
    --to=radha@google.com \
    --cc=fio@vger.kernel.org \
    --cc=jens.axboe@oracle.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox