NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/41019: pthreads: high load when using varnish (locking/unlocking causes 98% WCPU)



The following reply was made to PR lib/41019; it has been noted by GNATS.

From: Michael Stapelberg <michael+netbsd%stapelberg.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: lib/41019: pthreads: high load when using varnish
        (locking/unlocking causes 98% WCPU)
Date: Mon, 16 Mar 2009 08:34:37 +0100

 Hi Andrew,
 
 * [16.03.09 01:12]:
 >  Presumably that's from the debug output you have enabled.
 No, itâ??s not, I did not enable debugging output when ktracing. Also, I 
ktraced
 for exactly one second and it got 48 MB ktrace.out of clock_gettime.
 
 >  >  param.show thread_pool_purge_delay
 >  >  200 828     
 >  Not sure how to interpret that.
 >  Is it making it to any of the usleep() calls in the code?
 >  I'm not seeing a threading bug (yet).
 Which file/line do you mean specifically? The one in wrk_decimate_flock() in
 line 548 is not run, but moving it out of the if-block doesnâ??t help either.
 
 Best regards,
 Michael
 


Home | Main Index | Thread Index | Old Index