Re: [tsvwg] Multicast suggestion for draft-ietf-tsvwg-le-phb-04

Roland Bless <roland.bless@kit.edu> Fri, 06 April 2018 15:40 UTC

Return-Path: <roland.bless@kit.edu>
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 BF6A4127137; Fri, 6 Apr 2018 08:40:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 vkrqBFTqgJQa; Fri, 6 Apr 2018 08:40:02 -0700 (PDT)
Received: from iramx2.ira.uni-karlsruhe.de (iramx2.ira.uni-karlsruhe.de [141.3.10.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A6DE7126BF7; Fri, 6 Apr 2018 08:40:02 -0700 (PDT)
Received: from i72vorta.tm.uni-karlsruhe.de ([141.3.71.26] helo=i72vorta.tm.kit.edu) by iramx2.ira.uni-karlsruhe.de with esmtp port 25 iface 141.3.10.81 id 1f4TT5-0001Xl-5M; Fri, 06 Apr 2018 17:39:59 +0200
Received: from [IPv6:::1] (localhost [127.0.0.1]) by i72vorta.tm.kit.edu (Postfix) with ESMTPS id 0B4AD4200DE; Fri, 6 Apr 2018 17:39:59 +0200 (CEST)
To: Toerless Eckert <tte@cs.fau.de>, tsvwg@ietf.org
Cc: draft-ietf-tsvwg-le-phb@ietf.org
References: <20180406020854.iqnpv5hok2jszj5b@faui48f.informatik.uni-erlangen.de>
From: Roland Bless <roland.bless@kit.edu>
Openpgp: preference=signencrypt
Autocrypt: addr=roland.bless@kit.edu; prefer-encrypt=mutual; keydata= xsFNBFi0OxABEACy2VohJ7VhSu/xPCt4/6qCrw4Pw2nSklWPfAYEk1QgrbiwgvLAP9WEhAIU w45cojBaDxytIGg8eaYeIKSmsXjHGbV/ZTfo8r11LX8yPYR0WHiMWZpl0SHUd/CZIkv2pChO 88vF/2FKN95HDcp24pwONF4VhxJoSFk6c0mDNf8Em/Glt9BcWX2AAvizTmpQDshaPje18WH3 4++KwPZDd/sJ/hHSXiPg1Gdhs/OG/C0CJguOAlqbgSVAe3qKOr1M4K5M+wVpsk373pXRfxd7 ZAmZ05iBTn+LfgVcz+AfaKKcsWri5CdTT+7JDL6QNQpox+b5FXZFSHnEIST+/qzfG7G2LqqY mml6TYY8XbaNyXZP0QKncfSpRx8uTRWReHUa1YbSuOxXYh6bXpcugD25mlC/Lu0g7tz4ijiK iIwq9+P2H1KfAAfYyYZh6nOoE6ET0TjOjUSa+mA8cqjPWX99kEEgf1Xo+P9fx9QLCLWIY7zc mSM+vjQKgdUFpMSCKcYEKOuwlPuOz8bVECafxaEtJJHjCOK8zowe2eC9OM+G+bmtAO3qYcYZ hQ/PV3sztt/PjgdtnFAYPFLc9189rHRxKsWSOb4xPkRw/YQAI9l15OlUEpsyOehxmAmTsesn tSViCz++PCdeXrQc1BCgl8nDytrxW+n5w1aaE8aL3hn8M0tonQARAQABzShSb2xhbmQgQmxl c3MgKFRNKSA8cm9sYW5kLmJsZXNzQGtpdC5lZHU+wsGABBMBCAAqAhsDBQkSzAMABQsJCAcC BhUICQoLAgQWAgMBAh4BAheABQJYtYdHAhkBAAoJEKON2tlkOJXuzWkP+wfjUnDNzRm4r34a AMWepcQziTgqf4I1crcL6VD44767HhyFsjcKH31E5G5gTDxbpsM4pmkghKeLrpPo30YK3qb7 E9ifIkpJTvMu0StSUmcXq0zPyHZ+HxHeMWkosljG3g/4YekCqgWwrB62T7NMYq0ATQe1MGCZ TAPwS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7Lf uLUpoMvJV+EWo0jE4RW/wBGQbLJp5usy5i0fhBKuDwsKdLG3qOCf4depIcNuja6ZmZHRT+3R FFjvZ/dAhrCWpRTxZANlWlLZz6htToJulAZQJD6lcpVr7EVgDX/y4cNwKF79egWXPDPOvQAR AQABwsFlBBgBCAAPBQJYtDsQAhsMBQkSzAMAAAoJEKON2tlkOJXukMoP/jNeiglj8fenH2We 7SJuyBp8+5L3n8eNwfwY5C5G+etD0E6/lkt/Jj9UddTazxeB154rVFXRzmcN3+hGCOZgGAyV 1N7d8xM6dBqRtHmRMPu5fUxfSqrM9pmqAw2gmzAe0eztVvaM+x5x5xID2WZOiOq8dx9KOKrp Zorekjs3GEA3V1wlZ7Nksx/o8KZ04hLeKcR1r06zEDLN/yA+Fz8IPa0KqpuhrL010bQDgAhe 9o5TA0/cMJpxpLqHhX2As+5cQAhKDDsWJu3oBzZRkN7Hh/HTpWurmTQRRniLGSeiL0zdtilX fowyxGXH6QWi3MZYmpOq+etr7o4EGGbm2inxpVbM+NYmaJs+MAi/z5bsO/rABwdM5ysm8hwb CGt+1oEMORyMcUk/uRjclgTZM1NhGoXm1Un67+Rehu04i7DA6b8dd1H8AFgZSO2H4IKi+5yA Ldmo+ftCJS83Nf6Wi6hJnKG9aWQjKL+qmZqBEct/D2uRJGWAERU5+D0RwNV/i9lQFCYNjG9X Tew0BPYYnBtHFlz9rJTqGhDu4ubulSkbxAK3TIk8XzKdMvef3tV/7mJCmcaVbJ2YoNUtkdKJ goOigJTMBXMRu4Ibyq1Ei+d90lxhojKKlf9yguzpxk5KYFGUizp0dtvdNuXRBtYrwzykS6vB zTlLqHZ0pvGjNfTSvuuN
Organization: Institute of Telematics, Karlsruhe Institute of Technology (KIT)
Message-ID: <f4eefb98-7672-492f-fc08-341b0ac9908f@kit.edu>
Date: Fri, 06 Apr 2018 17:39:58 +0200
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060111 Thunderbird/1.5 Mnenhy/0.7.3.0
MIME-Version: 1.0
In-Reply-To: <20180406020854.iqnpv5hok2jszj5b@faui48f.informatik.uni-erlangen.de>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
X-ATIS-AV: ClamAV (iramx2.ira.uni-karlsruhe.de)
X-ATIS-Timestamp: iramx2.ira.uni-karlsruhe.de 1523029199.293378430
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/UGEYmWwlF4N4Q0qrs7j6YFIA6Z8>
Subject: Re: [tsvwg] Multicast suggestion for draft-ietf-tsvwg-le-phb-04
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: Fri, 06 Apr 2018 15:40:06 -0000

Hi Toerless,

see inline comments.

On 06.04.2018 at 04:08 Toerless Eckert wrote:
> a) Would ike to bring up a multicast specific issue with LE and
> multicast: 
> 
> Since i was first exposed to fountain type codecs that can
> surive arbitrary loss and its benefit in conjunction with
> multicast transmission, i thought that LE traffic classes
> would be an ideal use case for IP multicast in conjunction
> with these codecs and LE. You just send this stream, it only gets
> replicated when there is available bandwidth not used by best
> effort traffic, jujust wait long enough until you have enough
> packets for your decoder to reconstruct your original data. Great!
> Kinda 2004'ish... thinking (first digital fountain products or the like 
> around that time).

