Re: [tcpm] increasing max window size of TCP

Yoshifumi Nishida <nishida@sfc.wide.ad.jp> Sat, 14 March 2015 18:25 UTC

Return-Path: <nishida@sfc.wide.ad.jp>
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 D08201A00EF for <tcpm@ietfa.amsl.com>; Sat, 14 Mar 2015 11:25:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.821
X-Spam-Level: *
X-Spam-Status: No, score=1.821 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, HTML_MESSAGE=0.001, J_CHICKENPOX_48=0.6, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 QvfP6jgkiO9S for <tcpm@ietfa.amsl.com>; Sat, 14 Mar 2015 11:25:53 -0700 (PDT)
Received: from mail.sfc.wide.ad.jp (shonan.sfc.wide.ad.jp [IPv6:2001:200:0:8803::53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D27AC1A00C8 for <tcpm@ietf.org>; Sat, 14 Mar 2015 11:25:52 -0700 (PDT)
Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id ABD39278102 for <tcpm@ietf.org>; Sun, 15 Mar 2015 03:25:50 +0900 (JST)
Received: by wgdm6 with SMTP id m6so10800845wgd.2 for <tcpm@ietf.org>; Sat, 14 Mar 2015 11:25:48 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.208.107 with SMTP id md11mr65382379wic.10.1426357548557; Sat, 14 Mar 2015 11:25:48 -0700 (PDT)
Received: by 10.194.41.167 with HTTP; Sat, 14 Mar 2015 11:25:48 -0700 (PDT)
In-Reply-To: <00686111035e4aaab2dacd7162e48a2d@hioexcmbx05-prd.hq.netapp.com>
References: <CAO249ydda7ZZV8FZ+9HT0HsCev1xnXiiqxJArzQNaMK-d8amHw@mail.gmail.com> <00686111035e4aaab2dacd7162e48a2d@hioexcmbx05-prd.hq.netapp.com>
Date: Sat, 14 Mar 2015 11:25:48 -0700
Message-ID: <CAO249yfW2Rpf4VtJA6jH9tAb793NrUS3_5EciyGwRgg09BdSwA@mail.gmail.com>
From: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
To: "Scheffenegger, Richard" <rs@netapp.com>
Content-Type: multipart/alternative; boundary="001a11c3898e012e80051143bf6c"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tcpm/nTRPLXxxq90DDV-0Q0UFLNBESGY>
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, "panda@wide.ad.jp" <panda@wide.ad.jp>
Subject: Re: [tcpm] increasing max window size of TCP
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: Sat, 14 Mar 2015 18:25:56 -0000

Hi Richard,

On Fri, Mar 13, 2015 at 3:16 AM, Scheffenegger, Richard <rs@netapp.com>
wrote:

>  Hi Yoshi,
>
>
>
> multiple times
>
> s/archive/achieve/
>

Ugh.. Thanks for pointing this out. We'll fix them.

>
>
> One comment: A receiver that sees WS > 14 is expected to clamp WS at 14;
> (see the paragraph in RFC7323 right after the one that you quoted).
>
>
>
> So, if you signal to a regular RFC7323 receiver a WS of 15, if will behave
> as if WS 14 was sent, limiting its maximum sending windowsize, right? No
> harm done except that session getting less bandwidth.
>

Right.
But, I personally would like to not discuss clamping cases in the draft if
possible. We would like to avoid this situation rather than allowing it.

>
>
> A receiver also implementing your proposal could, however, make use of the
> nearly twice as large windowsize. Monitoring of the evolution of the
> receive window signaled vs. data transmitted could allow a sender to
> determine passively, if the receiver actually supports the larger
> windowscale option. But I’m not sure if this is really necessary… (the
> signaled window would shrink half as fast for unprocessed data in the
> receive buffer, compared to WS14; however, the step change in the window
> would only happen when there are 16 kB (or 32kB-1) bytes of data
> unprocessed.
>

Yes. I'm not very sure if this is necessary, either. (as I would like to
avoid this)
But, I think it is possible.


>
> But the sender must stop sending when the receive window is signaled to be
> zero (except for retransmissions) either way.
>
>
>
> Also, I guess you want to clamp every other received value than 15 down to
> 14 still… Not that you start scaling by (2^255 – 1).
>
>
>
> Since you are effectively doing a special case handling with WS==15, you
> may want to describe the necessary operations to an implementer alike
> section 2.3 of RFC7323, that is, instead of only a simple left shift by 15
> bits(multiply by 2^15), you need to multiply by (2^15-1) if I understand
> your proposal correctly. (Or course, a multiplication by 2^15-1 is a left
> shift by 15, followed by a subtraction of the original value; perhaps gcc
> even optimizes this multiplication nowadays J )
>

Hmm. I've checked 7323, but I couldn't find this formula. I think I missed
something. Could you point it out?


> BTW, I think the formula you give in the last sentence of sec  1 is off;
> the signaled window spans 2^16, but the maximum value of the window
> signaled is 2^16-1; times (2^15-1) gives a maximum window of 2147385345
>

>
> I don’t think an additional option is necessary for this change, and
> provided I understood your intention and calculations correctly (as
> described above), I would support this going forward as experimental.
>

Great! Thank for the feedback!

Regards,
--
Yoshi

>
>
>
>
>
> *From:* tcpm [mailto:tcpm-bounces@ietf.org] *On Behalf Of *Yoshifumi
> Nishida
> *Sent:* Mittwoch, 11. März 2015 07:35
> *To:* tcpm@ietf.org
> *Cc:* panda@wide.ad.jp
> *Subject:* [tcpm] increasing max window size of TCP
>
>
>
> Hi,
>
>
>
> We have submitted a short draft which proposes to increase max window size
> of TCP.
>
> If you're interested, please take a look at the following info.
>
> Some may say this is a minor thing, but we still believe we need to
> consider this for future extensions of TCP.
>
>
>
> We will appreciate your feedback!
>
> --
>
> Yoshi & Hiro
>
>
>
>
>
>
>
> -------------------------------------------------------------------------
>
> From: <internet-drafts@ietf.org>
> Date: Mon, Mar 9, 2015 at 1:09 PM
> Subject: I-D Action: draft-nishida-tcpm-maxwin-00.txt
> To: i-d-announce@ietf.org
>
>
>
> A New Internet-Draft is available from the on-line Internet-Drafts
> directories.
>
>
>         Title           : Increasing Maximum Window Size of TCP
>         Authors         : Yoshifumi Nishida
>                           Hirochika Asai
>         Filename        : draft-nishida-tcpm-maxwin-00.txt
>         Pages           : 6
>         Date            : 2015-03-09
>
> Abstract:
>    This document proposes to increase the current max window size
>    allowed in TCP.  It describes the current logic that limits the max
>    window size and provides a rationale to relax the limitation as well
>    as the negotiation mechanism to enable this feature safely.
>
>
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-nishida-tcpm-maxwin/
>
> There's also a htmlized version available at:
> http://tools.ietf.org/html/draft-nishida-tcpm-maxwin-00
>
>
> Please note that it may take a couple of minutes from the time of
> submission
> until the htmlized version and diff are available at tools.ietf.org.
>
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft
> <https://www.ietf.org/mailman/listinfo/i-d-announceInternet-Draft>
> directories: http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>
>
>