Re: [tcpm] Request for input regarding the initial window increase

Jerry Chu <hkchu@google.com> Wed, 13 July 2011 21:52 UTC

Return-Path: <hkchu@google.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C876B11E81C0 for <tcpm@ietfa.amsl.com>; Wed, 13 Jul 2011 14:52:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.977
X-Spam-Level:
X-Spam-Status: No, score=-105.977 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oKO0NhDMhVjM for <tcpm@ietfa.amsl.com>; Wed, 13 Jul 2011 14:52:58 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [74.125.121.67]) by ietfa.amsl.com (Postfix) with ESMTP id 226E311E81AE for <tcpm@ietf.org>; Wed, 13 Jul 2011 14:52:56 -0700 (PDT)
Received: from kpbe15.cbf.corp.google.com (kpbe15.cbf.corp.google.com [172.25.105.79]) by smtp-out.google.com with ESMTP id p6DLqtVD001354 for <tcpm@ietf.org>; Wed, 13 Jul 2011 14:52:55 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1310593976; bh=0GDEbdCAuWoGOXr6e/+avcN+e1U=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=HsOQdf6nxHQNAZ89+tR50RYltzEDp2MJ2b7Y1o30d2fIKKFNiY+R/mxG7ga4mWmso Lb0H2zjEDAGr+9INex3KQ==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:date: message-id:subject:from:to:cc:content-type:x-system-of-record; b=Ff8XZQE8zs0WZsCqCPEPfs6LFaczh2FVvCvJbKQuHDYMYhVm4F1QZYI3vqJWTaM0+ PJAWLOZ9IEaFpf2oFV0Jg==
Received: from gwj17 (gwj17.prod.google.com [10.200.10.17]) by kpbe15.cbf.corp.google.com with ESMTP id p6DLqrkc014276 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <tcpm@ietf.org>; Wed, 13 Jul 2011 14:52:54 -0700
Received: by gwj17 with SMTP id 17so2785403gwj.38 for <tcpm@ietf.org>; Wed, 13 Jul 2011 14:52:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FBsW1Qq/KkAzA/+ghlq1v+3qjaanjRG5jG9LZa+O2VM=; b=B9gKbi9z7coC4y7bM4EivIhrvJSEkf5gHQfJHxtojD7OV5TI/G7yI47r9VbR/2gasW lnlgK50xsxv9FlV9OeuQ==
MIME-Version: 1.0
Received: by 10.150.220.15 with SMTP id s15mr1880109ybg.66.1310593972115; Wed, 13 Jul 2011 14:52:52 -0700 (PDT)
Received: by 10.150.226.20 with HTTP; Wed, 13 Jul 2011 14:52:51 -0700 (PDT)
In-Reply-To: <4E1E084F.6000000@isi.edu>
References: <133D9897FB9C5E4E9DF2779DC91E947C0654B57A@SLFSNX.rcs.alcatel-research.de> <4E1CEC6C.7030607@mti-systems.com> <4E1E084F.6000000@isi.edu>
Date: Wed, 13 Jul 2011 14:52:51 -0700
Message-ID: <CAPshTChTPjdPF3__v4tueuaz0agvD2rY=SmPL=5S3TyaQ3kDQg@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: tcpm@ietf.org
Subject: Re: [tcpm] Request for input regarding the initial window increase
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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, 13 Jul 2011 21:52:58 -0000

Hi Joe,