Yes, interesting use case...

> Alas, what this nice but too simple thought about LE ignores
> with IP multicast is the problem that queue drops can only
> happen after replication inside a network device, so any
> non-congestion controlled multicast LE traffic does not only
> take away unnecessary bandwidth on the incoming interface (like unicast),
> but it does constitute an intentional or unintentional attack
> vector against a resource that in most network platforms
> can not even be managed at all, but is just shared at box/ASIC/NPU
> level: replication performance. With unicast, there is
> often some impicit or explicit fair allocation of NPU resources
> vs. input interfaces, but when you start having some multicast
> flows with a lot of outgoing interface receivers (lots of
> replications, and most of them discarded), you can quickly
> run into starvation of other multicast or even unicast flows
> because you started trying to replicate and forward million
> more packets thinking that they woudn't cost resources because
> they'd get dropped inernally anyhow being LE. Especially when
> the multicast replication performance is not separate from inicast,
> but you just got a single resource eg: NPU whose performance
> is simply measured in total number of egres packets it supports,
> you can get quite surprised how your aggregate egress packet rate
> goes down the drain because the poor NPU spends most of its time
> replicating and dropping LE packets to slower congested interfaces.

Interestingly, the LE idea was motivated by a DiffServ multicast
problem, see RFC3754.
I think I understand the problem, so I try to rephrase
in my own words:
Packet replication happens before the network node can know
that there is congestion at a particular output
queue, so the replication to that output queue was
not necessary. In my point of view this is an interesting
implementation-related optimization problem, but it is not really
specific for the LE PHB. The same problem exists for BE traffic,
as also some output interfaces may be congested, whereas others
would not.
At the time when we wrote RFC3754, there was a comment that on
some router architectures it is possible to directly duplicate
a multicast packet on the backplane of the router, so that all
outgoing interfaces read the packet in parallel. In this case
there may not be such a replication performance impact.

