From: David Miller <davem@davemloft.net>
To: jheffner@psc.edu
Cc: ilpo.jarvinen@helsinki.fi, netdev@vger.kernel.org
Subject: Re: TCP's initial cwnd setting correct?...
Date: Wed, 08 Aug 2007 21:40:54 -0700 (PDT) [thread overview]
Message-ID: <20070808.214054.133430158.davem@davemloft.net> (raw)
In-Reply-To: <46B9DF25.3000800@psc.edu>
From: John Heffner <jheffner@psc.edu>
Date: Wed, 08 Aug 2007 11:20:05 -0400
> I believe the current calculation is correct. The RFC specifies a
> window of no more than 4380 bytes unless 2*MSS > 4380. If you change
> the code in this way, then MSS=1461 will give you an initial window of
> 3*MSS == 4383, violating the spec. Reading the pseudocode in the RFC
> 3390 is a bit misleading because they use a clamp at 4380 bytes rather
> than use a multiplier in the relevant range.
Thanks for this excellent clarification John.
Because this has tripped up enough people, not once but on
multiple occaisions, I'm going to add some comments to
tcp_init_cwnd() to save the next person who is confused
by what seems to be an incorrect implementation of the RFC :-)
next prev parent reply other threads:[~2007-08-09 4:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-06 12:37 TCP's initial cwnd setting correct? Ilpo Järvinen
2007-08-06 18:31 ` Ilpo Järvinen
2007-08-08 15:26 ` John Heffner
2007-08-08 1:28 ` David Miller
2007-08-08 15:20 ` John Heffner
2007-08-09 4:40 ` David Miller [this message]
2007-08-08 5:01 ` David Miller
2007-08-08 13:05 ` Ilpo Järvinen
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=20070808.214054.133430158.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=ilpo.jarvinen@helsinki.fi \
--cc=jheffner@psc.edu \
--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