cvs commit: src/sys/netinet tcp_subr.c tcp_timer.h
David Malone
dwmalone at maths.tcd.ie
Wed Aug 1 19:51:38 UTC 2007
On Wed, Aug 01, 2007 at 06:38:01PM +1000, Peter Jeremy wrote:
> My gut feeling is that putting an artifical lower bound on the RTT is
> a hackish way to control the retransmit timeout - I thought the TCP
> algorithms relied on knowing the real RTT to correctly handle
> retransmissions. A variable that explicitly controls the retransmit
> timeout would seem easier to understand.
TCP retransmissions should usuall be driven by duplicate ACKs (when
there's more than one packet in flight), so setting minRTO to me
small is usually not a big problem.
If the link goes away for a bit, so either all the packets in flight
or all the ACKs get dropped, then you need the timeout to kick in.
Now you want minRTO to be large enough to allow the link to come
back, but not so large that that you sit there waiting ages.
There's a paragraph in RFC 3714 on this, commenting that some TCP
stacks use values as small as 100ms, and that RFC 2988 suggests a
min of 1s. There has been some research to try and figure out a
good value, but I don't think anyone ever came to a definitive
answer.
David.
More information about the cvs-src
mailing list