On Mon, Oct 16, 2006 at 10:53:36AM +0800, Adrian Chadd
wrote:> Hiya,
>
> Whats the "right" way to grab kernel profiling data these days?
>
> I've tried using the kernel profiling w/ kgmon and gprof but the top
CPU
> wasters are the profiling functions themselves, quickly followed by
> write_eflags(). I'm not sure this is valid at all.
>
> I'm running 6-stable on an Athlon 1800XP, so its uniprocessor and
> (relatively) slow. I'm hitting the server rather hard with a few
thousand
> TCP connections a second; I'm trying to figure out where my ~60% of
kernel
> time and ~35% of interrupt time is going.
pmc can be extremely useful although it doesn't do call graphs.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :
http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061016/f7d26034/attachment.pgp