public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH tip 0/5] perf: make top share sym routines with report
@ 2009-05-28 17:54 Arnaldo Carvalho de Melo
  2009-05-28 22:00 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2009-05-28 17:54 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra
  Cc: Paul Mackerras, Mike Galbraith, Thomas Gleixner, Steven Rostedt,
	Linux Kernel Mailing List

Haven't done and perf stat runs tho. Perhaps ask for running it for 5
refreshes and then exit.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH tip 0/5] perf: make top share sym routines with report
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2009-05-28 22:00 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo
  Cc: Peter Zijlstra, Paul Mackerras, Mike Galbraith, Thomas Gleixner,
	Steven Rostedt, Linux Kernel Mailing List


* 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-28 22:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox