From: Jiaying Zhang <jiayingz@google.com>
To: "Frank Ch. Eigler" <fche@redhat.com>
Cc: Steven Rostedt <srostedt@redhat.com>,
linux-kernel@vger.kernel.org, Michael Rubin <mrubin@google.com>,
Martin Bligh <mbligh@google.com>,
Michael Davidson <md@google.com>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [RFC PATCH 3/3] kernel tracing prototype
Date: Fri, 5 Dec 2008 10:36:34 -0800 [thread overview]
Message-ID: <5df78e1d0812051036v6a619c2end01138b60217a74e@mail.gmail.com> (raw)
In-Reply-To: <y0my6yuocth.fsf@ton.toronto.redhat.com>
On Fri, Dec 5, 2008 at 7:34 AM, Frank Ch. Eigler <fche@redhat.com> wrote:
> Jiaying Zhang <jiayingz@google.com> writes:
>
>> To better answer the question why we want to implement a new kernel
>> tracing prototype, here are some performance results we collected before
>> with the tbench benchmark.
>
> Thanks.
>
>> - vanilla 2.6.26 kernel, CONFIG_MARKERS=n
>> Throughput 759.352 MB/sec 4
>> - markers compiled in, tracing disabled
>> Throughput 754.18 MB/sec 4
>
> Is your kernel built with -freorder-blocks? This option dramatically
> reduces the cost of inactive markers/tracepoints.
No. I will try this this flag and let you know if I see any
performance difference.
Thanks for your suggestion!
>
>> - tracing syscall entry/exit, use markers, not logging data to ring_buffer
>> Throughput 715.68 MB/sec 4
>> - tracing syscall entry/exit, use markers, logging data to ring_buffer
>> Throughput 654.056 MB/sec 4
>
> (By the way, how are you doing syscall entry/exit tracing?)
The way we trace syscall entry/exit is similar to the approach
used in LTTng. When tracing is enabled, a special flag,
TIF_KERNEL_TRACE is set so syscall entry and exit call special
syscall_trace_enter and syscall_trace_exit that are patched
to call trace_mark in our old prototype.
Jiaying
>
>
> - FChE
>
prev parent reply other threads:[~2008-12-05 18:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <5df78e1d0812021626y68c7241ahfdba4d37c7840e10@mail.gmail.com>
2008-12-03 0:58 ` Jiaying Zhang
2008-12-03 4:35 ` Steven Rostedt
2008-12-03 5:30 ` Jiaying Zhang
2008-12-05 8:04 ` Jiaying Zhang
2008-12-05 15:34 ` Frank Ch. Eigler
2008-12-05 15:37 ` Martin Bligh
2008-12-05 18:36 ` Jiaying Zhang [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=5df78e1d0812051036v6a619c2end01138b60217a74e@mail.gmail.com \
--to=jiayingz@google.com \
--cc=akpm@linux-foundation.org \
--cc=fche@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@google.com \
--cc=md@google.com \
--cc=mrubin@google.com \
--cc=srostedt@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®