Re: [tcpm] New Version Notification for draft-you-tcpm-configuring-tcp-initial-window-00.txt

Runa Barik <runabk@ifi.uio.no> Thu, 23 October 2014 16:01 UTC

Return-Path: <runabk@ifi.uio.no>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7132D1ACD49 for <tcpm@ietfa.amsl.com>; Thu, 23 Oct 2014 09:01:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h2k80UlHWnsr for <tcpm@ietfa.amsl.com>; Thu, 23 Oct 2014 09:01:52 -0700 (PDT)
Received: from mail-out5.uio.no (mail-out5.uio.no [IPv6:2001:700:100:10::17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 825261ACD52 for <tcpm@ietf.org>; Thu, 23 Oct 2014 09:01:52 -0700 (PDT)
Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out5.uio.no with esmtp (Exim 4.80.1) (envelope-from <runabk@ifi.uio.no>) id 1XhKpi-0000M8-VL; Thu, 23 Oct 2014 18:01:50 +0200
Received: from mail-ex01.exprod.uio.no ([129.240.52.4]) by mail-mx1.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.80) (envelope-from <runabk@ifi.uio.no>) id 1XhKpc-0005C0-Uj; Thu, 23 Oct 2014 18:01:50 +0200
Received: from mail-ex12.exprod.uio.no (2001:700:100:120::74) by mail-ex01.exprod.uio.no (2001:700:100:52::4) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 23 Oct 2014 18:01:44 +0200
Received: from mail-ex12.exprod.uio.no ([fe80::bdf0:8ebc:dd9c:548b]) by mail-ex12.exprod.uio.no ([fe80::bdf0:8ebc:dd9c:548b%19]) with mapi id 15.00.0847.030; Thu, 23 Oct 2014 18:01:44 +0200
From: Runa Barik <runabk@ifi.uio.no>
To: Joe Touch <touch@isi.edu>
Thread-Topic: [tcpm] New Version Notification for draft-you-tcpm-configuring-tcp-initial-window-00.txt
Thread-Index: AQHP7Jrf4gSerTsMrUKXfcSC/EOqOpw6aJaAgAB6PQD//+tvgIAATT6AgACTPQCAAfSRAIAALhnR
Date: Thu, 23 Oct 2014 16:01:43 +0000
Message-ID: <c0380088cad641d892a05d3a5ed714db@mail-ex12.exprod.uio.no>
References: <F6C28B32DA084644BB6C8D0BD65B669D11BC91@nkgeml509-mbs.china.huawei.com> <CAPh34mc5TdHCP4_E7LwQt=3v2jJv0byrXqUquDnX50ObF9z_uw@mail.gmail.com> <D0A6C310-694C-4F28-AE8F-9D87628FAEA4@ifi.uio.no> <CAPh34mdOi3LHCHS0X-u1+9R5MWHcrZG-34npuggPXC4a76QmOQ@mail.gmail.com> <5446A7D4.5070607@ifi.uio.no> <20141021192331.GB4851@virgo.local> <5446F37F.7020007@isi.edu> <5c7b7a1f5b28bd321b30b660c9d3c8f6@ulrik.uio.no>,<544912EA.70404@isi.edu>
In-Reply-To: <544912EA.70404@isi.edu>
Accept-Language: en-US, nb-NO
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [129.240.169.51]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-UiO-SPF-Received:
X-UiO-Ratelimit-Test: rcpts/h 3 msgs/h 1 sum rcpts/h 9 sum msgs/h 2 total rcpts 148 max rcpts/h 17 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-6.1, required=5.0, autolearn=disabled, RP_MATCHES_RCVD=-1.051, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: AC04B564E61356D47245E2F228DF6825EEBB6B61
X-UiO-SPAM-Test: remote_host: 129.240.52.4 spam_score: -60 maxlevel 80 minaction 2 bait 0 mail/h: 4 total 353764 max/h 460 blacklist 0 greylist 0 ratelimit 0
Archived-At: http://mailarchive.ietf.org/arch/msg/tcpm/X46PRf3vzB_InlOHkCYqbbRmWU0
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, Michael Welzl <michawe@ifi.uio.no>
Subject: Re: [tcpm] New Version Notification for draft-you-tcpm-configuring-tcp-initial-window-00.txt
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 23 Oct 2014 16:01:55 -0000

Hi J. Touch,

Comments inline.
________________________________________
From: Joe Touch <touch@isi.edu>
Sent: Thursday, October 23, 2014 4:38 PM
To: Runa Barik
Cc: Hagen Paul Pfeifer; Michael Welzl; tcpm@ietf.org
Subject: Re: [tcpm] New Version Notification for draft-you-tcpm-configuring-tcp-initial-window-00.txt

On 10/22/2014 1:46 AM, runabk wrote:
> Hi all,
>
> On 2014-10-22 01:59, Joe Touch wrote:
...
>> - IW cannot be determined at the time of the connection per se
>> The only way to do so would be to send IW segments into the net and see
>> if they get there, which isn't so much a probe as just using that value
>> as the initial window anyway.
>>
>> I continue to believe that IW can be adapted over loooong periods of
>> time using information on past connections as network behavior evolves
>> as per draft-touch-tcpm-automatic-iw-03.txt, but more experience is
>> definitely needed.
>>
>
> In the draft ``draft-touch-tcpm-automatic-iw-03.txt", All the
> connections at a particular instance start with nearly same IW value
> --- a single constant window for all flows.

I had been assuming 2140-style grouping of information based on network
interface, destination IP address, destination subnet, etc.

> My point is, why not to take a look on flow characteristics. I played
> with a lot of simulations and experiments.
> In my simulations in ns2, I considered a combination of flow types based
> on sizes --- large flows from Pareto Distribution, and small flows from
> Exponential Distribution. And we observed, large flows having a small
> IW, and even randomly choosing a large IW for small flows gives better
> performance than all the flows with IW10;

Large flows are not as affected by IW effects because IW applies only
during transients that are presumably rare (startup, restart after idle,
etc.)

The problem with your observation is that it fails to consider the
"tragedy of the commons". Capacity is a common network resource, and
your increase of IW for short flows causes them to consume that resource
before feedback corrects it in ways that are not generally considered
"fair".

RB -

     I agree with the above  points. But consider the scenarios,
   (1) All flows start with say IW10; (2) The large flows start with
  IW as per rfc 3390, and small flows with IW10. Scenario (2) shows better
  performance than scenario (1) in various network conditions. In scenario (1),
  we observed large flows are affecting small flows more. However, in scenario (2), this negative
  effect on small flow is reduced . This motivates IW as a function. I agree with rfc 2140 
 that a past experience will help predicting a better value.

RB -

I.e., it's been known for a long time that making IW large helps short
flows and has no real impact on long flows. It's also been known that
this is not necessarily how we want the network to behave.

RB -
    Consider a grass field and animals: goat and cow. If same amount of grass will
   be given to both cow and goat, then cow will remain hungry later and goat will
  waste the grass. However, if cow and goat will get the amount they need, probably
  no wastage, and no hungriness. That is my point, different applications may need
  different values of IW for their best service requirements.

RB -


There's a balance between trying to complete a short flow quickly and
having flows that are basically non-responsive to network congestion. We
only recently increased IW to 10 based on the assumption that "a problem
we haven't seen doesn't exist".

...
> A constant IW may not be suitable.

If you have 2140 in place, you might have the information useful to set
an appropriate IW on a per-connection basis. However, setting that value
solely based on the length of the connection is (IMO) inappropriate.

Joe

Regards,
- Runa