Re: [tcpm] TCP tuning

Jerry Chu <hkchu@google.com> Wed, 03 February 2010 23:05 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 7DE4D3A69AB for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 15:05:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.377
X-Spam-Level:
X-Spam-Status: No, score=-102.377 tagged_above=-999 required=5 tests=[AWL=-0.400, 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 8HyAUTnUMlHD for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 15:05:12 -0800 (PST)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 2ED443A6996 for <tcpm@ietf.org>; Wed, 3 Feb 2010 15:05:12 -0800 (PST)
Received: from wpaz9.hot.corp.google.com (wpaz9.hot.corp.google.com [172.24.198.73]) by smtp-out.google.com with ESMTP id o13N5tpC020273 for <tcpm@ietf.org>; Wed, 3 Feb 2010 15:05:55 -0800
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1265238355; bh=rsjm3JTzeYeVP5MEuX9CpfxcyBI=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=egl8yht+H7pQikYXj/Bhso+57N1Qf4I0xU3Xag3HJi8UiK8hTHP4z4Duk/bDrd0JX M9BDuJLqtr+tITeLnv10A==
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:x-system-of-record; b=utV96iPxwrZUrYAE/vzNR3ZJKKv52c6q5Yxb0mTeGrlY9VdVO+oIMTNJEbI6s9vff 5sXF6nvP9p2SIdPjiS3YQ==
Received: from pxi34 (pxi34.prod.google.com [10.243.27.34]) by wpaz9.hot.corp.google.com with ESMTP id o13N5RIa029628 for <tcpm@ietf.org>; Wed, 3 Feb 2010 15:05:54 -0800
Received: by pxi34 with SMTP id 34so584753pxi.8 for <tcpm@ietf.org>; Wed, 03 Feb 2010 15:05:53 -0800 (PST)
MIME-Version: 1.0
Received: by 10.141.15.21 with SMTP id s21mr176979rvi.218.1265238353210; Wed, 03 Feb 2010 15:05:53 -0800 (PST)
In-Reply-To: <4B69F7BC.3000204@isi.edu>
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> <4B69F7BC.3000204@isi.edu>
Date: Wed, 03 Feb 2010 15:05:53 -0800
Message-ID: <d1c2719f1002031505t734fcea7va9b13022985145dd@mail.gmail.com>
From: Jerry Chu <hkchu@google.com>
To: Joe Touch <touch@isi.edu>
Content-Type: text/plain; charset="ISO-8859-1"
X-System-Of-Record: true
Cc: nanditad@google.com, 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 23:05:13 -0000

+nandita

On Wed, Feb 3, 2010 at 2:25 PM, Joe Touch <touch@isi.edu> wrote:
>
>
> 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.

I'm 100% with you on this, and have been working hard on a detailed report
on our experiments done so far to be published in the next few weeks.

Jerry

>
> Joe
>
>