Re: [tsvwg] Remarking of LE (draft-ietf-tsvwg-le-phb-02)

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 13 July 2017 01:29 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77028129A96 for <tsvwg@ietfa.amsl.com>; Wed, 12 Jul 2017 18:29:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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_NONE=-0.0001, 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 bioLXLyASziZ for <tsvwg@ietfa.amsl.com>; Wed, 12 Jul 2017 18:29:33 -0700 (PDT)
Received: from mail-pf0-x22e.google.com (mail-pf0-x22e.google.com [IPv6:2607:f8b0:400e:c00::22e]) (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 97ED0120726 for <tsvwg@ietf.org>; Wed, 12 Jul 2017 18:29:33 -0700 (PDT)
Received: by mail-pf0-x22e.google.com with SMTP id c73so21216232pfk.2 for <tsvwg@ietf.org>; Wed, 12 Jul 2017 18:29:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=RhlBdGu831zzGOZw0VmBBSUhL/MwPvvLh2gDfjIr0mk=; b=Uz4x9v6UeL5Rb9bYPQWERUGQJMm24fZuaCX6iBof69QaMp4vcWDRDO9J/YaNqUqqb2 LgL+8vLg58vp6v9O9MEaGVs0LS+NW560g7PUzXNgJ5i7z9Y6rcs9oH6RSBVbnLZU4wJD vKvMPrBWlx97nuRLczecmsJguOeKMeEx02YjpHe8hjKkUTlajzNhMTDtfBOzHnzecEi6 daq1IQJaEqou5/4poRqNGDfPMW7AeneGkLR55yKxkIIK1BuaWjWoIYHRryijXKMRT7Vq 9ioCnMKYx+wl0YUb0hlzNo7mF7MPMjXlvUmn+TlrlJPpi9ZN+5Qo8SidtWQ7yHE9mZqW x3Hg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=RhlBdGu831zzGOZw0VmBBSUhL/MwPvvLh2gDfjIr0mk=; b=L97edVra7KAGdbpxBY3H8bYcD0mcklRqbD3hb00Yng156sCX+AJkIaVGz7NlcG/Axu c6Jj64IvHjLByAUMWEOFHXiYqOAGS+9Zevg/KdDrsvqa2ViJkzDcM/hUFJnRdfyQxydu iuqqdOiCq3XIrVFP+0hhE67VI4gtnS52y60jgsQ7/REF5hgnr5DRR6BbqN7lHxFevLd2 XcLy+vqxqRjCERmZMxJWqAWYmyY0flKqd00Hbv9mbMoujssJ3aksCrWYKxpoebbRqsKa LOGIfzN2AhMr6VuS4wZNIuKe2RJbIEN9ncPCFMIoihccSpD0RXIQOg3tySYnYqtZnxW3 bDqg==
X-Gm-Message-State: AIVw11183kcIUjztXSd6/KACgSGmPUje5yQDXtAEdxUoF1k8yWXsUqdB 5w/BfzyeilsLO7iW
X-Received: by 10.99.131.193 with SMTP id h184mr6545980pge.80.1499909372884; Wed, 12 Jul 2017 18:29:32 -0700 (PDT)
Received: from [192.168.178.21] ([118.148.68.108]) by smtp.gmail.com with ESMTPSA id g12sm6378676pgr.16.2017.07.12.18.29.31 for <tsvwg@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jul 2017 18:29:32 -0700 (PDT)
To: tsvwg@ietf.org
References: <c15e729a-e1c6-b96e-b570-168e70d04d82@kit.edu>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <c1b42696-29fd-f8d0-7434-c0e3060c956e@gmail.com>
Date: Thu, 13 Jul 2017 13:29:35 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <c15e729a-e1c6-b96e-b570-168e70d04d82@kit.edu>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/uJI2h_I8Db8DVLBNV8-Q3ZCFLgU>
Subject: Re: [tsvwg] Remarking of LE (draft-ietf-tsvwg-le-phb-02)
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Jul 2017 01:29:35 -0000

> So a useful strategy would be to always remark CS1 to LE, when
> CS1 was used for RFC3662/LE to get rid of the ambiguity of CS1.

Yes, but I think it's better called a heuristic, not a strategy.
Any solution that does not involve an explicit agreement between
two neighbouring domains is really a "best guess".

We could also say that a useful heuristic would be to always
leave CS1 as it is, if CS1 was *not* previously known to be used
for LE at that interface. Or alternatively, bleach it to CS0.
If you don't definitively know the policy of the domain that
forwards a packet to you, whatever you do is a guess. If you
do know that policy, you can do the right thing.

Regards
   Brian

On 13/07/2017 00:46, Bless, Roland (TM) wrote:
> Hi,
> 
> In https://mailarchive.ietf.org/arch/msg/tsvwg/d70Z9JoLOWtQCadD_uA9pJ9tBx4
> David made the comment:
>> ****I definitely want to see broader WG discussion of that “MUST remark” requirement, as it’s not backwards compatible with RFC 4594 - at a minimum, some thought should be applied to transition and mixing networks that use CS1 and the new LE DSCP.
> 
> Here are some general thoughts on remarking of the LE PHB.
> 
> If correctly implemented LE (lower effort) traffic will not harm BE
> (best-effort) traffic, because BE traffic will preempt LE traffic.
> DiffServ Domains that are not implementing LE may carry LE traffic
> within their BE aggregate. They must be aware, however, that the
> "no harm" property of LE is not given.
> 
> There are now two types of LE users:
> LE-min: this user does not care if LE packet experience better
> forwarding treatment, so promoting them to BE is ok.
> 
> LE-strict: this user wants to be sure that LE is obeying the
> "no harm" property, i.e., only otherwise unused resources
> should be consumed by LE traffic.
> 
> The question is now, how the LE-strict user can detect whether
> the packets were promoted to BE. Let's assume we have two
> different DSCPs LE-min and LE-strict. Then:
> LE-min: can be promoted to BE, but should stay marked as LE-min
>         to let subsequent domains handle it correctly as LE traffic
> LE-strict: should not be promoted to BE. Now we have two cases:
>            a) DS domain remarks to BE and passes it as BE to the next DS
>               domain. The receiver could probably use some feedback
>               channel to let the sender know that this remarking
>               happened.
>               An appropriate reaction should be left to the application
>               then (continue, abort, use LE transport protocol,
>               rate limit, etc.) => E2E principle.
>            b) DS domain simply drops the LE packet.
> 
> I think b) is not useful.
> 
> Coming back to the question above:
> A DS domain must be able to map DSCP to PHB freely (see RFC 2474).
> So if a DS domain currently supports LE and uses the CS1 DSCP for that,
> it should support the new LE DSCP, too.
> The current draft says
>    A DS domain that still uses DSCP CS1 for marking LE traffic
>    (including Low Priority-Data as defined in [RFC4594] or the old
>    definition in [RFC3662]) MUST remark traffic to the LE DSCP '000010'
>    at the egress to the next DS domain.  This increases the probability
>    that the DSCP is preserved end-to-end, whereas a CS1 marked packet
>    may be remarked by the default DSCP if the next domain is applying
>    DiffServ-intercon [RFC8100].
> 
> So a useful strategy would be to always remark CS1 to LE, when
> CS1 was used for RFC3662/LE to get rid of the ambiguity of CS1.
> More input welcome.
> 
> Regards,
>  Roland
> 
>