netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: Eric Dumazet <eric.dumazet@gmail.com>, Erik Grinaker <erik@bengler.no>
Cc: Yuchung Cheng <ycheng@google.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	netdev <netdev@vger.kernel.org>
Subject: Re: TCP connection issues against Amazon S3
Date: Thu, 08 Jan 2015 10:52:58 -0800	[thread overview]
Message-ID: <54AED20A.4060806@hp.com> (raw)
In-Reply-To: <1420740936.5947.70.camel@edumazet-glaptop2.roam.corp.google.com>


> Strange thing is that sender does not misbehave at the beginning when
> receiver window is still small. Only after a while.

Just guessing, but when the receiver window is small, the sender cannot 
get a large quantity of data out there at once, so any string of lost 
packets will tend to be smaller.  If the sender is relying on the RTO to 
trigger the retransmits, and is not resetting his RTO until the clean 
ACK of a segment sent after snd_nxt when the loss is detected, the 
smaller loss strings will not get to the rather large RTO values seen in 
the trace before curl gives-up.  It may be that the sender is indeed 
misbehaving at the beginning, just that it isn't noticeable?

Different but perhaps related observation/question - without timestamps 
(which we don't have in this case), isn't there a certain ambiguity 
about arriving out-of-order segments? One doesn't really know if they 
are out-of-order because the network is re-ordering, or because they are 
retransmissions of segments we've not yet seen at the receiver.

rick

  reply	other threads:[~2015-01-08 18:52 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5DCDADEF-FF9C-4844-8A2C-62E2D3B3B8CE@bengler.no>
2015-01-06 16:04 ` TCP connection issues against Amazon S3 Eric Dumazet
2015-01-06 16:11   ` Erik Grinaker
2015-01-06 17:20     ` Eric Dumazet
2015-01-06 18:17       ` Erik Grinaker
2015-01-06 18:32         ` Eric Dumazet
2015-01-06 18:33         ` Yuchung Cheng
2015-01-06 19:01           ` Erik Grinaker
2015-01-06 19:18             ` Yuchung Cheng
2015-01-06 19:42               ` Erik Grinaker
2015-01-06 20:13                 ` Eric Dumazet
2015-01-06 20:26                   ` Erik Grinaker
2015-01-06 21:04                     ` Erik Grinaker
2015-01-06 22:00                       ` Yuchung Cheng
2015-01-07 13:31                         ` Erik Grinaker
2015-01-07 15:58                           ` Eric Dumazet
2015-01-07 20:37                             ` Erik Grinaker
2015-01-07 21:33                               ` Eric Dumazet
2015-01-08 17:47                                 ` Erik Grinaker
2015-01-08 18:15                                   ` Eric Dumazet
2015-01-08 18:52                                     ` Rick Jones [this message]
2015-01-07 21:33                               ` Yuchung Cheng
2015-01-07  1:23                       ` Lukas Tribus
2015-01-07 13:06                         ` Erik Grinaker
2015-01-06 19:16           ` Rick Jones
2015-01-06 19:48             ` Rick Jones
2015-01-06 19:50             ` Erik Grinaker

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=54AED20A.4060806@hp.com \
    --to=rick.jones2@hp.com \
    --cc=eric.dumazet@gmail.com \
    --cc=erik@bengler.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=ycheng@google.com \
    /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;
as well as URLs for NNTP newsgroup(s).