mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Questions on Linux 2.4.20 TCP fast recovery and ECN implementation
@ 2004-07-15 17:02 Jee J.Z.
  0 siblings, 0 replies; 2+ messages in thread
From: Jee J.Z. @ 2004-07-15 17:02 UTC (permalink / raw)
  To: linux-kernel

Dear all,

I am really having problems understanding some linux 2.4.20 TCP
implementation behaviours:

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Questions on Linux 2.4.20 TCP fast recovery and ECN implementation
@ 2004-07-17 13:34 Jee J.Z.
  0 siblings, 0 replies; 2+ messages in thread
From: Jee J.Z. @ 2004-07-17 13:34 UTC (permalink / raw)
  To: linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-17 13:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-15 17:02 Questions on Linux 2.4.20 TCP fast recovery and ECN implementation Jee J.Z.
2004-07-17 13:34 Jee J.Z.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome