Re: [quicwg/base-drafts] Byte counting at Congestion avoidance (#3917)

Junho Choi <notifications@github.com> Sat, 29 August 2020 00:36 UTC

Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 773663A0E98 for <quic-issues@ietfa.amsl.com>; Fri, 28 Aug 2020 17:36:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.099
X-Spam-Level:
X-Spam-Status: No, score=-3.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-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 (1024-bit key) header.d=github.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 rtHfLeDL7Kt3 for <quic-issues@ietfa.amsl.com>; Fri, 28 Aug 2020 17:36:30 -0700 (PDT)
Received: from out-24.smtp.github.com (out-24.smtp.github.com [192.30.252.207]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1FCEE3A0E97 for <quic-issues@ietf.org>; Fri, 28 Aug 2020 17:36:30 -0700 (PDT)
Received: from github-lowworker-b2150d3.ash1-iad.github.net (github-lowworker-b2150d3.ash1-iad.github.net [10.56.113.12]) by smtp.github.com (Postfix) with ESMTP id D238B60059F for <quic-issues@ietf.org>; Fri, 28 Aug 2020 17:36:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1598661388; bh=vJ4I+g0dasderTHdaH9sVcT7P0S7lFpGSy1rvwsLhlk=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=I7pPjmnesPde3zKpML875Wg38Srt1C5XkNFDFjaI6lAJBLUX+6tVARearzaAjPcG/ 9DcVCDvldfVtJxrn/wpvhIo3HT0wBowsBqTAg5Eujr9etAebA1QZW9HK0rvRl/5wmY LNkVZVW2eASB9o3yYBiHs31V+gFqjc/i9wWiA+h8=
Date: Fri, 28 Aug 2020 17:36:28 -0700
From: Junho Choi <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJK3UCAV3XDL4ZRSAZ6N5KWCAZEVBNHHCOPRYC4@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/3917/review/478081848@github.com>
In-Reply-To: <quicwg/base-drafts/pull/3917@github.com>
References: <quicwg/base-drafts/pull/3917@github.com>
Subject: Re: [quicwg/base-drafts] Byte counting at Congestion avoidance (#3917)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5f49a30cc13fa_1a0f196419539d"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: junhochoi
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/8qgXU5zcbJlLpObvDBLnKOV2joE>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Aug 2020 00:36:31 -0000

@junhochoi commented on this pull request.



> +      bytes_acked += acked_packet.sent_bytes
+      if (bytes_acked >= congestion_window):
+        bytes_acked -= congestion_window
+        congestion_window += max_datagram_size

I implemented ABC for cubic in quiche https://github.com/cloudflare/quiche/pull/624 and did some evaluation:
Measured using quiche apps (quiche-server and quiche-client) in 5mbps/60ms rtt/0% loss. Also last highlighted row is when I changed MAX_DATAGRAM_SIZE to 1350 to match with what quiche apps use (quiche has MAX_DATAGRAM_SIZE constant). 

![Screen Shot 2020-08-28 at 5 21 49 PM](https://user-images.githubusercontent.com/1229714/91624295-43120300-e954-11ea-8559-9028131dbfdb.png)

You can see it can save some amount of sent packets (3.8% for cubic, 6.7% for reno, 9.3% for cubic and 1350 mss aligned) with slightly faster download time.

I think it's up to editors for deciding to merge this PR not, but I believe it's good for implementers to start with less issue.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/pull/3917#discussion_r479584623