From: Ingo Molnar <mingo@elte.hu>
To: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
Paul Mackerras <paulus@samba.org>, Mike Galbraith <efault@gmx.de>,
Thomas Gleixner <tglx@linutronix.de>,
Steven Rostedt <rostedt@goodmis.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH tip 0/5] perf: make top share sym routines with report
Date: Fri, 29 May 2009 00:00:43 +0200 [thread overview]
Message-ID: <20090528220043.GA20964@elte.hu> (raw)
In-Reply-To: <20090528175451.GB4747@ghostprotocols.net>
* Arnaldo Carvalho de Melo <acme@redhat.com> wrote:
> Haven't done and perf stat runs tho. Perhaps ask for running it
> for 5 refreshes and then exit.
I've benchmarked it. With about half a million sample IRQs per
second on a 16way x86 box the overhead went from 22.3%:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME COMMAND
4701 mingo 20 0 423m 61m 1796 R 22.3 0.5 0:08.11 perf
down to:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME COMMAND
3386 mingo 20 0 88068 61m 1756 R 18.2 0.5 0:03.06 perf
So it's a ~22% speedup.
Also, there's much less virtual memory used as well - a factor of 5
reduction (!).
Applied and pushed out - thanks Arnaldo!
Ingo
prev parent reply other threads:[~2009-05-28 22:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-28 17:54 [PATCH tip 0/5] perf: make top share sym routines with report Arnaldo Carvalho de Melo
2009-05-28 22:00 ` Ingo Molnar [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=20090528220043.GA20964@elte.hu \
--to=mingo@elte.hu \
--cc=a.p.zijlstra@chello.nl \
--cc=acme@redhat.com \
--cc=efault@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
--cc=rostedt@goodmis.org \
--cc=tglx@linutronix.de \
/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