Re: [tcpm] TCP tuning

John Heffner <johnwheffner@gmail.com> Wed, 03 February 2010 20:50 UTC

Return-Path: <johnwheffner@gmail.com>
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 A083B3A6B2E for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 12:50:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 BI5EMbkTCWzs for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 12:50:23 -0800 (PST)
Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by core3.amsl.com (Postfix) with ESMTP id 785C33A6816 for <tcpm@ietf.org>; Wed, 3 Feb 2010 12:50:23 -0800 (PST)
Received: by ey-out-2122.google.com with SMTP id 22so449547eye.51 for <tcpm@ietf.org>; Wed, 03 Feb 2010 12:51:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=UbDMLj8enJQhLKczCdMnNBtVO38vWbEahsuM4Bcfzus=; b=OplQt9AS+aiYr4hCE1ScgRJenCHYEA+Fo6U1uXwuQ7aBpej11MclIAAqXjJ9HWywpm QrdNs9IZfuGRt0GD9gyaBmlLmWLafiMt88LjoVNTDU25rzJCW7hxONwIIDTfTbfdZnDY aqrazNaBTFUgUqZRf89X5txYMx+2rbYkYLRoI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=O3WRFHFg+9KGnAjeooisbqJGzSPcyrO2LHNZSGz3QFB8h+7Eer077Csn0L0U90zdiB 6+M7at/dHyQlS1V84ULtiNZqd4oFZW5NNnq3ow0bJStNrd3u0DcMSuf3aWqNSJ3IsbzP bQwoQXKfSpD3FI+v9+bcgMV6k15BhbJDZMhHU=
MIME-Version: 1.0
Received: by 10.216.162.3 with SMTP id x3mr94028wek.21.1265230263398; Wed, 03 Feb 2010 12:51:03 -0800 (PST)
In-Reply-To: <d1c2719f1002031244g3415c8e1r7d36e26058158d20@mail.gmail.com>
References: <7BE9742D-6EDC-43FE-84FC-D22C52D23152@nokia.com> <1e41a3231002031232r6ec9edd3p6367dd9c2581fa08@mail.gmail.com> <d1c2719f1002031244g3415c8e1r7d36e26058158d20@mail.gmail.com>
Date: Wed, 03 Feb 2010 15:51:03 -0500
Message-ID: <1e41a3231002031251v53f03f78x2ba6a12c4f12a22@mail.gmail.com>
From: John Heffner <johnwheffner@gmail.com>
To: Jerry Chu <hkchu@google.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: "tcpm@ietf.org WG" <tcpm@ietf.org>
Subject: Re: [tcpm] TCP tuning
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
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: Wed, 03 Feb 2010 20:50:24 -0000

On Wed, Feb 3, 2010 at 3:44 PM, Jerry Chu <hkchu@google.com> wrote:
> Hi John,
>
> On Wed, Feb 3, 2010 at 12:32 PM, John Heffner <johnwheffner@gmail.com> wrote:
>> A couple thoughts:
>> - A large initial window should probably only be used by mutual
>> agreement.  Maybe via a TCP option during the handshake?
>
> This may not be needed. A receiver can effectively constrain the
> sender's window by advertising a smaller initial receive window.
>
> Obviously this works for only the initial window, not the restart window.
> (Oh, on a second thought this can be made to work for the restart
> window too.)

A good point, though most receivers (Linux 2.4 and later being the
exception) advertise all available window space, not expecting a large
initial burst from the sender.  I think you need a negotiation for
opt-in rather than opt-out.

  -John