Re: [tcpm] [EXTERNAL] Questions on HyStart++ draft 02

Junho Choi <junho.choi@gmail.com> Thu, 02 April 2020 07:55 UTC

Return-Path: <junho.choi@gmail.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 4E9643A0CFA for <tcpm@ietfa.amsl.com>; Thu, 2 Apr 2020 00:55:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 b_byVayM1wuh for <tcpm@ietfa.amsl.com>; Thu, 2 Apr 2020 00:55:46 -0700 (PDT)
Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F7953A0CF9 for <tcpm@ietf.org>; Thu, 2 Apr 2020 00:55:46 -0700 (PDT)
Received: by mail-vs1-xe2a.google.com with SMTP id w185so1687873vsw.10 for <tcpm@ietf.org>; Thu, 02 Apr 2020 00:55:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pkVL/5XVk1kFcmfSJAeSsXSsbBvutA5zgPfEWd08IwM=; b=WIXo6liRUIlAeg5QcZb6GgPJ27ijCFEyNU5of8Tm6zPyZteiUUxgfQeqrM2lmWpPLb FzCvkh1ADYnUD+CH9fXGmrMyyrfoLbN1CilH+5G3t/cAS6ecc9HSyhv0dsirdGrG5ES0 4dICdCgj4kfuIhIORP2AM9t3fG31tiOfX7933iuN1aFSAKPjNjYtL+r5Fjn2cVkbJeTk 9dKsSgN0YtWb8JmetL7ByL7ti9Fgj+3xWrrQFyudiDbl2dvhC4a7Ylbv2CclCkDeEbV2 KTjZ1OuuGTk2GIctxoUlIuA16Vk/bprQaCNz7GpHfaezcyITTTcKnVZJ+CBuU7/P/IKX 71Dg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pkVL/5XVk1kFcmfSJAeSsXSsbBvutA5zgPfEWd08IwM=; b=rxpmalufmOjWVPPxj55ZyNE4hwadAn4k3YN6jWVj4NgGl2RH5422pswVFlQVrLUHDG 4nMJO451uzHTc2N9nrmFt+HeR1jY4T3U0cIWtCAfetdVyaSl+oKnlobD+N57OPNSZ5DR ATxhGk+Bmnfm14o5kurCykW7NilQbtChvnc+/MCVZJUhLfRETgMmpRkD9p41es9bZvjj +ADWszUwCj9J1s+4lx41ilN3F16qu/2ClHzjEGee2HyiJhVahTu/gK5aq1tqCI2BWcKg EqAi+VB9fX1VUPPsDQgniWl7ltB+cz3KYKjUjUR6l0XvctR+1I05jhmlBx+u0nnyvPtU FDPA==
X-Gm-Message-State: AGi0PuYr1KYuE1ZStlbD6rzgNylSWV1iuK/PjJ/0WQD5G1aLXddpq4wd p3K5HAcdQMfXNntgVjKfTTIE7CikbH3BfTbzmsYA9vHv+rYAig==
X-Google-Smtp-Source: APiQypKzZ6xTuNUU9oonLci4EvzYBYfsLNH8lV2EVK5S7bY1SZPpiVDcCzdA8+3cAN+hQqM9uqGysVPGfo3ssTCLIi0=
X-Received: by 2002:a67:5e85:: with SMTP id s127mr1355370vsb.204.1585814145219; Thu, 02 Apr 2020 00:55:45 -0700 (PDT)
MIME-Version: 1.0
References: <CAJ5e+HAtU=-Dy+rEtQ2cLDCj72nzpMymn7DDxc2+fuXr2cWzPw@mail.gmail.com> <SN2PR00MB00778599FB58D63C89C88BCCC3C60@SN2PR00MB0077.namprd00.prod.outlook.com>
In-Reply-To: <SN2PR00MB00778599FB58D63C89C88BCCC3C60@SN2PR00MB0077.namprd00.prod.outlook.com>
From: Junho Choi <junho.choi@gmail.com>
Date: Thu, 02 Apr 2020 00:55:08 -0700
Message-ID: <CAJ5e+HBjsF6fTXSRABGsbNxUf-MhaErC6yQauN2N2urgNTay5Q@mail.gmail.com>
To: Yi Huang <huanyi@microsoft.com>
Cc: Praveen Balasubramanian <pravb@microsoft.com>, "tcpm@ietf.org" <tcpm@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ce443a05a24a206a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/1LoBaNkHnvYnYSDkAQvLWGKqYKI>
Subject: Re: [tcpm] [EXTERNAL] Questions on HyStart++ draft 02
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
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, 02 Apr 2020 07:55:49 -0000

Hi Yi,

Thanks. See inline for my following question.

On Wed, Apr 1, 2020 at 5:04 PM Yi Huang <huanyi@microsoft.com> wrote:

> 1. Section 4.2 -- each round is initialized as
>
>
>
>    lastRoundMinRTT = currentRoundMinRTT
>
>    currentRoundMinRTT = infinity
>
>    rttSampleCount = 0
>
>
>
> In the very beginning of the connection, what is "currentRoundMinRTT" when
>
> there is no previous value?
>
>
>
> I am using current rtt (or initial rtt value) and is it ok?
>
>
>
> [Yi]: In our implementation, lastRoundMinRTT and currentRoundMinRTT are
> initialized to 0xffffffff as sentinel values. We only compare
> lastRoundMinRTT with currentRoundMinRTT when both of them are valid values.
> Using currRTT seems to essentially behave the same as assigning a sentinel
> value.
>

So in the beginning of the connection lastRoundMinRTT is <inf>. When ack is
received currentRoundMinRTT = min_rtt but
lastRoundMinRTT is still <inf>. When the 1st round ends, it looks always
doing nothing because the following if() is always false?

  if (currentRoundMinRTT >= (lastRoundMinRTT + RttThresh))



>
>
> 2. Section 4.2 -- When used with cubic, CA_cwnd() is based on cubic
> algorithm I think.
>
>  This means I need to do cubic variables calculation during slow start
>
>  such as K and W_cubic. When is considered as a start of
>
>  congestion avoidance and what W_max will be?
>
>
>
>  Currently I use a start of limited slow start as a beginning of
> congestion recovery
>
>  and use cwnd at the time for W_max. Is my understanding correct?
>
>
>
> [Yi]: Yes, that’s exactly what we do in Windows.
>

Sound great. Thanks.

Best,

-- 
Junho Choi <junho dot choi at gmail.com>