Re: Deadlocks with recent SMP current

From: Sławek Żak <zaks_at_prioris.mini.pw.edu.pl>
Date: Wed, 18 Aug 2004 11:07:39 +0200
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
Received on Wed Aug 18 2004 - 07:07:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:06 UTC