From: Mark Reginald James <mrj@bigpond.net.au>
To: linux-kernel@vger.kernel.org
Subject: TCP Congestion Window Bug?
Date: Sat, 03 Mar 2001 19:39:46 -1000 [thread overview]
Message-ID: <3AA1D522.7050300@bigpond.net.au> (raw)
Hi:
TCP only sends a packet if:
tcp_packets_in_flight(tp) < tp->snd_cwnd
(function tcp_snd_test in include/net/tcp.h)
but regards transmission as application-limited if
tp->packets_out < tp->snd_cwnd
(function tcp_cwnd_validate in include/net/tcp.h)
So the kernel _always_ thinks the connection is
application-limited, forcing many un-necessary
reductions in the size of the congestion window.
I think the condition in tcp_snd_test should be:
tcp_packets_in_flight(tp) <= tp->snd_cwnd
Mark
next reply other threads:[~2001-03-03 8:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-04 5:39 Mark Reginald James [this message]
2001-03-03 9:11 ` David S. Miller
2001-03-04 6:28 ` Mark Reginald James
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=3AA1D522.7050300@bigpond.net.au \
--to=mrj@bigpond.net.au \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®