netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* the congestion window rfc2001
@ 2013-08-13 23:35 Dong Fang
  2013-08-13 14:29 ` Yuchung Cheng
  2013-08-13 23:58 ` Dong Fang
  0 siblings, 2 replies; 3+ messages in thread
From: Dong Fang @ 2013-08-13 23:35 UTC (permalink / raw)
  To: netdev

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.

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

end of thread, other threads:[~2013-08-13 14:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).