netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dong Fang <yp.fangdong@gmail.com>
To: netdev@vger.kernel.org, Dong Fang <yp.fangdong@gmail.com>
Subject: the congestion window rfc2001
Date: Tue, 13 Aug 2013 19:58:34 -0400	[thread overview]
Message-ID: <520AC82A.5040303@gmail.com> (raw)
In-Reply-To: <520AC2AD.1030306@gmail.com>




-------- Original Message --------
Subject: the congestion window rfc2001
Date: Tue, 13 Aug 2013 19:35:09 -0400
From: Dong Fang <yp.fangdong@gmail.com>
To: netdev@vger.kernel.org

hi, all


http://tools.ietf.org/html/rfc2001


    1.  When the third duplicate ACK in a row is received, set ssthresh
        to one-half the current congestion window, cwnd, but no less
        than two segments.  Retransmit the missing segment.  Set cwnd =
        ssthresh + 3 times the segment size.  This inflates the
-- what is the meaning of '3'

        congestion window by the number of segments that have left the
        network and which the other end has cached (3).

    2.  Each time another duplicate ACK arrives, increment cwnd by the
        segment size.  This inflates the congestion window for the
        additional segment that has left the network.
-- why do this

        Transmit a packet, if allowed by the new value of cwnd.

    3.  When the next ACK arrives that acknowledges new data, set cwnd
        to ssthresh (the value set in step 1).  This ACK should be the
        acknowledgment of the retransmission from step 1, one round-trip
        time after the retransmission.  Additionally, this ACK should
        acknowledge all the intermediate segments sent between the lost
        packet and the receipt of the first duplicate ACK.  This step is
        congestion avoidance, since TCP is down to one-half the rate it
        was at when the packet was lost.

      parent reply	other threads:[~2013-08-13 11:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13 23:35 the congestion window rfc2001 Dong Fang
2013-08-13 14:29 ` Yuchung Cheng
2013-08-13 23:58 ` Dong Fang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=520AC82A.5040303@gmail.com \
    --to=yp.fangdong@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).