Re: kMaxDatagramSize

Ian Swett <ianswett@google.com> Mon, 16 September 2019 21:01 UTC

Return-Path: <ianswett@google.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D6A0F120041 for <quic@ietfa.amsl.com>; Mon, 16 Sep 2019 14:01:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 6qhj-uYjtW0K for <quic@ietfa.amsl.com>; Mon, 16 Sep 2019 14:01:18 -0700 (PDT)
Received: from mail-vs1-xe34.google.com (mail-vs1-xe34.google.com [IPv6:2607:f8b0:4864:20::e34]) (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 068F11200DB for <quic@ietf.org>; Mon, 16 Sep 2019 14:01:18 -0700 (PDT)
Received: by mail-vs1-xe34.google.com with SMTP id b11so631314vsq.2 for <quic@ietf.org>; Mon, 16 Sep 2019 14:01:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x7K3Gt3jbsPBw0e1sfmfSLgZOqHKKz7XntVw0xYYYCg=; b=itlyVIqJyFAlstA/cxuRypc+Ux08Poedh8bliQN9f0l39wEwb8YtbMjqPOYkDkBhxx qqYBdlD2617JAVWSfcDbB8BDFk2t+LFf8XXwWZbRuMpe47NYVf3BlHjgVEAAvDV5Zemv iGJu+oB2zHht8Ru81iDJB4bCmPVpb8+hLwQA95e1BPg/FB+EDV6yldN42ZOY3lBYuLod RMfOQX8odwx95per937yEL87hohjxYlfjGVP5CEPiBpre/ie6i7b7nOiBW1QmJjUUJtD W0HmPdOLdhFLwT/i/30hI+xz5ROGTBdjfNzVxTQVY9/86eoZq6weiYRUMHjHnFQrbxw8 kvvw==
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=x7K3Gt3jbsPBw0e1sfmfSLgZOqHKKz7XntVw0xYYYCg=; b=gQboWvT5u8And7iKLyHPqrftp5JAjsAZxp9nzM0GUNeRCkXpjzVWpwX/WvvEg8Uwkx bVoCPNnSiQPhCszd54+D73I414rRNiiublHhmQQllcZq261JH/IMzb7NPSePcGW5AO9d R/9C7ab3WaEdg6PFG0cPho4nzxLhH8qd1KblakQpZ+lQPnOKH1Jx3vfuE3b4Dukt7IeJ Ku+SOTnmL358MTzcleF+aVqBcYPiCWsWWn54GM0MXqe2EFRgUuc6/UtZ7kdFo2aczHGH bZaay33Vr8a8jzabhEdgMA1gSSMAeW08ZNjckHcBkxRvsXk+6U+hEqkiAxNcpH31wmUe W2wQ==
X-Gm-Message-State: APjAAAXPam3XrnvBxGFKHhf1DVQts8wT32jqka8rg9oD+dQl2dn7faHk HVKmM/l3W7SbcG3czDFn+Nxk2YDiB0zcyJ2RLUw9BA9IFrU=
X-Google-Smtp-Source: APXvYqx4CznOiDDdaSUopra6OnAk7qw4rxL5NErYvctt9o6/vlRZxWHYgKcLGrAYu1zyUabVEZnM8sHMR2Jv4pbDnX0=
X-Received: by 2002:a67:c991:: with SMTP id y17mr1033445vsk.85.1568667676849; Mon, 16 Sep 2019 14:01:16 -0700 (PDT)
MIME-Version: 1.0
References: <08A80917-B4B7-49B2-8695-790AFFC6866C@fh-muenster.de>
In-Reply-To: <08A80917-B4B7-49B2-8695-790AFFC6866C@fh-muenster.de>
From: Ian Swett <ianswett@google.com>
Date: Mon, 16 Sep 2019 17:01:05 -0400
Message-ID: <CAKcm_gPqhPdyHeg9S38yU4sZo9AeqXppVbryDMCUWDcBFECUmA@mail.gmail.com>
Subject: Re: kMaxDatagramSize
To: Timo Völker <timo.voelker@fh-muenster.de>
Cc: "quic@ietf.org" <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a69caf0592b1e70a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/rDnnpZIfAorjS5FLa6EOKu5VPgk>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Sep 2019 21:01:20 -0000

In recovery, kMaxDatagramSize is used for initial congestion window,
initial congestion windows, and the growth rate of Reno.

As you state above, it's expected most connections will have a value larger
than 1200.  Possibly a recommendation of >= 1200 bytes would make more
sense?

On Mon, Sep 16, 2019 at 2:10 AM Timo Völker <timo.voelker@fh-muenster.de>
wrote:

> Hi,
>
> I wonder why kMaxDatagramSize is a constant and why the recommended value
> is 1200 (section B.1. of the recovery draft).
>
> The transport draft mentions PMTUD, which makes the QUIC maximum packet
> size variable.
> Also it mentions that, in absence of a PMTUD, we can assume a QUIC maximum
> packet size of 1232 or 1252 for IPv6 or IPv4, respectively. Why is 1200
> bytes recommended then?
>
> My assumption is that kMaxDatagramSize = QUIC maximum packet size. Is this
> just wrong? Is it OK to use a kMaxDatagramSize with kMaxDatagramSize <=
> QUIC maximum packet size?
>
> Thanks,
>
> Timo