Re: [tcpm] TCP tuning

Joe Touch <touch@ISI.EDU> Wed, 03 February 2010 22:25 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 5D3463A695C for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 14:25:44 -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=[AWL=0.000, 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 i-X448DBOfyv for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 14:25:43 -0800 (PST)
Received: from nitro.isi.edu (nitro.isi.edu [128.9.208.207]) by core3.amsl.com (Postfix) with ESMTP id 800B23A6957 for <tcpm@ietf.org>; Wed, 3 Feb 2010 14:25:43 -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 o13MP022014044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 3 Feb 2010 14:25:23 -0800 (PST)
Message-ID: <4B69F7BC.3000204@isi.edu>
Date: Wed, 03 Feb 2010 14:25:00 -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> <133D9897FB9C5E4E9DF2779DC91E947C025F1861@SLFSNX.rcs.alcatel-research.de> <d1c2719f1002031110v3b76ca9eu14c9a110847548e7@mail.gmail.com> <4B69CDD7.6060802@isi.edu> <d1c2719f1002031339u14709270k6452c05f0dd3c39e@mail.gmail.com>
In-Reply-To: <d1c2719f1002031339u14709270k6452c05f0dd3c39e@mail.gmail.com>
X-Enigmail-Version: 0.96.0
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="------------enigB8C53DE9D8A426DF237BBA15"
X-MailScanner-ID: o13MP022014044
X-ISI-4-69-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: tcpm@ietf.org, "SCHARF, Michael" <Michael.Scharf@alcatel-lucent.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:25:44 -0000


Jerry Chu wrote:
....
>>> Actually our data points to the contrary - the average web object and page
>>> size have been rising steadily. E.g., the majority of our search responses
>>> no longer fit in 3 MSS these days.
>>
>> This should be relevant only for the first response from a given IP
>> address; persistent connections should render this moot for subsequent
>> requests.
> 
> Yes we are well aware of the advantage of maintaining persistent connections.
> In fact this is one of the reasons holding us back from resurrecting T/TCP
> (in addition to other security issues).
> 
> But from our own observation the average HTTP connections just don't
> persistent that long for some reason. I don't remember the data or all
> the technical reasons on top of my head, but can surely try to get them for
> you.

I think having all of that in one place would be a good start.

> There are other limitations of HTTP 1/1:

Persistent connections predates 1.1, FWIW ;-)

> 1. obviously its effectiveness depends on user's web surfing pattern.
> 2. web browsers have been going down the slope of opening more and
> more simultaneous connections anyway, partly to circumvent HTTP's
> serialization, an issue SPDY tries to address.
> 3. practically web servers have only limited resources. can't hold too many
> open connections.
> 4. a web object will make the TCP slow start algorithm to grow its cwnd
> only upto the size of the object. As such, even with persistent connections,
> a web object that is larger than any of its predecessors will hit the window
> limit, and take more than one round trip time to complete. So persistent
> connections might not be as effective as one might think.

This all depends on many things - e.g., whether the persistent
connection is used for a sequence of requests or whether they are
interleaved using HTTP 'chunks', the size of the chunks, etc.

It's useful as well to keep in mind that HTTP exists because Tim
Berners-Lee thought that FTP would be too inefficient, because 'most of
the time you only get one file from a site', and he didn't want to open
two connections. I.e., one other alternative is to consider FTP's
version of multiplexing as well.

>> Again, the question arises as to how much this is going to achieve a
>> noticeable impact.
> 
> Quite significant in our study. Will present our result at IETF/Anaheim.

We've seen initial work on this before, and had a number of questions
that remain unanswered. A good start would be to put this all in a tech
report. Presentations at the IETF should not get into deep technical
detail; they ought to summarize work available before the meeting and
provided on the list IMO.

Joe