From: Byungchul Park <byungchul.park@lge.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: peterz@infradead.org, linux-kernel@vger.kernel.org,
walken@google.com, "Frédéric Weisbecker" <fweisbec@gmail.com>,
"Josh Poimboeuf" <jpoimboe@redhat.com>,
"Peter Zijlstra" <a.p.zijlstra@chello.nl>
Subject: Re: [PATCH 1/2] x86/dumpstack: Optimize save_stack_trace
Date: Mon, 18 Jul 2016 11:37:37 +0900 [thread overview]
Message-ID: <20160718023737.GL2279@X58A-UD3R> (raw)
In-Reply-To: <20160708100819.GA17300@gmail.com>
On Fri, Jul 08, 2016 at 12:08:19PM +0200, Ingo Molnar wrote:
>
> * Byungchul Park <byungchul.park@lge.com> wrote:
>
> > On Mon, Jul 04, 2016 at 07:27:54PM +0900, Byungchul Park wrote:
> > > I suggested this patch on https://lkml.org/lkml/2016/6/20/22. However,
> > > I want to proceed saperately since it's somewhat independent from each
> > > other. Frankly speaking, I want this patchset to be accepted at first so
> > > that the crossfeature can use this optimized save_stack_trace_norm()
> > > which makes crossrelease work smoothly.
> >
> > What do you think about this way to improve it?
>
> I like both of your improvements, the speed up is impressive:
>
> [ 2.327597] save_stack_trace() takes 87114 ns
> ...
> [ 2.781694] save_stack_trace() takes 20044 ns
> ...
> [ 3.103264] save_stack_trace takes 3821 (sched_lock)
>
> Could you please also measure call graph recording (perf record -g), how much
> faster does it get with your patches and what are our remaining performance hot
> spots?
Of course, I will.
>
> Could you please merge your patches to the latest -tip tree, because this commit I
> merged earlier today:
Sure.
>
> 81c2949f7fdc x86/dumpstack: Add show_stack_regs() and use it
>
> conflicts with your patches. (I'll push this commit out later today.)
>
> Also, could you please rename the _norm names to _fast or so, to signal that this
> is a faster but less reliable method to get a stack dump? Nobody knows what
> '_norm' means, but '_fast' is pretty self-explanatory.
It would be better.
Thank you,
Byungchul
>
> Thanks,
>
> Ingo
next prev parent reply other threads:[~2016-07-18 2:39 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-04 10:27 [PATCH 1/2] x86/dumpstack: Optimize save_stack_trace Byungchul Park
2016-07-04 10:27 ` [PATCH 2/2] x86/dumpstack: Add save_stack_trace_norm() Byungchul Park
2016-07-07 10:17 ` [PATCH 1/2] x86/dumpstack: Optimize save_stack_trace Byungchul Park
2016-07-08 10:08 ` Ingo Molnar
2016-07-08 14:29 ` Josh Poimboeuf
2016-07-08 14:48 ` Ingo Molnar
2016-07-08 15:02 ` Frederic Weisbecker
2016-07-08 15:22 ` Josh Poimboeuf
2016-07-18 3:14 ` Byungchul Park
2016-07-18 13:09 ` Josh Poimboeuf
2016-07-19 0:08 ` Byungchul Park
2016-07-18 2:42 ` Byungchul Park
2016-07-08 15:07 ` Frederic Weisbecker
2016-07-18 2:37 ` Byungchul Park [this message]
2016-07-08 14:08 ` Josh Poimboeuf
2016-07-08 14:44 ` Frederic Weisbecker
2016-07-18 3:25 ` Byungchul Park
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=20160718023737.GL2279@X58A-UD3R \
--to=byungchul.park@lge.com \
--cc=a.p.zijlstra@chello.nl \
--cc=fweisbec@gmail.com \
--cc=jpoimboe@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=walken@google.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;
as well as URLs for NNTP newsgroup(s).