LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-16-2004, 07:57 AM   #1
enjoyzj
LQ Newbie
 
Registered: Nov 2003
Posts: 29

Rep: Reputation: 15
Questions on Linux 2.4.20 TCP fast recovery and ECN implementation


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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tcp implementation in linux kskkumar Linux - Networking 1 08-24-2005 05:45 AM
few Linux TCP/IP questions from 20,000 feet johnMG Linux - Networking 7 03-27-2005 06:56 PM
How to modify TCP implementation in kernel?? karanld Linux - Networking 3 03-02-2005 07:15 AM
tcp linux implementation mk_26 Linux - Networking 0 03-22-2004 08:10 PM
Linux TCP implementation mk_26 Linux - Newbie 0 03-22-2004 04:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration