All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Lakshmi <sendtold@gmail.com>, fio@vger.kernel.org
Subject: Re: No IOPS reported when "REPLAY_NO_STALL" is not set
Date: Thu, 10 Apr 2014 16:07:02 -0600	[thread overview]
Message-ID: <53471606.3010505@kernel.dk> (raw)
In-Reply-To: <CAEyTGCeu0P3uG1X3ObBfDF7pUrwa2hqbvvLyws2W4DSNH+UeuQ@mail.gmail.com>

On 04/10/2014 12:25 PM, Lakshmi wrote:
> Hi Jens,
>
>   I am seeing a strange problem. I have a 47KB Blkparsed binary file
> and I tried replaying it with and without the "replay_no_stall"
> option.
>
> With the "replay_no_stall" option, I am seeing some IOPS
> happening.Please see below.
> WITH "REPLAY_NO_STALL=1"
> =====================================================
> job9: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1
> fio-2.1.7
> Starting 1 process
> Jobs: 1 (f=2): [M] [-.-% done] [1064KB/72KB/0KB /s] [266/18/0 iops]
> [eta 00m:00s]
> job9: (groupid=0, jobs=1): err= 0: pid=34226: Thu Apr 10 12:00:54 2014
>    read : io=3792.0KB, bw=1126.3KB/s, iops=281, runt=  3367msec
>      clat (usec): min=88, max=8536, avg=3546.19, stdev=1469.46
>       lat (usec): min=88, max=8536, avg=3546.35, stdev=1469.47
> =====================================================
> However, when I don't set the "REPLAY_NO_STALL" option, I see 0
> IOPS.Please see below
> job9: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1
> fio-2.1.7
> Starting 1 process
>
> job9: (groupid=0, jobs=1): err= 0: pid=33979: Thu Apr 10 10:39:42 2014
>    read : io=3792.0KB, bw=2004B/s, iops=0, runt=1937594msec
>      clat (usec): min=87, max=14320, avg=4763.37, stdev=2001.45
>       lat (usec): min=87, max=14320, avg=4763.52, stdev=2001.50
> ===========================================================
>
> My starting time in the blkparsed binary file is 26.040173218 seconds
> and last time is 26.150699031.
>
> Attached is the binary file I am using to replay.
>
> I understand replay_no_stall option doesnt respect the timestamps, but
> without this option the job should be executing with the delays, and
> not sure why no OPS are reported.
>
> Any idea what is causing this strange behavior?Please help.

It reports no IOPS, because it's slow enough to not register any. The 
first trace in the file is at timestamp 0.00 relative, and the last one 
is at 31110.250640101. Check for yourself with:

cat file_54657438_1000lines.bin | blkparse - | less

-- 
Jens Axboe



  reply	other threads:[~2014-04-10 22:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-10 18:25 No IOPS reported when "REPLAY_NO_STALL" is not set Lakshmi
2014-04-10 22:07 ` Jens Axboe [this message]
2014-04-11 15:36   ` Lakshmi
2014-04-11 15:47     ` Jens Axboe
  -- strict thread matches above, loose matches on Subject: below --
2014-04-10 17:21 No IOPS reported when "Replay_no_stall" " Lakshmi

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=53471606.3010505@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=sendtold@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.