Re: [tcpm] ] WGLC for draft-ietf-tcpm-fastopen-05

gorry@erg.abdn.ac.uk Tue, 26 November 2013 19:51 UTC

Return-Path: <gorry@erg.abdn.ac.uk>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A35FA1ADFBF for <tcpm@ietfa.amsl.com>; Tue, 26 Nov 2013 11:51:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.602
X-Spam-Level:
X-Spam-Status: No, score=-3.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_32=0.6, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SVlY9k53VJ6L for <tcpm@ietfa.amsl.com>; Tue, 26 Nov 2013 11:51:54 -0800 (PST)
Received: from spey.erg.abdn.ac.uk (spey.erg.abdn.ac.uk [139.133.204.173]) by ietfa.amsl.com (Postfix) with ESMTP id D068B1ADF93 for <tcpm@ietf.org>; Tue, 26 Nov 2013 11:51:53 -0800 (PST)
Received: from www.erg.abdn.ac.uk (blake.erg.abdn.ac.uk [139.133.210.30]) by spey.erg.abdn.ac.uk (Postfix) with ESMTPSA id D0E3F2B4276; Tue, 26 Nov 2013 19:51:52 +0000 (GMT)
Received: from 212.159.18.54 (SquirrelMail authenticated user gorry) by www.erg.abdn.ac.uk with HTTP; Tue, 26 Nov 2013 19:51:52 -0000
Message-ID: <763b3f8541277a7690bf859a87e69265.squirrel@www.erg.abdn.ac.uk>
In-Reply-To: <CAK6E8=fd16b9droDiPZp_CgJ=TcRkF1xt8i9Wj-Ku=YTxkcwUA@mail.gmail.com>
References: <655C07320163294895BBADA28372AF5D0EAFCE@FR712WXCHMBA15.zeu.alcatel-lucent.com> <526AF5B1.9070906@isi.edu> <655C07320163294895BBADA28372AF5D0EBFC6@FR712WXCHMBA15.zeu.alcatel-lucent.com> <526E8E6B.1060806@isi.edu> <0B96A5D7-0DAE-46FF-8D9A-311307BF7493@netapp.com> <3578D243-D0F6-41E8-B515-380C35BB27B9@isi.edu> <9267762C-FD7C-4BC6-85FB-730E774F7EEB@oracle.com> <527016BD.4090609@isi.edu> <88430820-7495-491A-AE7A-D3850973AA35@oracle.com> <527036D0.4030508@isi.edu> <2C14475E-675C-40BB-9DD6-8C2871161903@oracle.com> <CAK6E8=ccEmc-ghgbNwmxB6DwWMO+c4JmBx=-RnRMv1nZO9COyQ@mail.gmail.com> <2B85C60B-2301-4B1D-8176-044DAEA817A6@erg.abdn.ac.uk> <CAK6E8=dLnHYL2Gc5DydZuAhMvyGSqavSLZLwoF9-oTqU+P6evg@mail.gmail.com> <528B9E16.70602@erg.abdn.ac.uk> <CAK6E8=ea9c9RbPwzED=ts6xkAONhbMgzdJR+H1-EtrHGepCyBA@mail.gmail.com> <655C07320163294895BBADA28372AF5D13C310@FR712WXCHMBA15.zeu.alcatel-lucent.com> <CAK6E8=fd16b9droDiPZp_CgJ=TcRkF1xt8i9Wj-Ku=YTxkcwUA@mail.gmail.com>
Date: Tue, 26 Nov 2013 19:51:52 -0000
From: gorry@erg.abdn.ac.uk
To: Yuchung Cheng <ycheng@google.com>
User-Agent: SquirrelMail/1.4.22
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, "draft-ietf-tcpm-fastopen@tools.ietf.org" <draft-ietf-tcpm-fastopen@tools.ietf.org>
Subject: Re: [tcpm] ] WGLC for draft-ietf-tcpm-fastopen-05
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Nov 2013 19:51:56 -0000

See below...

