Skip to contentSkip to conversation

perf: make top share sym routines with report

PATCH In review Arnaldo Carvalho de Melo 2 participants 2 messages May 28, 2009

lore
Share & tools
lore
#0 lore raw

cover perf: make top share sym routines with report

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

#1 lore raw
Quoted 2 lines · Arnaldo Carvalho de Melo

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