MCS manager startup time

Jani Monoses jani.monoses at gmail.com
Thu Dec 22 01:35:08 CET 2005


> 
> Next would be to see *where* these guys are spending their time.
> Sysprof (Linux only, IIRC) is a nice tool for this.
> 

oprofile too. Not as nice UI as sysprof but it's been in the kernel for
a while so easier to get started with
Provided it's a reasonably new distro with oprofile as module or
built-in, as root do:

#opcontrol --start
at any given time
#opcontrol --dump
#opreport
and get something like

samples  | %      |
  3174202 28.3024 no-vmlinux
  1838464 16.3925 libfb.so
  1292218 11.5219 python2.4
   975598  8.6988 libc-2.3.5.so
   496223  4.4245 perl
   320450  2.8573 libmozjs.so
   319791  2.8514 radeon_drv.so
   313754  2.7976 libgklayout.so
   184344  1.6437 Xorg


there are lots of cmdline arguments to refine the report, and having
unstripped executables and a vmlinux is helpful as it can break down the
time spent to functions not just libs as shown above.

Jani




More information about the Xfce4-dev mailing list