On Thu, Aug 07, 2003 at 04:57:25PM -0400, John Belmonte wrote:
> Ian Clarke wrote:
> >The current bandwidth limiting mechanism seems to be causing serious
> >problems.
> ...
> >Thoughts?
> 
> Likely I'm missing something, but why not remove all bandwidth limiting 
> from freenet?  Let specialized utilities like trickle on Linux take up 
> the slack.  Reduce the complexity of your code and concentrate on more 
> important things.  If no solution is available on some platform, that is 
> an itch that will get scratched quickly enough.

1. It is needed on EVERY NODE, out of the box.
2. Windows does not have it until Windows 2000. We would have to write
platform specific helpers for each and every OS, even if the support was
there. They would have to be installed by the installer. This, on
Windows, means either more Windoze native code, or JNI.
3. We have requirements on a per packet basis. We need messages to be
sent *QUICKLY*, as in a few hundred milliseconds, less than a second at
most, but trailers are not so urgent - but we don't want trailers to be
starved to death either (we have unfortunately seen quite a lot of this
recently). OS-level traffic shaping would probably risk adding massive
latency, and would not know about the packet types - unless we tell it,
which means more JNI. JNI is universally known to be evil.

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

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to