6.2-Release and Clamd 0.90 with libpthread.so

John-Mark Gurney gurney_j at resnet.uoregon.edu
Mon Feb 26 08:17:35 UTC 2007


Martin Blapp wrote this message on Sat, Feb 24, 2007 at 19:06 +0100:
> >>Running ktrace with libc_r or libthr I can't see a single call to fork().
> >>Is ktrace lying to me ? Why do I only see fork()s with libpthread ?
> >
> >The kse upcalls might look like forks to ktrace?
> >
> 
> That could be. Is it easy to fix this for ktrace ?
> 
> Anyway, that still doesn't solve the problem for me, since
> clamd with libpthreads is extremly CPU hungry and is slow.
> 
> I really miss something to profile like strace on solaris to
> see where it spends most CPU cycles. The problem is not that
> it doesn't work, the problem is that it works far too slow.

Have you tried using pmc?  Works at full processor speed...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-threads mailing list