Re: [tcpm] Increasing the Initial Window - Notes

John Heffner <johnwheffner@gmail.com> Tue, 16 November 2010 03:44 UTC

Return-Path: <johnwheffner@gmail.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 58E503A6C63 for <tcpm@core3.amsl.com>; Mon, 15 Nov 2010 19:44:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level:
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=0.300, 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 IqiJHXs7wTiK for <tcpm@core3.amsl.com>; Mon, 15 Nov 2010 19:44:57 -0800 (PST)
Received: from mail-bw0-f44.google.com (mail-bw0-f44.google.com [209.85.214.44]) by core3.amsl.com (Postfix) with ESMTP id 0121B3A6A5B for <tcpm@ietf.org>; Mon, 15 Nov 2010 19:44:56 -0800 (PST)
Received: by bwz12 with SMTP id 12so248474bwz.31 for <tcpm@ietf.org>; Mon, 15 Nov 2010 19:45:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=R5DriJgUshq8OLzomlMx7VjxiTXlCWeQ2CeW6N9HV8c=; b=O/Py35ZS4egCRfVtO7Ene6ksnHJU2WQs0opTBEqmhamVMIT3wFU0nH/H+zcTWKPOGU K/TZlqF33M5PGDrqo3rd8w61zbkuDCyA1FmHy5jMsoUpR6kE0KyhTo922cAJx09jXnjs nbbYYdjPx5gBevZvW6jbPkc3avU6vCoabUv+o=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=hei3L1yNvrfkacOHSnbXkLM6HUf3ZemRx6ztlICDdjcTMmk6B6jaUfgM1+mWTZU67H zSSB/KTZFMkq8FidWoT8GgZgRpoJ/SMIIzBlOS0eZGTPlPI2S2lQXY1GwtIdh9WKoZl7 jm94N8tks3Sf9YO7O6CSdk8YHCptg62iL5dpA=
MIME-Version: 1.0
Received: by 10.204.64.139 with SMTP id e11mr6955075bki.212.1289879138141; Mon, 15 Nov 2010 19:45:38 -0800 (PST)
Received: by 10.204.118.67 with HTTP; Mon, 15 Nov 2010 19:45:37 -0800 (PST)
In-Reply-To: <AANLkTinMKHVf_HAQ-YT8K-Tq9jdmpqQXdgnQyS8+gAcd@mail.gmail.com>
References: <20101110152857.GA5094@hell> <AANLkTi=RzbPbVRDQh7y-ydY-P7H16wDri=8EtXP5QuV3@mail.gmail.com> <20101111012453.GB2691@hell> <29E76BE6-32D9-45AD-85A1-791DAADDE520@ifi.uio.no> <AANLkTik69zRJ7XcWK7ZKCYaHPP0=Z6hnhP1SUnYP=d=8@mail.gmail.com> <824FC88F-4877-45DC-AFD9-E5272ACD7C3E@ifi.uio.no> <4CDBCA4E.8000705@tlc.polito.it> <9C745827-D861-45D0-B096-AFC3E4FE5182@ifi.uio.no> <AANLkTinMKHVf_HAQ-YT8K-Tq9jdmpqQXdgnQyS8+gAcd@mail.gmail.com>
Date: Mon, 15 Nov 2010 22:45:37 -0500
Message-ID: <AANLkTinHvFGFyYvmoignyKidO93_e13QCnMj+pTRH_ud@mail.gmail.com>
From: John Heffner <johnwheffner@gmail.com>
To: Jerry Chu <hkchu@google.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: tcpm <tcpm@ietf.org>, tmrg <tmrg-interest@icsi.berkeley.edu>
Subject: Re: [tcpm] Increasing the Initial Window - Notes
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: Tue, 16 Nov 2010 03:44:58 -0000

On Thu, Nov 11, 2010 at 5:56 PM, Jerry Chu <hkchu@google.com> wrote:
> On Thu, Nov 11, 2010 at 2:58 AM, Michael Welzl <michawe@ifi.uio.no> wrote:
>>
>> On Nov 11, 2010, at 11:49 AM, Marco Mellia wrote:
>>
>>>
>>>
>>>>> I certainly won't object to this, if that's all it takes for
>>>>> standardization. Unfortunately the
>>>>> point for the non-convinced is they don't want ANY flows to use IW10
>>>>> for fear of hurting
>>>>> the performance of their flows.
>>>>
>>>> ... but here, your "browsers open tens of flows" argument totally holds.
>>>> How is a web flow with IW10 worse than a browser opening tens of flows? If
>>>> people only use it for the web, like Google has been successfully doing,
>>>> this seems to be quite safe, based on experience.
>>>>
>>>> I'm curious what the opposition says to this  :)
>>>
>>> If today a brower opens 10 flows with a server using IW=1 you gets 10
>>> packets equivalent IW.
>>> Increasing the IW to 10 leads to an equivalent IW of 100 packets. At that
>>> point, you DSL modem will definitively start dropping most of them...
>>
>> ... which is a good reason to open fewer connections. So that's a matter
>> of bringing of bringing out an update of a web client with a different
>> behavior for the case that a web server uses a larger IW. But how does the
>> web browser know what the web server is doing? I guess they could exchange
>> this information with HTTP. Hm. Are we getting somewhere here, or is this a
>> dead end?
>
> One solution to safely migrate to IW10 for browsers opening multiple
> connections is to mandate browsers that open X connections, when X is, e.g.,
>> 4 to set the initial receive window to 3 (assuming OSes allow initrwnd to
> be set on a per connection basis). But I don't know how this can be
> enforced...
> Jerry


I'm not a Googler, so you probably have better insight into this than
I do, but my impression is that one big reason (if not the *primary*
reason) browsers open multiple connections is being able to submit
requests in parallel.  HTTP pipelining can help some, but (a) most
browsers disable this because of some buggy and widely deployed
servers, and (b) it is still susceptible to head-of-line blocking on
responses.  Might limiting the number of simultaneous connections
based on IW hurt more than it helps?

The solution would seem to be shared congestion state on the server.
Like the "congestion manager" (http://nms.lcs.mit.edu/cm/), or using
multiple channels in SCTP.  Of course, this may not be practical with
a lot of load-balancing systems.

Thanks,
  -John