On Sun, 16 Jan 2011 08:00:08 +0300, Volodya wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > (Off topic hand waving, how hard is it, honestly, to have a counter
> > on each incoming packet, and to only accept inputBandwidthLimit per
> > second? (And perhaps to add clever debugging messages, for now, if
> > the node is ever seen significantly exceeding this limit?))
> 
> How do you count the bandwidth?
> 
> Packets are discrete while bandwidth is continuous.
> 
> Let's say that you have a bandwidth limit of 5 KiB per second; now
> imagine that a packet comes in that is 42 kilobits, if you download
> that packet in less than a second, you have gone over your limit. But
> you cannot slow down half way through a packet.
> 
> You have said that you do not think that Freenet should average
> things out, but that is the only way to move from discrete to
> continuous math while preserving any sense of sanity.

True. Are Freenet's packets that big? (Smaller packet sizes would be
one solution for better bandwidth management.) I guess the discrete
spikes aren't really a problem though, but rather those massive and
continuous flows that swamp my connection -- as if the packet counter
suddenly decided to stop working altogether, or something.
_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[email protected]?subject=unsubscribe

Reply via email to