Re: [Tsv-art] Tsvart last call review of draft-ietf-dprive-padding-policy-04

Alexander Mayrhofer <alex.mayrhofer.ietf@gmail.com> Fri, 13 April 2018 10:33 UTC

Return-Path: <alex.mayrhofer.ietf@gmail.com>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B93FE1242EA; Fri, 13 Apr 2018 03:33:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 GQC8GqYMxjbe; Fri, 13 Apr 2018 03:33:54 -0700 (PDT)
Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (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 DD5591200C5; Fri, 13 Apr 2018 03:33:53 -0700 (PDT)
Received: by mail-oi0-x233.google.com with SMTP id l190-v6so7929411oig.9; Fri, 13 Apr 2018 03:33:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HlMsEuym6SmUWTYnGLU2WtaCf+mOGqhogavtR6fBmqI=; b=WX5xZOvSyjNtat4VATza1g6OfBjQ54tlbgnj3x/ihT0caCfLkMp/rhwj8b0KRdQEHw J6jCek27WhLSd8mG4EB6hjadGB9fef2iww/sKp/40IjAAWwqQO7scxGo/1uCxwTLyGd+ kH7BS35lopsMOgBA1/PKW1cHxc0CbN1nPW5HZBybsrh16uaGetn3RU3prMuBVY/yWhDx DV6dEdnU6RYSqcpWXO/BKOJ5AiaxvZPKqrPUtN9EosOWHYvOb5FzKDmrIX0wjjSMM9PN jG/bL1ve3N1C5SfYthYVRGdwAAHODjW6UXZ0a4vJqDNZ+7la0amciIbJ0z0NVHZxdyTg 47WQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HlMsEuym6SmUWTYnGLU2WtaCf+mOGqhogavtR6fBmqI=; b=RvVIsbNmz3uFRts5HDX9GIDAePfbldfHdBJuOyYnxhqaQGyglRZlgJ9UK78VXW1P6H GyUQXY3xe8Cm2r1rQyvxXw/WK1/1zl/Z09zQdbkf9lnPYFJxJ82tTzKZFxolnxDdEPFi PHZlVqxeISNoswYHaQ5PWjNyVhWgz6G22IvOo08D1HdkZKwUcbBeL4GAOvH6jXKPaGlY epzLazsyjIKsFHavmhOuNKicHcY29xK4b6N4OkvVoqfijD4UXH+6SoK90CgWq00cG3bA /3iprqvDWHcwdkTMoZaSYRZrDJjKiUUWa/5iZ+7fUXSKsY+/WyoJQG2EmRMoabjRVtzB F5Zw==
X-Gm-Message-State: ALQs6tD6ZZgOj04VO3K6fnhBPMTIQJcLVsS9ZAPGa+7hbjIbY3Rcl3h/ PXQuYucYwQ4/DRWFL5geKD2WyavihMWLOWdy7S0=
X-Google-Smtp-Source: AIpwx4/PJmbYBT3QBfzOSxIof8Vmzi3Hq00BNvwQ41PgqnuCsziFx4EqSu9U1iH6bFRE9zdpY7uu6Ds6Ww9wT88P8Ls=
X-Received: by 2002:aca:4f46:: with SMTP id d67-v6mr7677981oib.138.1523615633323; Fri, 13 Apr 2018 03:33:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.74.155.70 with HTTP; Fri, 13 Apr 2018 03:33:52 -0700 (PDT)
In-Reply-To: <152283423399.24047.7890938303643675886@ietfa.amsl.com>
References: <152283423399.24047.7890938303643675886@ietfa.amsl.com>
From: Alexander Mayrhofer <alex.mayrhofer.ietf@gmail.com>
Date: Fri, 13 Apr 2018 12:33:52 +0200
Message-ID: <CAHXf=0qPREt9jvJgSMR9Cu7AePjPmsDa==xRZnPmKGDz1J4YpQ@mail.gmail.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
Cc: tsv-art@ietf.org, dns-privacy@ietf.org, ietf@ietf.org, draft-ietf-dprive-padding-policy.all@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/5zu2GPHTHxBGWnbW6M6F-bePjRc>
Subject: Re: [Tsv-art] Tsvart last call review of draft-ietf-dprive-padding-policy-04
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Apr 2018 10:33:56 -0000

Magnus,

thanks for your review. I'm drafting appropriate text for the document
considering the interaction between MTU and Block Sizes. When you sad
"a small fraction of the MTU" above, i suppose you mean "a large
fraction of the MTU", because my understanding would be that
fragmentation is much more likely to occur when Block Size is set to
(e.g.)  MTU / 2  (large fraction) compared to when it was set to
(e.g.) MTU / 10 (small fraction).

I'm therefore adding

- for Maximal Length Padding:

"Depending on the negotiated size, this
strategy will commonly exceed the MTU, and then result in a consistent
number of fragments reducing delivery probability
when datagram based transport (such as UDP) is used."

- for Block Length Padding:

"The Block Size will interact with the MTU size. Especially for length
values that are a large fraction of the MTU, unless the block length
is chosen so that a multiple just fits into the MTU, Block Length
Padding may cause unneccessary fragmentation for UDP based delivery.
Also, chosing a block length larger than the MTU of course forces to
always fragment".

best,
Alex

On Wed, Apr 4, 2018 at 11:30 AM, Magnus Westerlund
<magnus.westerlund@ericsson.com> wrote:
> Reviewer: Magnus Westerlund
> Review result: Ready with Issues
>
> I have reviewed this document as part of TSV-ART task to review documents with
> potential transport related issues.
>
> I note that the document in its final recommendation regarding block sizes do
> consider MTU for reasonable size choices. What I am missing in Section 4 is the
> discussion of MTU as impacting this. From my perspective, it appears reasonable
> to: In Section 4.1 consider if the Block Size will interact with the MTU.
> Especially for block sizes that are a small fraction of the MTU, unless the
> block is chosen so that a multiple just fits the MTU, the block padding may
> cause unnecessary fragmentation for UDP based delivery. Also chosing a block
> size larger than the MTU of course forces one to always fragment.
>
> In Section 4.2 I think depending on the negotiated size, the downside is that
> it will commonly result in a consistent number of fragments reducing delivery
> probability. I haven't digged into the negotiation part about maximum response
> size. But, I assume that this is not necessarily chose based on MTU
> constraints, but other limitations in the system.
>
> Note that these comments only applies for datagram based transport without its
> own fragmentation mechanism, e.g. UDP.
>
>