Re: [dispatch] Draft on Discarding Priority of RTP Video Packets

Toerless Eckert <tte@cs.fau.de> Mon, 25 July 2022 08:06 UTC

Return-Path: <eckert@i4.informatik.uni-erlangen.de>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E594C136339 for <dispatch@ietfa.amsl.com>; Mon, 25 Jul 2022 01:06:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.658
X-Spam-Level:
X-Spam-Status: No, score=-1.658 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id siNSBz__ykoI for <dispatch@ietfa.amsl.com>; Mon, 25 Jul 2022 01:06:27 -0700 (PDT)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B4639C159480 for <dispatch@ietf.org>; Mon, 25 Jul 2022 01:06:26 -0700 (PDT)
Received: from faui48e.informatik.uni-erlangen.de (faui48e.informatik.uni-erlangen.de [131.188.34.51]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTPS id 824C158C4AF; Mon, 25 Jul 2022 10:06:20 +0200 (CEST)
Received: by faui48e.informatik.uni-erlangen.de (Postfix, from userid 10463) id 683684EB56F; Mon, 25 Jul 2022 10:06:20 +0200 (CEST)
Date: Mon, 25 Jul 2022 10:06:20 +0200
From: Toerless Eckert <tte@cs.fau.de>
To: Ron Even <ron.even.tlv@gmail.com>
Cc: Lijun Dong <lijun.dong@futurewei.com>, "dispatch@ietf.org" <dispatch@ietf.org>, Stuart Clayman <s.clayman@ucl.ac.uk>, Muge Sayit <mugefesci@gmail.com>
Message-ID: <Yt5O/JtspycGe6nn@faui48e.informatik.uni-erlangen.de>
References: <00C16072-6D43-44AB-AEFC-3A586DA28804@contoso.com> <CAHy0fzAmg3jhFwm7fptPGRTCEqX6FF-AiRH82f_hciy2HTjRtQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAHy0fzAmg3jhFwm7fptPGRTCEqX6FF-AiRH82f_hciy2HTjRtQ@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/ItiAGbgOBwkKD4Nxsk6GCvqaVMs>
Subject: Re: [dispatch] Draft on Discarding Priority of RTP Video Packets
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2022 08:06:29 -0000

I to had a draft in this area:

https://datatracker.ietf.org/doc/draft-carlberg-avtext-classifier/

We gave up on proceeding with the ideas because back then we where at
the first wave of end-to-end encrypting everything. Especially whatever could
help the network to do a better job. Including RTP extension headers. "Privacy beats
a better network". I am not sure if we have overcome that pendulum swing. I 
would love to hear more support for supporting working on this direction again.

There have been measurements made as to the effectiveness of priority dropping
for media stream packets, and it does provide non-negligible performance
benefits. Unfortunately i am not aware of published work results.

There was, maybe still is network equipment doing DPI into known media headers,
for example MPEG packet types, and it is possible to configure routers
to accordingly match this to differently configured drop priorities (such
as different WRED profiles). So in reality, deployments in broadcast/contribution
networks may have already used some of these technologies without IETF being
aware of it.

There are some good number of advanced topics to consider.

For example, if the network is supporting priority-drops, it does help a lot
to optimize the codec to create more discardable P-frames, and to consider
shaping the ordering of packets in the stream to have packets of such frames
interspersed with packet from a neighboring higher priority frame So that
one can most effectively apply in-network packet dropping without incurring
more queuing latency on network elements than minimally necessary (instead
punting the responsibility of burst management to the sender).

When different streams have different percentages of data of different
priorities, then it will be hard to achieve per-flow stateless discard
behavior without creating unfairness: Flows with average higher priority
will get more throughput.

Cheers
    Toerles

On Wed, Jul 13, 2022 at 10:18:45AM +0300, Ron Even wrote:
> Hi,
> I had a proposal in the past to use
> https://datatracker.ietf.org/doc/html/draft-ietf-avtext-framemarking-13 for
> defining priority in the past. see
> https://datatracker.ietf.org/doc/html/draft-even-avtcore-priority-markings-03
> .
> Roni Even
> 
> On Wed, Jul 13, 2022 at 2:59 AM Lijun Dong <lijun.dong@futurewei.com> wrote:
> 
> > Hi dispatch:
> >
> >
> >
> > I want to share my recently submitted draft on “Discarding Priority of RTP
> > Video Packets”.
> >
> >
> >
> > https://datatracker.ietf.org/doc/draft-dong-priority-rtp-packet/
> > <https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-dong-priority-rtp-packet%2F&data=05%7C01%7Clijun.dong%40futurewei.com%7Cf4f099e6e73948d8ec8b08da645f3cd2%7C0fee8ff2a3b240189c753a1d5591fedc%7C1%7C0%7C637932657449689304%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Z1%2BLmuaJWeZHd6TIDI%2F0o3ukSdRXRNi8oZb1hKaxYro%3D&reserved=0>
> >
> >
> >
> > It is observed that significance difference or discarding priority might
> > exist among RTP packets which encapsulate video streaming data with the
> > existing modern video codecs. So selectively dropping RTP packets according
> > to their significances could be a complementary mechanism when dealing with
> > network congestion and improve end user’s QoE. The draft proposes that the
> > video source or edge node with media-awareness could perform mapping of RTP
> > packet discarding priority carried in RTP NALU header to a DSCP value, such
> > that the priority-based dropping could happen at the packet level when
> > network congestion happens.
> >
> >
> >
> > I look forward to your generous comments and suggestions.
> >
> >
> >
> > Lijun
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > dispatch mailing list
> > dispatch@ietf.org
> > https://www.ietf.org/mailman/listinfo/dispatch
> >

-- 
---
tte@cs.fau.de