On Thu, Sep 25, 2003 at 06:24:14PM -0500, Brandon Low wrote:
> Ok, I think I've nailed down all of the remaining locking issues which
> were plaguing my node.  Last time I dumped threads there was only 1 out
> of over 200 that was waiting for a monitor.  This is a pretty extreme
> patch, as it moves KillSurplusConnections to a daemon thread, and
> completely redoes the locking in QThreadFactory, but on my node it
> works, and has brought new levels of peak BW performance, and a very
> smoothe running node.

I'm really not sure that moving killsurplusconnections to another thread
is helpful. If you have several threads doing killsurplusconns, just let
one succeed and then the rest see quickly that they have sufficient
connections.
> 
> http://lostlogicx.com/transfer/freenet-locking-improvements.6207.jar
> http://lostlogicx.com/transfer/freenet-locking-improvements.6207.patch
> 
> --Brandon

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to