On Wed, Jul 13, 2011 at 2:04 PM, Joe Touch <touch@isi.edu> wrote:
>
>
> On 7/12/2011 5:53 PM, Wesley Eddy wrote:
>>
>> My personal responses as a WG participant are below:
>>
>> On 7/12/2011 7:54 PM, SCHARF, Michael wrote:
>>>
>>> ...
>>>
>>> Question 1: Moving forward a fixed increase of the permitted TCP initial
>>> congestion window (draft-ietf-tcpm-initcwnd-01)?
>>>
>>> Answer 1A: Fixed upper limit to proposed standard
>>> Answer 2B: Fixed upper limit to experimental
>>> Answer 3C: Something else (e. g., some adaptive scheme, or no change at
>>> all compared to RFC 3390); this would imply a substantial change of
>>> draft-ietf-tcpm-initcwnd-01
>>
>> I think B (Experimental) is a conservative approach. I'm happy with
>> that and scoping the "experiment" for general use on the Internet, with
>> intent to come back and go to Proposed Standard at some point.
>> Essentially, it already has close to that status ;).
>
> +1
>
> I would like to also see some discussion of a metric to know whether this is
> working or not (i.e., it's been deployed, but just because we don't see a
> problem doesn't mean one isn't happening).
>
>>> Question 2: Maximum permitted initial congestion window?
>>>
>>> Answer 2A: 10 MSS for an MTU of 1500 byte as suggested by
>>> draft-ietf-tcpm-initcwnd-01 (other MTUs are still TBD)
>>> Answer 2B: Another value (please suggest and justify)
>>
>> I think 2A is appropriate due to the volume of analysis that used the
>> same value (10MSS). Anything greater hasn't been looked at as much,
>> and anything lesser sacrifices the intent.
>
> I think it should mirror how it was stated previously: M segments OR N
> bytes, whichever is *smaller*.
>
> As to the M and N, there is clearly a goal of 10 1500-byte packets (15,000
> bytes). Compared to RFC 3390, that's 3.4x more bytes *and* 5x more segments
> (at 1500 bytes, 3390 would yield 2 MSS).

I am confused. I thought all the numbers in RFC3390 are based on MSS, not
MTU, so it's 3.33x, # of bytes as well as segments.

"Equivalently, the upper bound for the initial window size is based on
   the MSS, as follows:

       If (MSS <= 1095 bytes)
           then win <= 4 * MSS;
       If (1095 bytes < MSS < 2190 bytes)
           then win <= 4380;
       If (2190 bytes <= MSS)
           then win <= 2 * MSS;
"

So IW=10 may not have been as aggressive as you might have thought. Will that
be enough to swing your vote :)?

>
> The arguments in favor appear to be based on the 99% - or even 99.5% - case,
> and too much focused on current (and, IMO, likely ephemeral) transfer size
> measurements. I prefer to consider the increased variety of links and uses
> and trade safety for over-optimizing performance.

draft-ietf-tcpm-initcwnd-01.txt already contains the following paragraph:
"8.  Mitigation of Negative Impact

   Much of the negative impact from an increase in the initial window is
   likely to be felt by users behind slow links with limited buffers.
   The negative impact can be mitigated by hosts directly connected to a
   low-speed link advertising a smaller initial receive window than 10
   segments. This can be achieved either through manual configuration by
   the users, or through the host stack auto-detecting the low bandwidth
   links.

   More suggestions to improve the end-to-end performance of slow links
   can be found in RFC 3150 [RFC3150].
"

It the above is the only road block to standard we can certainly try to expand
on it.

>
> I personally would be more comfortable with doubling the numbers from RFC
> 3390, i.e., "4 segments or 8760 bytes whichever is smaller", as well as
> adding "SHOULD round down to an even number of segments" (to avoid creating
> compressed ACK stalls).

Again it should be "6 segments or 8760 bytes whichever is smaller".

Jerry

>
>>> Question 3: Adaptive solution as an alternative?
>>>
>>> Answer 3A: Adoption of draft-touch-tcpm-automatic-iw-01 as WG item
>>> heading towards experimental
>>> Answer 3B: No adoption
>>
>> I favor 3A, sort-of. I would rather see it generalized to explain how
>> the same algorithm can be used for tuning SCTP and potentially a subset
>> of CCIDs for DCCP. Otherwise we're begging someone to write more
>> documents later in order to tell us how the same thing applies to those
>> other protocols.
>
> +1 on all points (FWIW, it was always intended to apply across all AIMD
> congestion control scenarios).
>
> Joe
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm
>