lkml.org 
[lkml]   [1996]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: More TCP speed fixes
Date
According to Eric Schenk:
> (5) I've made some changes to the way delayed ACKs are treated.
> In particular if the packet interarrival time is larger than
> 1/2 second, then delaying ACKs is a bad idea, since it will just
> result in skewing the RTT calculation for the sender.
> So, I changed things so that if sk->ato > HZ/2, we simply don't
> delay the ACK at all.

Note that when you implement such fixed time comparisons, you may
adversely affect performance in environments that are operating slower
than you think is reasonable.
Most notably, amateur packet radio (which benefits a lot from any delayed
ack scheme) often has packet interarrival times > 1/2 second.

It is better to adjust the time threshold depending on the serial speed
and the MTU or MRU.
(of course, as I wrote earlier, performance in amateur packet radio
will benefit even more from a TCP implementation that knows about
halfduplex interfaces and does not queue replies before carrier drops)

Rob

--
+------------------------------------+--------------------------------------+
| Rob Janssen rob@knoware.nl | BBS: +31-302870036 (2300-0730 local) |
| AMPRnet: rob@pe1chl.ampr.org | AX.25 BBS: PE1CHL@PI8WNO.#UTR.NLD.EU |
+------------------------------------+--------------------------------------+


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.052 / U:2.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site