From: "David S. Miller" <davem@redhat.com>
To: Mark Reginald James <mrj@bigpond.net.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: TCP Congestion Window Bug?
Date: Sat, 3 Mar 2001 01:11:01 -0800 (PST) [thread overview]
Message-ID: <15008.46373.875068.681271@pizda.ninka.net> (raw)
In-Reply-To: <3AA1D522.7050300@bigpond.net.au>
In-Reply-To: <3AA1D522.7050300@bigpond.net.au>
Mark Reginald James writes:
> 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
Why? After the final "send a packet if" test, tp->packets_out will be
incremented and thus be equal to tp->snd_cwnd, marking the connection
as _not_ application limited.
Later,
David S. Miller
davem@redhat.com
next prev parent reply other threads:[~2001-03-03 9:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-04 5:39 Mark Reginald James
2001-03-03 9:11 ` David S. Miller [this message]
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=15008.46373.875068.681271@pizda.ninka.net \
--to=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mrj@bigpond.net.au \
/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®