Re: [tcpm] TCP tuning

Jerry Chu <hkchu@google.com> Wed, 03 February 2010 22:46 UTC

Return-Path: <hkchu@google.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 0FFB53A6873 for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 14:46:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.421
X-Spam-Level:
X-Spam-Status: No, score=-102.421 tagged_above=-999 required=5 tests=[AWL=-0.444, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, USER_IN_WHITELIST=-100]
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 t3vsVjb5859a for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 14:46:48 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 907C33A685D for <tcpm@ietf.org>; Wed, 3 Feb 2010 14:46:48 -0800 (PST)
Received: from spaceape8.eur.corp.google.com (spaceape8.eur.corp.google.com [172.28.16.142]) by smtp-out.google.com with ESMTP id o13MlVth002245 for <tcpm@ietf.org>; Wed, 3 Feb 2010 14:47:31 -0800
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1265237251; bh=fGAUsEneYe7+e/AZXKQb0RcEWr8=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type:Content-Transfer-Encoding; b=OuLEyt2Jp7lBcmKjGD6mMF7AayMOTj39TvCA6rXIVXb0UZnAKCIxWRgrlrDwGAq22 hBUIvtb54R8f8dfVYK/Ew==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:content-transfer-encoding:x-system-of-record; b=CHpV5iuBiaK+MOLK6SywpbNLKChAQBihWJmlbitfQ5tAG2fdiQoXatdP1WF5j43gw 1LlZN/Eaas9jJEPxOyLKQ==
Received: from pxi41 (pxi41.prod.google.com [10.243.27.41]) by spaceape8.eur.corp.google.com with ESMTP id o13MlTIb018498 for <tcpm@ietf.org>; Wed, 3 Feb 2010 14:47:30 -0800
Received: by pxi41 with SMTP id 41so2075873pxi.27 for <tcpm@ietf.org>; Wed, 03 Feb 2010 14:47:29 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.251.10 with SMTP id y10mr181459rvh.112.1265237248932; Wed, 03 Feb 2010 14:47:28 -0800 (PST)
In-Reply-To: <A3D02FB7C6883741952C425A59E261A50A4E9EE0@SACMVEXC2-PRD.hq.netapp.com>
References: <7BE9742D-6EDC-43FE-84FC-D22C52D23152@nokia.com> <1e41a3231002031232r6ec9edd3p6367dd9c2581fa08@mail.gmail.com> <d1c2719f1002031244g3415c8e1r7d36e26058158d20@mail.gmail.com> <1e41a3231002031251v53f03f78x2ba6a12c4f12a22@mail.gmail.com> <A3D02FB7C6883741952C425A59E261A50A4E9EE0@SACMVEXC2-PRD.hq.netapp.com>
Date: Wed, 03 Feb 2010 14:47:28 -0800
Message-ID: <d1c2719f1002031447w7bd73cb0n290ed1b0e382b140@mail.gmail.com>
From: Jerry Chu <hkchu@google.com>
To: "Biswas, Anumita" <Anumita.Biswas@netapp.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
Cc: 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 22:46:50 -0000

Hi Anumita,

On Wed, Feb 3, 2010 at 1:50 PM, Biswas, Anumita
<Anumita.Biswas@netapp.com> wrote:
>
>
>> -----Original Message-----
>> From: John Heffner [mailto:johnwheffner@gmail.com]
>> Sent: Wednesday, February 03, 2010 12:51 PM
>> To: Jerry Chu
>> Cc: tcpm@ietf.org WG
>> Subject: Re: [tcpm] TCP tuning
>>
>> 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.
>
> The slow start algorithm tries to probe the network capacity, not the end node's available window space. The network capacity is dependent on switch/router queue lengths, among other things and therefore the initial receive window is not something that can/should be negotiated by end points.
>
> However, I do have reservations with standardizing an increased initial window assuming that 10 MSS is a good "guess" for what the network can tolerate.
>
> I have seen cases where switches topple over initial receive window sizes as spec'd out by RFC 3390. In fact, RFC 3390 does state that the recommended IW value of 4 segments for 1500MSS can cause more loss in networks with higher segment drop rates.

Understood the concern. But sometimes we'll need to take active action
in order to break the
deadlock - TCP spec relying on switch/router upgrade while equipment
vendors waiting for
TCP spec to be ratified. In this case a modest increase of initcwnd
may well be the right one
to get both sides into a healthy lockstep toward a faster Internet.
This is because the negative
impact (% of access switch/router with tiny buffer) is limited and
easy (IMHO) to fix while the
gain can be significant for the vast majority. This is a good
incentive to encourage those left
behind to move up the bandwidth curve.

Jerry

>
>>
>>   -John
>> _______________________________________________
>> tcpm mailing list
>> tcpm@ietf.org
>> https://www.ietf.org/mailman/listinfo/tcpm
>