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

Junho Choi <junho.choi@gmail.com> Wed, 08 April 2020 00:33 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 162F13A0FC5 for <tcpm@ietfa.amsl.com>; Tue, 7 Apr 2020 17:33:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, URIBL_BLOCKED=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 h2erfBcG1UAE for <tcpm@ietfa.amsl.com>; Tue, 7 Apr 2020 17:32:58 -0700 (PDT)
Received: from mail-vk1-xa2a.google.com (mail-vk1-xa2a.google.com [IPv6:2607:f8b0:4864:20::a2a]) (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 682543A0E90 for <tcpm@ietf.org>; Tue, 7 Apr 2020 17:32:58 -0700 (PDT)
Received: by mail-vk1-xa2a.google.com with SMTP id p123so1433983vkg.1 for <tcpm@ietf.org>; Tue, 07 Apr 2020 17:32:58 -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=bu6jG+wjOUlAQdPMFsIa/+TLrJ/havRomyBCa7gJLeY=; b=tB9JRuK6RHZdXbqW2rUwmgFsccJGGGy/i3PdmXf1BC3/MHfilt1mzF7AUBPkH88Wac Kuo8k1vinWpy1dvQbQ+4DbmAiB7kMNAHoN4jK360oAw7QwoL75bCIeFI69hwOJwYMuU0 bKUX5C69mMBbDVfk24TPXERqx1leDh/mgCayyVLKwXb7efY2eRnPGfNymhJxko4IrK5E friIbJtN2F+U9AEMktkIhRozZz2No5kRtcd0F8eE3rqHLkxoi0kcd6yltroVgT1gfndM 9Bq/PkOJwVXALkdXrQJqf6T4fnZCcFlXZM9AYr1q6BU/4TUKoG2Xw0hjJ91qfJDdE4Wi tXIg==
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=bu6jG+wjOUlAQdPMFsIa/+TLrJ/havRomyBCa7gJLeY=; b=OdGOebqJ+MuyHALARo0Yg3XavJTzqAUS8y7Q5VX3UNe9xESgfYwcS8qCOaNVO9JzUO +lS8Iah8lAc78478UKkRlO1CENepBrSnLwbaN6oSamWwTf/rUAz/MR/vBwrG1hMUlnsO rZythYUhrJRJMZq0B0EkxPs2tkCUuc+PlHqZc8GAP/hecv4dF7CFtmvN3dzcSDcOQlCn 2ZB97Nme9lAKDs10Ne5jhfdds3Hg/rf9kRX35tF1NKE/76mEbPFVChQh0fpLAPi6jxRr Gcn9rw9M7hwle7GT3EMzPPdb3hkYLAS8O2hGjebXqwnglh7zqCd2qhzDP7M7u37yQj4g mWjg==
X-Gm-Message-State: AGi0PubgsuwNdOS1gI497JzT2CImRCWQHByRxX/oz3GvS6NjYFykis2V 9dZlJi436bX6bZn17lkzGeatVeRTTux1ERK7Gu8=
X-Google-Smtp-Source: APiQypLkBJ7AdloLgUyS8VhRIailhDxDCa4OiRJmt1+gHshpb8N2/oHg0CMf3YfZQi5b9IpuRFMv/Mg+sOveeonWFiA=
X-Received: by 2002:a1f:7dc1:: with SMTP id y184mr3652380vkc.21.1586305977019; Tue, 07 Apr 2020 17:32:57 -0700 (PDT)
MIME-Version: 1.0
References: <CAJ5e+HAtU=-Dy+rEtQ2cLDCj72nzpMymn7DDxc2+fuXr2cWzPw@mail.gmail.com> <SN2PR00MB00778599FB58D63C89C88BCCC3C60@SN2PR00MB0077.namprd00.prod.outlook.com> <CAJ5e+HBjsF6fTXSRABGsbNxUf-MhaErC6yQauN2N2urgNTay5Q@mail.gmail.com> <CY1PR00MB007307864A3675BE240369BDC3C00@CY1PR00MB0073.namprd00.prod.outlook.com>
In-Reply-To: <CY1PR00MB007307864A3675BE240369BDC3C00@CY1PR00MB0073.namprd00.prod.outlook.com>
From: Junho Choi <junho.choi@gmail.com>
Date: Tue, 07 Apr 2020 17:32:19 -0700
Message-ID: <CAJ5e+HC0CZX2KL7dKgnOOFb78aZH8r_Kmjnp2ESn0dHOzujHXg@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="00000000000043efd005a2bca42a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/n1txp_VMGHEcTRzgVL0t9-s633I>
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: Wed, 08 Apr 2020 00:33:00 -0000

Ok, thanks for clarifying!

On Tue, Apr 7, 2020 at 5:24 PM Yi Huang <huanyi@microsoft.com> wrote:

> Yeah, it does nothing for the first round.
>
>
>
> *From:* Junho Choi <junho.choi@gmail.com>
> *Sent:* Thursday, April 2, 2020 12:55 AM
> *To:* Yi Huang <huanyi@microsoft.com>
> *Cc:* Praveen Balasubramanian <pravb@microsoft.com>; tcpm@ietf.org
> *Subject:* Re: [EXTERNAL] Questions on HyStart++ draft 02
>
>
>
> 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
> <https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgmail.com%2F&data=02%7C01%7Chuanyi%40microsoft.com%7C5ed42de0b38e497d502a08d7d6db4055%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637214109469856737&sdata=%2FA2fvoRO0452I5P2CnWRyoDOhO38wHDyOAF6n58UDLY%3D&reserved=0>
> >
>


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