Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <jaxboe@fusionio.com>
To: Sebastian Kayser <sebastian@skayser.de>
Cc: fio@vger.kernel.org
Subject: Re: iodepth and synchronous ioengines ("pitfall")
Date: Thu, 2 Dec 2010 19:59:48 +0100	[thread overview]
Message-ID: <4CF7ECA4.5050107@fusionio.com> (raw)
In-Reply-To: <20101201213831.GU28050@sebastiankayser.de>

On 2010-12-01 22:38, Sebastian Kayser wrote:
> Hi,
> 
> I just stumbled into a glaring pitfall when playing with iodepth=X for
> the first time. Was using ioengine=sync (default), increased iodepth > 1
> and wondered briefly why my results didn't change. Thinking about it,
> this made perfect sense and the "IO depths" distribution in the result
> summary even pointed me to it.
> 
> Nevertheless, it might help others to avoid this alltogether if the man
> page paragraph on iodepth would include a small heads up / reference to
> ioengines. Example patch attached, not quite sure about the wording for
> the verify_async aspect.

It's a good idea. Something else to keep in mind is that even with async
engines, you can run into this issue. Say in Linux and not setting
direct=1, the buffered IO will still be sync. So I think I'll add some
wording as well to have the user keep an eye on the achieved IO depths
and not just assume that it's running with a depth of X for iodepth=X.

-- 
Jens Axboe


  reply	other threads:[~2010-12-02 18:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-01 21:38 iodepth and synchronous ioengines ("pitfall") Sebastian Kayser
2010-12-02 18:59 ` Jens Axboe [this message]
2010-12-02 19:08   ` 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=4CF7ECA4.5050107@fusionio.com \
    --to=jaxboe@fusionio.com \
    --cc=fio@vger.kernel.org \
    --cc=sebastian@skayser.de \
    /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