From: Li Zefan <lizf@cn.fujitsu.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Jens Axboe <jens.axboe@oracle.com>,
Christoph Hellwig <hch@infradead.org>,
rostedt@goodmis.org, fweisbec@gmail.com, acme@redhat.com,
linux-kernel@vger.kernel.org
Subject: Re: blktrace ftrace plugin, was Re: Receive side performance issue with multi-10-GigE and NUMA
Date: Fri, 28 Aug 2009 10:03:21 +0800 [thread overview]
Message-ID: <4A973AE9.7020905@cn.fujitsu.com> (raw)
In-Reply-To: <20090827091227.GB4260@elte.hu>
Ingo Molnar wrote:
> * Jens Axboe <jens.axboe@oracle.com> wrote:
>
>> On Wed, Aug 26 2009, Christoph Hellwig wrote:
>>> On Wed, Aug 26, 2009 at 10:40:27PM +0200, Ingo Molnar wrote:
>>>> We are also converting non-trivial plugins to generic tracepoints. A
>>>> recent example are the system call tracepoints, but we also
>>>> converted blktrace and kmemtrace to generic tracepoints.
>>> On something semi-related: Any reason to keep the blktrace
>>> ftrace plugin around? I don't think there's much point in it.
>>> It only got added in 2.6.29, and all the blktrace tooling just
>>> uses the legacy ioctls. All new uses should just use the
>>> TRACE_EVENT output.
>> Lets kill it.
>
> Agreed.
>
> I think we should keep the relayfs and ioctl compatibility bits
> though: blktrace has a mature user-space environment with many
> years of installed base.
>
> We could even move those bits back to block/blktrace_compat.c or so
> (after the ftrace plugin bits are removed), to make sure it's nicely
> isolated.
>
> What do you think?
>
I'm all for removing the ftrace plugin. There're 2 concerns:
- dev_t info can't be recorded in some blk trace events. I think
this will change in the future when we can map a request_queue to
a unique device?
- Not all the output of ftrace plugin comes from tracepoints probing,
but via blk_add_trace_msg(), which directly writes a string into
ring buffer. I think they need to be converted to TRACE_EVENT.
prev parent reply other threads:[~2009-08-28 2:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090826181502.GC13632@elte.hu>
[not found] ` <20090826190435.GC10816@hmsreliant.think-freely.org>
[not found] ` <20090826190830.GF13632@elte.hu>
[not found] ` <20090826.123631.79533250.davem@davemloft.net>
[not found] ` <20090826194835.GA16508@elte.hu>
[not found] ` <20090826202344.GE10816@hmsreliant.think-freely.org>
[not found] ` <20090826204027.GA21159@elte.hu>
2009-08-27 0:30 ` blktrace ftrace plugin, was Re: Receive side performance issue with multi-10-GigE and NUMA Christoph Hellwig
2009-08-27 5:26 ` Jens Axboe
2009-08-27 9:12 ` Ingo Molnar
2009-08-27 9:14 ` Jens Axboe
2009-08-27 13:55 ` Arnaldo Carvalho de Melo
2009-08-28 2:03 ` Li Zefan [this message]
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=4A973AE9.7020905@cn.fujitsu.com \
--to=lizf@cn.fujitsu.com \
--cc=acme@redhat.com \
--cc=fweisbec@gmail.com \
--cc=hch@infradead.org \
--cc=jens.axboe@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=rostedt@goodmis.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox