I've re-enabled the changes from 10416, which were fairly catastrophic
in the last few days, plus a major bugfix (we weren't retransmitting
packets *at all*), and a sanity check (fourRTTs is now 4 RTTs, limited
to a maximum of 5000ms and a minimum of 500ms; we won't resend a packet
more often than once every fourRTTs, and we won't ask for an ack until
fourRTTs has elapsed).

Please test! It might cause problems, although I think it should work
rather better than it did. The main reason for this commit is that I
think that the reason we were getting output bandwidth spikes (often way
above the bandwidth available) was that we were retransmitting the same
packet many times; when the link is saturated, we asked for an ack too
quickly, and we ask every time we receive a later packet.

If it causes catastrophic problems, then please revert it. I won't be
here from Monday to Thursday.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/tech/attachments/20060909/c6c4f1f2/attachment.pgp>

Reply via email to