Re: [quicwg/base-drafts] First pass at 7, 14, and 30-bit varint packet numbers (#1334)

MikkelFJ <notifications@github.com> Mon, 07 May 2018 06:05 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.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 400821270A7 for <quic-issues@ietfa.amsl.com>; Sun, 6 May 2018 23:05:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.01
X-Spam-Level:
X-Spam-Status: No, score=-3.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] 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 xrvsCxgPT9fs for <quic-issues@ietfa.amsl.com>; Sun, 6 May 2018 23:05:43 -0700 (PDT)
Received: from o8.sgmail.github.com (o8.sgmail.github.com [167.89.101.199]) (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 2C321124207 for <quic-issues@ietf.org>; Sun, 6 May 2018 23:05:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=yChR4sKQFLmp1/KXnKtSilJJj8M=; b=pydwcZO1gRCe2Nil IZgTE28reWoC9jsZGTt+66c8IRVwXyUxkGAfnnR3KYHgCzNfm8pMuhT0P64FbOFx I3A3XfhHVUcF18+MDvYEJYD+E+z4ztKZi3iVoUBADzDvnoioO7q/s+WaylAU5fsF 4UB4uNcUyxlFakig+m7pzYsP5IA=
Received: by filter0282p1iad2.sendgrid.net with SMTP id filter0282p1iad2-18427-5AEFECB6-3 2018-05-07 06:05:42.311813225 +0000 UTC
Received: from github-lowworker10-cp1-prd.iad.github.net (unknown [192.30.252.38]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id _reiA9tmS_2fcjUGSg5zoA for <quic-issues@ietf.org>; Mon, 07 May 2018 06:05:42.159 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker10-cp1-prd.iad.github.net (Postfix) with ESMTP id 25F7741006 for <quic-issues@ietf.org>; Sun, 6 May 2018 23:05:42 -0700 (PDT)
Date: Mon, 07 May 2018 06:05:42 +0000
From: MikkelFJ <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abb5ed6abfb7986a359481e81f74fcb35b3551c9f892cf000000011707aeb692a169ce13113a51@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1334/c386966047@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1334@github.com>
References: <quicwg/base-drafts/pull/1334@github.com>
Subject: Re: [quicwg/base-drafts] First pass at 7, 14, and 30-bit varint packet numbers (#1334)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5aefecb6249ec_58273ff6f329cf7810798"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: mikkelfj
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
categories: subscribed
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak3XBcQopXWkSxESgQ6S73z5FLYAFGCIAYHFCF gpf26yxhdZFKTNG1tq3cPN6oazbEcb02pNPLquEjzyvalN2cYguIfdK0A1HSwKGlRmFUD7Txl7tJhQ Axgksq7pQMADEwBhV/Z0mAWskYHujugzClWJv8LPHXayJWwKHizuSUh5fA==
X-SG-ID: A4fhEY3diXC81rW45KdZlyZUeIsAZbh4s7lWAZfiJNE=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/cprN3mtjU3U28NvjYqln48FyvnA>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 07 May 2018 06:05:45 -0000

I'm just wondering if 30 bits is sufficient? It effectively only allows for 2^29 packets outstanding which are half a million. Som NIC's push 40 mpps although probably only sustainable at low RTT.

At the other end, I'm guessing that 3 byte packet numbers are going to be the most needed packet number range: 2^22 / 2 * 1500 / sec = 3MB/s or 30Mbps which is a likely limit on domestic streaming video these days.

For these reasons, perhaps a modulo 128 schema where bit 7 of each byte, except the last is set. It would also future proof the design at much higher transmission rates and possibly above 2^62 packet number limit.

I do dislike this modulo 128 design and it goes against other varint encodings, but there are the arguments above.

-- 
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/1334#issuecomment-386966047