Re: [tcpm] (ref. RFC 7323) Increase of shift count from 14 to 15.

Yoshifumi Nishida <nishida@sfc.wide.ad.jp> Thu, 25 August 2016 19:01 UTC

Return-Path: <nishida@sfc.wide.ad.jp>
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 1CB2B12D61A for <tcpm@ietfa.amsl.com>; Thu, 25 Aug 2016 12:01:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.448
X-Spam-Level:
X-Spam-Status: No, score=-2.448 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.548, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 HQKNF2P-kwZA for <tcpm@ietfa.amsl.com>; Thu, 25 Aug 2016 12:01:33 -0700 (PDT)
Received: from mail.sfc.wide.ad.jp (shonan.sfc.wide.ad.jp [203.178.142.130]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B398712D5F9 for <tcpm@ietf.org>; Thu, 25 Aug 2016 12:01:08 -0700 (PDT)
Received: from mail-ua0-f170.google.com (mail-ua0-f170.google.com [209.85.217.170]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id 6020F27829D for <tcpm@ietf.org>; Fri, 26 Aug 2016 04:01:06 +0900 (JST)
Received: by mail-ua0-f170.google.com with SMTP id m60so59934525uam.3 for <tcpm@ietf.org>; Thu, 25 Aug 2016 12:01:06 -0700 (PDT)
X-Gm-Message-State: AE9vXwPedhgwPmoBiTG21wm3trq3TZB76J7Ybw7xvbVHnVdeJNwx8Cx1fmLmqNNbSHkfRMoNlfwyDsn9nW3ybQ==
X-Received: by 10.176.3.199 with SMTP id 65mr6107400uau.21.1472151664730; Thu, 25 Aug 2016 12:01:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.159.37.1 with HTTP; Thu, 25 Aug 2016 12:01:04 -0700 (PDT)
In-Reply-To: <CA+EURmrJdrCf0QdnOrgVwkwHgkDkk7Q4Qdm6_xnQ1RjvA4ryag@mail.gmail.com>
References: <CA+EURmrJdrCf0QdnOrgVwkwHgkDkk7Q4Qdm6_xnQ1RjvA4ryag@mail.gmail.com>
From: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
Date: Thu, 25 Aug 2016 12:01:04 -0700
X-Gmail-Original-Message-ID: <CAO249yfGEdZ_XJwJQ_DrB=5yQrVUY30nHX5DM3WEu7aNg6mM3A@mail.gmail.com>
Message-ID: <CAO249yfGEdZ_XJwJQ_DrB=5yQrVUY30nHX5DM3WEu7aNg6mM3A@mail.gmail.com>
To: Sanjeev Ranot <sanjeev.ranot.81@gmail.com>
Content-Type: multipart/alternative; boundary="94eb2c0568b00841f3053aea0559"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/lmjo3Jwm3Z6qv_IHvdWIpb_8DB8>
Cc: "tcpm@ietf.org" <tcpm@ietf.org>
Subject: Re: [tcpm] (ref. RFC 7323) Increase of shift count from 14 to 15.
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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, 25 Aug 2016 19:01:37 -0000

Hello Sanjeev,

I wrote a draft about it before.
I am still working on it as I need to do some studies a bit more, but I
think it's probably ok to use 15 as a shift count.
A question would be how to migrate it even if using 15 is possible.
Or, we can publish this draft as reference information as we've seen this
question from time to time.

https://tools.ietf.org/html/draft-nishida-tcpm-maxwin-00

Thanks,
--
Yoshi

On Thu, Aug 25, 2016 at 1:29 AM, Sanjeev Ranot <sanjeev.ranot.81@gmail.com>
wrote:

> Hi,
>
> please can the team explain why we don't use 15 as a shift count instead
> of 14 as mentioned in RFC 7323. Is it because of machines not supporting
> unsigned storage or is it more than sufficient guard for denying old or
> unwanted segment retransmissions from the previous window.
>
> My understanding:
> We know that 2^32 sequence counter (sequence counter is the the sequence
> field in TCP header) has valid sequence numbers from 0 to 4294967295. To
> determine if a data segment is "old" or "new" it sets the window size to
> floor((2^32-1 )/2) +1 since sender's and receiver's window can be out of
> phase by at-most 1 window.
> 1st part has valid range of sequence numbers from = 0 to 2147483647 and
> since its contained inside size of of 2^32 therefore we get another valid
> range of sequence numbers from 2147483648 to 4294967295. So if the sender
> has sent all its packets within the window from 0 to 2147483647 and
> receiver
> has accepted all the packets and sent cumulative acks as well for all of
> these then it advances RCV.NXT to start of next maximum available range
> of sequence numbers.
> Upon receiving all cumulative acks the sender also advance to next set of
> available sequence numbers. Otherwise, if considering the scenario when
> spurious retransmission occurs or another scenario where all cumulative
> acks
> are lost and retransmission timeout or another scenario when cumulative ack
> carrying widow update information is lost, then in such cases the sender
> will retransmit segment with sequence number that will fail receiver's
> segment acceptability test.
>
> If there is a reason behind this then please cite in response. Also please
> tell if such change is valid then do we need to report it as correction or
> as a
> change for RFC 7323.
>
> Thanks & Regards,
> Sanjeev Ranot
>
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm
>
>