Re: [tcpm] TCP tuning

Murali Bashyam <MBashyam@OcarinaNetworks.com> Wed, 03 February 2010 22:01 UTC

Return-Path: <MBashyam@OcarinaNetworks.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 3E18E3A6B52 for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 14:01:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.265
X-Spam-Level:
X-Spam-Status: No, score=-2.265 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334]
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 e+qBPAqz36OG for <tcpm@core3.amsl.com>; Wed, 3 Feb 2010 14:01:42 -0800 (PST)
Received: from mail.ocarinanetworks.com (mail.ocarinanetworks.com [69.3.29.22]) by core3.amsl.com (Postfix) with ESMTP id 60D913A6A2C for <tcpm@ietf.org>; Wed, 3 Feb 2010 14:01:42 -0800 (PST)
Received: from exchsvr01.ocarina.local ([10.250.1.7]) by exchsvr01.ocarina.local ([10.250.1.7]) with mapi; Wed, 3 Feb 2010 14:03:42 -0800
From: Murali Bashyam <MBashyam@OcarinaNetworks.com>
To: Jerry Chu <hkchu@google.com>, Joe Touch <touch@isi.edu>
Date: Wed, 03 Feb 2010 14:03:36 -0800
Thread-Topic: [tcpm] TCP tuning
Thread-Index: AcqlGYt77DuHGvUCSs6AGQ/i16dKrQAAS4WQ
Message-ID: <EC7B72027914A242B991C029F5F213CF3EBE4C5753@exchsvr01.ocarina.local>
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>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "tcpm@ietf.org" <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:01:43 -0000

Any idle period higher than the RTT between HTTP requests tends to reset the cwindow down to the restart window. This hurts persistent connections too. What's the motivation for this, can we have a different slope while reducing the window instead of resetting all the way down?

-----Original Message-----
From: tcpm-bounces@ietf.org [mailto:tcpm-bounces@ietf.org] On Behalf Of Jerry Chu
Sent: Wednesday, February 03, 2010 1:39 PM
To: Joe Touch
Cc: tcpm@ietf.org; SCHARF, Michael
Subject: Re: [tcpm] TCP tuning

On Wed, Feb 3, 2010 at 11:26 AM, Joe Touch <touch@isi.edu> wrote:
>
>
> Jerry Chu wrote:
>> On Wed, Feb 3, 2010 at 7:17 AM, SCHARF, Michael
>> <Michael.Scharf@alcatel-lucent.com> wrote:
>>>> This topic seems to be gaining momentum, and the WG should
>>>> take some time considering if there is work here for it.
>>> IMHO there could indeed be room for increasing the initial window. If
>>> most data transfers continue to be smaller than 3 MSS, a larger initial
>>> window would not necessarily cause harm, as it is seldomly used. Still,
>>> this would speed up those data transfers that currently suffer from
>>> Slow-Start.
>>
>> 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.

There are other limitations of HTTP 1/1:

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.

>
> 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.

Jerry

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