netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Long-term TCP connections suffer on high-latency links.
@ 2004-07-30  5:01 Ben Greear
  2004-07-30  5:28 ` Cheng Jin
  0 siblings, 1 reply; 5+ messages in thread
From: Ben Greear @ 2004-07-30  5:01 UTC (permalink / raw)
  To: 'netdev@oss.sgi.com'

I have been running a TCP connection over a link with 2 seconds round-trip-time.

It started off well, about 16Mbps in both directions (cwnd trained up to 2100
after a few  seconds).

After several hours of running, it is now doing only about 2.2Mbps in one
direction, and 3.4Mbps in the other direction.  I have watched the cwnd slowly
increasing by one every 2-5 seconds (it is at 440 on one side and 655 on the
other as I type).

Occasionally, the cwnd drops in half or maybe even goes to zero.

The un-acked packets is always == snd_cwnd.

My suspicion is that for connections needing a cwnd of 2000 or so,
the cwnd does not grow nearly fast enough after the connection
has been established for a while.  My naive suggestion would be to
increase cwnd by a certain percentage instead of a fixed number (1).

But, TCP has been around a long while, and surely other people
have noticed things like this, so what am I missing?

Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

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

end of thread, other threads:[~2004-07-30 16:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-30  5:01 Long-term TCP connections suffer on high-latency links Ben Greear
2004-07-30  5:28 ` Cheng Jin
2004-07-30  6:25   ` Ben Greear
2004-07-30  7:34     ` Baruch Even
2004-07-30 16:16     ` Stephen Hemminger

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).