All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: linux-btrace@vger.kernel.org
Subject: Re: Capturing idle time with blktrace
Date: Wed, 22 Apr 2015 22:51:36 +0000	[thread overview]
Message-ID: <553825F8.5070903@kernel.dk> (raw)
In-Reply-To: <CADAGN7WfwEdxivADLsei2KKVvzybzpFLpHqKMwZEd3TQ4nQ78g@mail.gmail.com>

On 04/22/2015 02:53 PM, Brandon Schwartz wrote:
> And by blkreplay, I meant replay the blktrace with FIO
>
> On Wed, Apr 22, 2015 at 2:52 PM, Brandon Schwartz <schwartz.xn@gmail.com> wrote:
>> Is there an accurate way to capture idle time with blktrace?  For
>> example, if I run/trace the following FIO script:
>>
>> [global]
>> direct=1
>> ioengine=libaio
>> readwrite=read
>> blocksizeQ2k
>> filename=/dev/sdd
>>
>> [read]
>> runtime\x10
>> name=read
>>
>> [read2]
>> stonewall=1
>> startdelay@
>> runtime\x10
>> name=read2
>>
>> And attempt to replay it using blkreplay, it will ignore the wait time
>> and simply read for 20seconds instead of read 10s, wait for 40s, read
>> 10s.


replay_no_stall=1

-- 
Jens Axboe


  parent reply	other threads:[~2015-04-22 22:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-22 20:52 Capturing idle time with blktrace Brandon Schwartz
2015-04-22 20:53 ` Brandon Schwartz
2015-04-22 22:51 ` Jens Axboe [this message]
2015-04-22 23:35 ` Brandon Schwartz
2015-04-23  2:54 ` Alireza Haghdoost

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=553825F8.5070903@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=linux-btrace@vger.kernel.org \
    /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.