> On Tue, Nov 26, 2013 at 6:05 AM, Scharf, Michael (Michael) <
> michael.scharf@alcatel-lucent.com> wrote:
>
>> > >>> 3) seeding the SYN RTT from a lower value makes the sender more
>> > >>> aggressive in heavily congested networks. The sender is also made
>> > more
>> > >>> aggressive by sending IW data packets before there is any
>> > indication the
>> > >>> path can contain even a single data segment. This is significant
>> > change to
>> > >>> standard behaviour. If the proposal is to use IW 3 (as standard)
>> it
>> > still
>> > >>> needs to be called out. If the proposal is to use a larger
>> > experimental
>> > >>> number then I have concerns here that this is a significant change
>> > that
>> > >>> needs an automated recovery method to prevent significant
>> > collateral damage
>> > >>> on capacity-limited paths - there needs to be a way to stop a
>> > server doing
>> > >>> this each time resulting in recurring loss!
>> > >>
>> > >>
>> > >> when the IW of packets are not all acked, loss recovery is
>> triggered
>> > >> and window is reduced. this is part of standard CC.
>> > >>
>> > >> also when you use "significant" four times, please back up with a
>> > good
>> > >> theory or data or both. and abuse that word does not it make more
>> > >> significant.
>> > >>
>> > > So let's see if we can see agree on what happens:
>> > >
>> > > - If the path is very lossey - severe congestion:
>> > > TCP standard sends one SYN segment with some probability of loss,
>> and
>> > if it
>> > > sees loss backs off and retransmits the SYN. As (over)load
>> increases,
>> > new
>> > > sessions add 40B and the new sessions will often defer start-up,
>> > controlling
>> > > their rate.
>> > >
>> > > - If TFO path is very lossey - severe congestion: IW full-sized
>> > segments are
>> > > sent. Each new session does this, adding to the load.
>> > > Each new session adds  MSS*IW = 6000B (IW=3) or 15000B (IW=10).
>> > >
>> > > I concede this applies to severe congestion. Under this case, it
>> > seems 150x
>> > > more traffic to me and this before before CC is engaged. Or is this
>> > wrong?
>> > I can make similar case for any recent proposal that will blow up the
>> > network, e.g., rto-restart, newcwv. The question is how practical and
>> > common those cases are. if the link is thin, not doing Fast Open with
>> > same IW will experience similar heavy losses. Let's face it: if the
>> > capacity is not enough to handle the demand, there is little can be
>> > done.
>> >
>> > The concern has been raised by Michael Scharf's, and the step 6 in
>> > Section 4.2.2 does mention that. I did ask the list for any better
>> > solution for that but I've never heard back any suggestion.
>>
>> Indeed, I was (and I still am) worried by the combination of TFO and
>> IW10.
>> Because of that, we have already had similar list discussions about
>> highly
>> congested links. I am less concerned about TFO with IW3, because bursts
>> of
>> that size are sent by TCP anyway pretty frequently.
>>
>> However, given the explicit reference to RFC 3390 in the current draft,
>> I
>> have not further objected during the WGLC.
>>
>> Since this question still seems to trigger discussion, what about some
>> additional explanation of "slightly more aggressive"? For instance:
>>
>> OLD:
>>
>>       Note that if SYN-ACK is lost, regular TCP reduces the initial
>>       congestion window before sending any data. In this case TFO is
>>       slightly more aggressive in the first data round trip even though
>>       it does not change the congestion control.
>>
>> NEW:
>>
>>       Note that in some cases TFO can be slightly more aggressive than
>> regular TCP.
>>       If SYN-ACK is lost, regular TCP reduces the initial congestion
>> window before sending any data.
>>       On such a congested link, TFO could first send a burst according
>> to
>> the initial window [RFC3390],
>>         and the server would then back-off after one round trip time if
>> one or more packets are lost. In this case TFO is
>>       slightly more aggressive in the first data round trip even though
>> it
>> does not change the congestion control.
>>
> sure
>

The description is basically OK - but I don't agree on two points:

My point is that this DOES change the congestion control in the most
critical starvation prevention mode (i.e. under heavy load): It allows a
single TCP session to send up to IW bytes into the network without
confirming the path is available. This is not a trivial change. It makes
significant assumptions about the buffering on the path, and the level of
current congestion - for high rate links this may be OK (likely no impact)
for low rate links this is a change that I would expect could make a
significant difference.

I don't understand why this is described as  "slightly" when a standard
TCP sends 40B in 1 packet before it has validated the path, and this
proposed change can send up to IW (10?) packets - that 10x the rate - in
bytes this increases to x250 the sending rate (which may be what matters
for slow links).

Whether this matters I think needs to be determined, especially if there
are robust ways to prevent this happening repeatedly over the same path.

>>
>> My 2 cents, with chair hat off...
>>
>> Michael
>>
>

Gorry