> With BE traffic you would not even think of designing multicast
> solutions, where the aggregate amount of egres traffic was larger
> than what the outgoing interfaces support. With LE traffic and
> network/found codecs you can esily run into the misconception that
> such a setup would work perfectly well, because you are not aware
> that replication and large amount of dropping does wase
> precious resources.

I'm not sure about this one...see next comment.

> Aka: I would highly recommend to make a statement that 
> multicast LE traffic (outside controlled networks) MUST
> be congestion controlled using the options summarizzed in 
> RFC8085, 4.1. - and add explanatory text about the reasons
> (as above).

I don't see how congestion control would help to
avoid the internal resource waste by unnecessary
replication. A congestion signal by packet loss
or ECN mark would only affect a particular multicast
branch and also receiver-based congestion control
would not change the situation.

> If this is something you think is useful, let me know, i could
> help rewrite to fit the draft.
> 
> b) I really had a hard time finding this draft because i am
> always looking for "scavenger" is there any way to smuggle that
> word into the draft (some side remark) so that future google searches
> will find it ?

> I don't think i am the only one that remembers this traffic
> class by that name, even if the official IETF term is different (LE).

Point taken, but let me explain a little bit:
The QBone Scavenger Service (QBSS) Definition was published
March 16, 2001, whereas our "Lower than best effort" idea was first
published in September 1999 as draft-bless-diffserv-lbe-phb-00:
http://www.ietf.org/mail-archive/web-old/ietf-announce-old/current/msg05168.html
or
https://tools.ietf.org/html/draft-bless-diffserv-lbe-phb-00

>From this time on, we developed it further within the DiffServ WG.
So strictly speaking, the IETF term has been changed from ""Lower than
best effort" to "Lower Effort"
(https://tools.ietf.org/html/draft-bless-diffserv-pdb-le-00).

I think that the QBSS definition was an Internet2 implementation
of our LBE PHB, but the QBSS definition never mentioned that origin.
So most people think that the scavenger service definition was the
original idea, but indeed our lower than best-effort was published
one and a half years before the QBSS specification.
So I'll try to provide that linkage to scavenger service for those
who are only familiar with the Internet2 side of the story :-)

Best,
 Roland