Re: LIFO simulations

toad <toad-EI5O+8PHWbJeeLb3ft/[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
On Wed, Dec 13, 2006 at 01:53:38AM +0100, Jano wrote:
> Michael Rogers wrote:
> 
> >> * I'm dropping messages at the tail when queues reach 50.000 messages
> >> queued (for search and transfer queues). I implemented this in the hope
> >> of getting rid of OOMs. I'm getting them anyway, so I've screwed
> >> something in the process.
> > 
> > Not necessarily - 500 peers * 2 queues * 50,000 messages could easily
> > eat a gig or two of memory.
> 
> My Sim.NODES is 100? In any case the queues getting larger are the
> transfers, and with your below 17KB mean reply size that's clearly a lot
> more than 2G. By large.

The transfers? I suggest you impose an arbitrary limit on total number
of simultaneous requests per node, and reject requests with overload if
they exceed it. Transfers at 0.00001 bytes per second are no use to
anyone, and we do implement such a mechanism - more sophisticated things
too such as bandwidth pre-allocation.

_______________________________________________
Tech mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFf2TnA9rUluQ9pFARAtknAKC2C4A7P2yHPir2tU/j572a704y3wCgjgdw
XNbzW9Hqp2SCJ6TFrcEg88o=
=xpek
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.