Re: [tcpm] WGLC on draft-ietf-tcpm-early-rexmt-01

Mark Allman <mallman@icir.org> Fri, 15 May 2009 12:36 UTC

Return-Path: <mallman@icir.org>
X-Original-To: tcpm@core3.amsl.com
Delivered-To: tcpm@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9C10F3A6BD2 for <tcpm@core3.amsl.com>; Fri, 15 May 2009 05:36:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.436
X-Spam-Level:
X-Spam-Status: No, score=-2.436 tagged_above=-999 required=5 tests=[AWL=0.163, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IPnmpxgOpGFk for <tcpm@core3.amsl.com>; Fri, 15 May 2009 05:36:53 -0700 (PDT)
Received: from pork.ICSI.Berkeley.EDU (pork.ICSI.Berkeley.EDU [192.150.186.19]) by core3.amsl.com (Postfix) with ESMTP id DCDF93A6A80 for <tcpm@ietf.org>; Fri, 15 May 2009 05:36:53 -0700 (PDT)
Received: from guns.icir.org (adsl-69-222-35-58.dsl.bcvloh.ameritech.net [69.222.35.58]) by pork.ICSI.Berkeley.EDU (8.12.11.20060308/8.12.11) with ESMTP id n4FCcR5G003532; Fri, 15 May 2009 05:38:27 -0700
Received: from lawyers.icir.org (unknown [69.222.35.58]) by guns.icir.org (Postfix) with ESMTP id ED1403A122B2; Fri, 15 May 2009 08:38:20 -0400 (EDT)
Received: from lawyers.icir.org (localhost [127.0.0.1]) by lawyers.icir.org (Postfix) with ESMTP id 1C7EBD513E2; Fri, 15 May 2009 08:38:19 -0400 (EDT)
To: Iljitsch van Beijnum <iljitsch@muada.com>
From: Mark Allman <mallman@icir.org>
In-Reply-To: <BF81730A-87E6-4E0A-8EA7-AB51F6B66CB2@muada.com>
Organization: International Computer Science Institute (ICSI)
Song-of-the-Day: Lawyers, Guns and Money
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="--------ma25144-1"; micalg="pgp-sha1"; protocol="application/pgp-signature"
Date: Fri, 15 May 2009 08:38:19 -0400
Sender: mallman@icir.org
Message-Id: <20090515123819.1C7EBD513E2@lawyers.icir.org>
Cc: tcpm@ietf.org
Subject: Re: [tcpm] WGLC on draft-ietf-tcpm-early-rexmt-01
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mallman@icir.org
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Fri, 15 May 2009 12:36:54 -0000

> I don't like the part about tracking the seqnum edges.
> 
> Why would someone send 400 byte packets when the MSS is 1400+?

Something interactive like ssh.  Why do we give apps the chance to turn
off Nagle?  It's a big, ugly world with a vast range of behavior.

> How does this interact with the Nagle algorithm?

As sketched in the draft ...

  + You can use a byte-based variant of ER which assumes MSS-sized
    packets.  As discussed in the draft this *can* have precision
    problems in terms of determining the number of packets outstanding
    in the network and therefore when ER should and should not be used.
    In particular, if Nagle is turned off and so short packets are being
    sent then ER can get confused (see two examples in section 2.1.

  + Given that there can be a lack of precision we note that a TCP could
    in fact track the three packets on the right side of the window
    (four sequence numbers) to fully grok how many packets are in the
    network [*] and therefore to more accurately trigger ER.  This in
    particular helps when Nagle is in use.  I am not clear what you are
    getting at by an 'interaction'.  I don't think ER interacts with
    Nagle, but the packet-based variant does cope with Nagle.

    [*] Obviously tracking only the right side of the window doesn't
        give you a fine-grained notion of how many packets are in the
        network in total.  It tells you that either (a) there are at
        least four (and so we're out of the ER regime) or (b) there are
        less than four outstanding packets and how many there actually
        are.  So, it works for ER's purpose.

allman