Deadlocks with recent SMP current
Sławek Żak
zaks at prioris.mini.pw.edu.pl
Wed Aug 18 02:07:42 PDT 2004
Julian Elischer <julian at elischer.org> writes:
> Sławek Żak wrote:
[...]
>> MySQLd is running with libpthread and can go up to 400% without
>> significantly afecting the idle percentage shown by top. I don't see how I
>> could fit 400% into 20% on those two suckers, therefore I ask :)
>
> Cpu percentage use is broken for pthread applications..
> it's almost impossible to work out the right way of doing it
> due to the nature of M:N threading where there is no fixed rule as
> to which user thread is run by which kernel thread.
>
> I have ideas but it will probably have to be an aggreagate cpu% for the thread
> group, divided by the number of kernel threads in the group.
Well. Better this than the current sorry, saying nothing number :)
/S
--
Sławek Żak : UNIX Systems Administrator : PTC Sp. zoo
More information about the freebsd-current
mailing list