Re: [tcpm] TCP tuning

Joe Touch <touch@ISI.EDU> Wed, 03 February 2010 22:57 UTC

Return-Path: <touch@ISI.EDU>
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 A1BE63A68D5 for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 14:57:45 -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 7tbWG1qa4+Bf for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 14:57:44 -0800 (PST)
Received: from nitro.isi.edu (nitro.isi.edu [128.9.208.207]) by core3.amsl.com (Postfix) with ESMTP id 99C273A686A for <tcpm@ietf.org>; Wed, 3 Feb 2010 14:57:44 -0800 (PST)
Received: from [70.213.251.114] (114.sub-70-213-251.myvzw.com [70.213.251.114]) (authenticated bits=0) by nitro.isi.edu (8.13.8/8.13.8) with ESMTP id o13MvjWR020568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 3 Feb 2010 14:57:47 -0800 (PST)
Message-ID: <4B69FF69.8040008@isi.edu>
Date: Wed, 03 Feb 2010 14:57:45 -0800
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Jerry Chu <hkchu@google.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> <d1c2719f1002031447w7bd73cb0n290ed1b0e382b140@mail.gmail.com>
In-Reply-To: <d1c2719f1002031447w7bd73cb0n290ed1b0e382b140@mail.gmail.com>
X-Enigmail-Version: 0.96.0
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="------------enig1B4F09CED43661DAB6B7A208"
X-MailScanner-ID: o13MvjWR020568
X-ISI-4-69-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: tcpm@ietf.org, "Biswas, Anumita" <Anumita.Biswas@netapp.com>
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:57:45 -0000


Jerry Chu wrote:
> 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.

Let's please be clear that:

1) there is NO *urgent* problem
	We're talking about an optimization. If we do
	nothing, standards-compliant implementations
	will continue to work fine.

2) the benefit and impact need to be considered together, for everyone
	I doubt any logic that assumes both:
	a) we NEED to make a change for some
	AND
	b) this will HURT some others

TCP is designed to *always* work (as much as possible). It's more
conservative than it needs to be most of the time. Some implementors
take advantage of that, and the tragedy of the commons, and get away
with things that the IETF may not want to endorse for widespread use.

We really need to see the details to move on. Keep in mind as well that
if you're modifying TCP, taking the time to document your proposal (no,
an extended set of slides is not documentation) is a good indication of
your overall diligence (and vice versa).

Joe