-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/16/2011 08:33 AM, Dennis Nezic wrote: > 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.
I have just given an example, it had little to do with Freenet packet size. Still what i was pointing towards is that you need to average things out over some period of time. Perhaps the problem is in something different, but it could be that it selects some time period that is too large or too small. - Volodya - -- http://freedom.libsyn.com/ Echo of Freedom, Radical Podcast "None of us are free until all of us are free." ~ Mihail Bakunin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNMpjAAAoJENW9VI+wmYasuf4H/0qUPAfEEYIKAWfdaweVlZCv dqTShmmNur1eQ+96ZWxTI0qbQ1+vYe774l25m0dAK9uds4nK+v0G+duDRhUdrkMY wSwOsfDXMqkyg7WgI4D9IIzer0nJoUJAfYhjrpwRA7fhX3OQJQizyMdEhL34bc4f 3kUe6ItH1A3ZYdpxdrp3TsRiT2hiciWimmqV2+D+P1aMK5ZBVxAPdY7qUgA1UpOh MSAhmfSLfQQOJrbdwejfO5eftNhYgMyrAuYPXCAkb3GNL1IPTE54eQ0BcMlPOpmj jfp1IgrHHDmNP7fVDOn7goxf5Vn/v3rIVdHXTTgbyUlh46EFC7h4/J6Ka+gKa3E= =WaFe -----END PGP SIGNATURE----- _______________________________________________ Support mailing list Support@freenetproject.org http://news.gmane.org/gmane.network.freenet.support Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support Or mailto:support-requ...@freenetproject.org?subject=unsubscribe