From: Jens Axboe <axboe@kernel.dk>
To: Dennis Zhou <dennis@kernel.org>
Cc: Tejun Heo <tj@kernel.org>, Andy Newell <newella@fb.com>,
fio@vger.kernel.org, kernel-team@fb.com
Subject: Re: [PATCH 3/4] blktrace: add option to scale a trace
Date: Wed, 19 Sep 2018 13:59:53 -0600 [thread overview]
Message-ID: <d094f4cb-e89f-fb2c-7aeb-9af42b60bfd7@kernel.dk> (raw)
In-Reply-To: <20180919195607.GB14982@dennisz-mbp.dhcp.thefacebook.com>
On 9/19/18 1:56 PM, Dennis Zhou wrote:
> On Wed, Sep 19, 2018 at 12:49:15PM -0600, Jens Axboe wrote:
>> On 9/19/18 12:25 PM, Dennis Zhou wrote:
>>> As we explore stacking traces, it is nice to be able to scale a trace to
>>> understand how the traces end up interacting.
>>>
>>> This patch adds scaling by letting the user pass in percentages to scale
>>> a trace by. When passed '--merge_blktrace_scalars="100", the trace is
>>> ran at 100% speed. If passed 50%, this will halve the trace timestamps.
>>> The new option takes in a comma separated list that index-wise pairs
>>> with the passed files in "--read_iolog".
>>
>> How is this different than replay_time_scale?
>>
>
> I think merge_blktrace_scalars is a trace building parameter whereas
> replay_time scale is a runtime parameter. merge_blktrace_scalars is an
> index-paired list with the logs passed to --read_iolog allowing for each
> trace to be independently scaled. replay_time_scale happens at runtime
> and scales the entire trace uniformly. And because replay_time_scale
> happens at runtime, I'm not sure repurposing the numbers would be super
> intuitive.
Not sure I see the difference, if you just allow replay_time_scale to
take multiple values (one for each trace)?
--
Jens Axboe
next prev parent reply other threads:[~2018-09-19 19:59 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-19 18:25 [PATCH 0/4] add option to interleave blktraces Dennis Zhou
2018-09-19 18:25 ` [PATCH 1/4] options: rename name string operations for more general use Dennis Zhou
2018-09-19 18:25 ` [PATCH 2/4] blktrace: add support to interleave blktrace files Dennis Zhou
2018-09-19 18:47 ` Jens Axboe
2018-09-19 19:29 ` Dennis Zhou
2018-09-19 19:34 ` Jens Axboe
2018-09-19 18:25 ` [PATCH 3/4] blktrace: add option to scale a trace Dennis Zhou
2018-09-19 18:49 ` Jens Axboe
2018-09-19 19:56 ` Dennis Zhou
2018-09-19 19:59 ` Jens Axboe [this message]
2018-09-19 21:06 ` Dennis Zhou
2018-09-19 21:19 ` Jens Axboe
2018-09-19 18:25 ` [PATCH 4/4] blktrace: add option to iterate over a trace multiple times Dennis Zhou
-- strict thread matches above, loose matches on Subject: below --
2018-09-20 18:08 [PATCH v2 0/4] add option to interleave blktraces Dennis Zhou
2018-09-20 18:08 ` [PATCH 3/4] blktrace: add option to scale a trace Dennis Zhou
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=d094f4cb-e89f-fb2c-7aeb-9af42b60bfd7@kernel.dk \
--to=axboe@kernel.dk \
--cc=dennis@kernel.org \
--cc=fio@vger.kernel.org \
--cc=kernel-team@fb.com \
--cc=newella@fb.com \
--cc=tj@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.