All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: sampath rapaka <sampath.rapaka@gmail.com>
Cc: "fio@vger.kernel.org" <fio@vger.kernel.org>
Subject: Re: Any Delay Introduced by FIO between submission of Two IOs?
Date: Mon, 27 May 2013 15:33:32 +0200	[thread overview]
Message-ID: <20130527133332.GH29680@kernel.dk> (raw)
In-Reply-To: <CAJqT0ix50Pr0+DEVVStAZxiAa6Xx=SGRwQQX9QXa0Jdu13HG2A@mail.gmail.com>

On Mon, May 27 2013, sampath rapaka wrote:
> hi
> 
> i have run couple of fio runs. i am running this over raid1 device. i
> have captured blktrace for each run. I was going through the
> blktraces. what i have observed is there instances where there is
> commit happening to disk at say time stamp X. I was expecting a new IO
> to be submitted at X+1 time stamp. but i see next IO is submitted at
> time stamp Y.
> 
> Y-X is more than 1. Is there any delay introduced from FIO between two
> fios. or what could be the probable reasons to see such delay? let me
> know if my understanding is wrong.
> 
> Below is the excerpt from blktrace:
> 
> 21378   8,32   3     9162     0.116015463     0  C  WS 574576152 + 8 [0]
>  21379   8,16   3    10690     0.116020386     0  C  WS 574576152 + 8 [0]
>  21380   9,0    0        1     0.120074779  8797  Q  WS 131300520 + 8 [fitness]
> 
> from lines 21379(C) to 21380(Q) there is lots of delay for submission of new IO.
> 
> So i was thinking in lines of any delay from FIO between submissions
> of IO or they submit IO as soon as it is available.
> 
> Question 2:
> I have also observed larger delays in Q-D values. which is more than D-C value.
> 
> What could be the possible reasons for this behavior ?

Fio doesn't introduce any delays on purpose. What job file are you
running?

It could either be that fio is scheduled out or in other ways in a
non-running state. Or perhaps fio is waiting for completions.

Line 21380 above is something called 'fitness', what is that?

-- 
Jens Axboe


  reply	other threads:[~2013-05-27 13:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-27  9:38 Any Delay Introduced by FIO between submission of Two IOs? sampath rapaka
2013-05-27 13:33 ` Jens Axboe [this message]
2013-05-27 14:16   ` sampath rapaka
2013-05-27 16:48     ` 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=20130527133332.GH29680@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=sampath.rapaka@gmail.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.