Questions on Linux 2.4.20 TCP fast recovery and ECN implementation
From: Jee J.Z.
Date: Sat Jul 17 2004 - 08:32:55 EST
Dear all,
I am really having problems understanding some linux 2.4.20 TCP
implementation behaviours (listed as follows). Any reply would be very much
appreciated.
1. Fast recovery trigger: I found (by ethereal traces) linux 2.4.20 TCP fast
recovery is usually triggered by only one duplicate ACK. I used to think
this is caused by FACK. However, even after I disable FACK by turning off
(set to 0) /proc/sys/net/ipv4/tcp_fack, the same phenomenon still happen.
Only when I disable SACK, fast recovery is triggered by 3 duplicate ACK. I
can't think of any explanation to this phenomenon.
2. FACK: Another issue related to FACK is that somebody said in linux 2.4
with FACK on, fast recovery is triggered on conditions: if ((snd.fack -
snd.una) > (N * MSS)) || (dupacks == 3), rather than what I have known: if
((snd.fack - snd.una) > (3 * MSS)) || (dupacks == 3), where N is dynamically
determined based on current network conditions such as reordering. However,
I can't find the codes implementing this algorithm. If this is true, could
anybody point me to the codes? Also, could anybody point me to the reference
decribing this algorithm in detail?
3. ECN implementation: As far as I read from a document, linux 2.4 ECN is
somewhat different from the standard rfc 2481/3168 in that linux 2.4 TCP
does not halve its congestion window at once on reception of a Congestion
Experenced packet, but only gradually decreases the congestion window to
half at the rate of one segment for two incoming ACKs. Is this true and are
there any paticular reasons for modifying linux 2.4 TCP like this? If I
don't remember wrong, linux 2.0 conforms to the standard in this issue.
I have been trying to search resources related to these issues for many days
but haven't found one really heuristic and useful. I would be very grateful
if anybody could help me out with any of these questions. Thank you very
much in advance!
Cheers,
Jee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/