[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #20515] TCP delayed ack does not work as expected
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #20515] TCP delayed ack does not work as expected |
Date: |
Tue, 15 Apr 2008 15:57:21 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de; rv:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9 |
Follow-up Comment #13, bug #20515 (project lwip):
> I'm happy to incorporate a "only increase the advertised window
> by a minimum of a segment" rule in there though, which should do
> silly window avoidance.
I also think so. Although that isn't enough (because it would mean we would
send an ACK with every segment).
I think I already worked on this a bit, but it's been a while ago...
RFC 1122 chapter 4.2.3.2 says "the delay MUST be less than 0.5 seconds, and
in a stream of full-sized segments there SHOULD be an ACK for at least every
second segment."
This would mean we need
- the last advertised window and
- a timer
and send an ACK if the last advertised window is <= current_wnd - (2 * mss)
OR the timer has expired.
These are 2*16 bit plus a little code to check the timer in tcp_slow_tmr, I
don't think it's too much: it saves a lot of ACKs, after all!
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20515>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Jim Pettinato, 2008/04/14
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2008/04/15
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Jim Pettinato, 2008/04/15
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2008/04/15
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected,
Simon Goldschmidt <=
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Jim Pettinato, 2008/04/15
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2008/04/15
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2008/04/15
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Simon Goldschmidt, 2008/04/15