Re: [rtcweb] [rmcat] [tsvwg] Using intelligent dropping to improve video quality under congestion (draft-lai-tsvwg-normalizer-00.txt)

ken carlberg <carlberg@g11.org.uk> Mon, 15 July 2013 13:41 UTC

Return-Path: <carlberg@g11.org.uk>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3C2DE11E810C; Mon, 15 Jul 2013 06:41:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dhU2PQNhCNM8; Mon, 15 Jul 2013 06:41:28 -0700 (PDT)
Received: from portland.eukhosting.net (portland.eukhosting.net [92.48.97.5]) by ietfa.amsl.com (Postfix) with ESMTP id 713C211E8106; Mon, 15 Jul 2013 06:41:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=g11.org.uk; s=default; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=4uuGNwkwMEtRoU89d14nNhxJ8Zr7/VugapQ4pVe98/Q=; b=ajERd2nXYuBq0jMBWcrFqmvIIDkXd8iTHgV4mWXIzctLfRARsVUJo6ZH5rqdsQl4ailMGFE8wfc5JjbtnRFNav4oJrr+ouwUowdUBMeCJwJFHb7Ml2HrxrUo/E9cU0+x;
Received: from c-98-218-170-72.hsd1.va.comcast.net ([98.218.170.72]:47783 helo=[10.0.1.20]) by portland.eukhosting.net with esmtps (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from <carlberg@g11.org.uk>) id 1Uyj1l-002GU4-0e; Mon, 15 Jul 2013 14:41:21 +0100
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: ken carlberg <carlberg@g11.org.uk>
In-Reply-To: <20130712003002.GA30036@cisco.com>
Date: Mon, 15 Jul 2013 09:41:21 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <6D6A9A05-73A6-400A-831D-F4BF14AFAFD0@g11.org.uk>
References: <20130710180147.GA614@cisco.com> <34BE8BE0-E863-4F69-8D45-18F5B97DE392@g11.org.uk> <20130712003002.GA30036@cisco.com>
To: Toerless Eckert <eckert@cisco.com>
X-Mailer: Apple Mail (2.1508)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - portland.eukhosting.net
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - g11.org.uk
X-Get-Message-Sender-Via: portland.eukhosting.net: acl_c_relayhosts_text_entry: carlberg@g11.org.uk|g11.org.uk
X-Source:
X-Source-Args:
X-Source-Dir:
X-Mailman-Approved-At: Mon, 15 Jul 2013 08:47:47 -0700
Cc: rmcat@ietf.org, rtcweb@ietf.org, tsvwg@ietf.org
Subject: Re: [rtcweb] [rmcat] [tsvwg] Using intelligent dropping to improve video quality under congestion (draft-lai-tsvwg-normalizer-00.txt)
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 15 Jul 2013 13:41:33 -0000

Toerless,

sorry for the tardy reply.  I'll dig through my archives and send you a copy.  my draft proposed adding a "classifier" field, but I only did one rev (which was missing some better rationale after a long talk I had with Dave Oran) and i suspect that it would need a fair amount of scrubbing before re-issuing another version.  the first order of business, though, will be to gauge the feedback/comments to your draft.

-ken

ps, CJ thanks for your clarification in your previous response


On Jul 11, 2013, at 8:30 PM, Toerless Eckert <eckert@cisco.com> wrote:

> Thanks, Ken
> 
> Indeed yes, that's exactly the line of thought that we would like to
> see proceed as well. Any URL still existing for that draft ?
> 
> "application layer gateway" could specifically mean switching MCU using
> intelligent dropping in conjunction with outbound congestion control.
> 
> I definitely would like to see RTP headers as the ultimatele marking
> option even for routers to do intelligent dropping (or other packet
> processing "beyond DSCP)). Intra-flow (per-packet) DSCP is just a big pain 
> (aka: impossible) for applications. Many OSs don't have any APIs to support
> this. And DSCP management in networks is already difficult enough as it
> stands.
> 
> Would certainly like to see if there is interest to write up r present
> more pieces of this puzzle, especially an RTP extension. We just felt that the
> fairness in intelligent dropping was the biggest concern our video
> application folks had, that's why we wanted to explain how that piece
> could work first. 
> 
> Cheers
>    Toerless
> 
> 
> On Thu, Jul 11, 2013 at 12:04:58PM -0400, ken carlberg wrote:
>> Toerless,
>> 
>> some food for thought...
>> 
>> about 10 years ago, I put together a draft that added an optional TLV prioritization header to RTP to accomplish something similar in terms of having the app decide which was the better RTP packet to drop during times of congestion.  My aim was to have these decisions made at forwarding application-layer gateways that did not act as a RTP/RTCP endpoint.  The strength of the approach (in my opinion :-) was that it could span pockets of non-diff-serv regions and still carry significance downstream.  The weakness was the need for DPI if one wanted to make a more informed decision along the path about dropping a packet.
>> 
>> I wonder if such a dual-layer design might be helpful in your efforts.  In any case, I have an interest in the normalizer draft.
>> 
>> -ken
>> 
>> 
>> On Jul 10, 2013, at 2:01 PM, Toerless Eckert (eckert) <eckert@cisco.com> wrote:
>> 
>>> When dealing with congestion for real-time datagram (UDP/RTP) based video flows, one idea
>>> that we think has shown to provide good value is to intelligently drop in the network
>>> preferentially the least important packets within a video flow, for example non-referenced
>>> P-frames, because their loss creates the lowest impact to video quality.
>>> 
>>> One of the main concerns raised against such schemes was one of fairness. If flows 
>>> would start to indicate different priorities for packets in them, how would we
>>> be able to avoid that flows would indicate all their packets to be of high priority
>>> to shift packet drops to other flows. Or even more importantly: how could we motivate
>>> flows to indicate that some of their packets are low priority without them having to
>>> fear that they would experience more loss than than flows that don't do this.
>>> 
>>> So, there is one draft that we would like to present (presumably in TSVWG)  explaining
>>> how we think this problem can be solved: draft-lai-tsvwg-normalizer-00.txt
>>> 
>>> (Actually, this is how we did solve the problem in our implementatin of intelligent dropping,
>>> so this is not theoretical).
>>> 
>>> Now granted, the problem of fairness is but one element of building a complete ssytem
>>> around the idea of intelligent dropping, so if folks here on the lists would like to
>>> see for example 
>>> 
>>> a) how well can it work in routers to shift packet drops to low-prio packets
>>> b) whats the evidence that it's good for video quality
>>> c) How should we do the marking best going forward
>>> 
>>> Then please let us know. We'd be very interested to provide insight into the parts of
>>> those pieces that we have also worked out or discuss the ones we have not (primarily c ;-)
>>> 
>>> Thanks!
>>>   Toerless
>>> 
>>> In-Reply-To: <A860EC86B79FA646BF3F89165A886264151D0AB9@xmb-aln-x11.cisco.com>
>>> 
>>> On Sat, Feb 09, 2013 at 03:00:48AM +0000, Cheng-Jia Lai (chelai) wrote:
>>>> Hi all,
>>>> 
>>>> We have submitted a new Internet draft to describe a Normalization Marker (NM) for DiffServ AF PHB groups, based on our work at Cisco. The goal of NM deployment is to create a new incentive for video encoders to generate more discardable packets when using AF PHB in DIffServ. We are looking forward to your review comments.
>>>> 
>>>> Best regards,
>>>> CJ
>>>> 
>>>> -----Original Message-----
>>>> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org] 
>>>> Sent: Friday, February 08, 2013 6:25 PM
>>>> To: Cheng-Jia Lai (chelai)
>>>> Cc: Wenyi Wang (wenywang); Stan Yang (stanyang); Toerless Eckert (eckert); Fred Yip (fyip)
>>>> Subject: New Version Notification for draft-lai-tsvwg-normalizer-00.txt
>>>> 
>>>> 
>>>> A new version of I-D, draft-lai-tsvwg-normalizer-00.txt
>>>> has been successfully submitted by Cheng-Jia Lai and posted to the
>>>> IETF repository.
>>>> 
>>>> Filename:	 draft-lai-tsvwg-normalizer
>>>> Revision:	 00
>>>> Title:		 Normalization Marker for AF PHB Group in DiffServ
>>>> Creation date:	 2013-02-08
>>>> WG ID:		 Individual Submission
>>>> Number of pages: 15
>>>> URL:             http://www.ietf.org/internet-drafts/draft-lai-tsvwg-normalizer-00.txt
>>>> Status:          http://datatracker.ietf.org/doc/draft-lai-tsvwg-normalizer
>>>> Htmlized:        http://tools.ietf.org/html/draft-lai-tsvwg-normalizer-00
>>>> 
>>>> 
>>>> Abstract:
>>>>  This memo describes a Normalization Marker (NM) at DiffServ (DS)
>>>>  nodes to normalize the distribution of DS codepoint (DSCP) markings
>>>>  for an Assured Forwarding (AF) Per-Hop Behavior (PHB) group.  NM is
>>>>  useful for traffic conditioning with Active Queue Management (AQM)
>>>>  when the AF PHB group is deployed for multimedia service classes that
>>>>  carry video packets with advanced codec technologies.  Using NM can
>>>>  offer an incentive that is however missing in today's ecosystem of
>>>>  practical deployment, i.e., when congestion occurs in the AF PHB
>>>>  group, the network should allow a video codec to benefit from its
>>>>  effort of generating finer layers of intra-flow precedence (IFP) with
>>>>  discardable packets in a more balanced distribution.
>>>> 
>>>> 
>>>> 
>>>> 
>>>> The IETF Secretariat
>>>> 
>>> 
>>> -- 
>>> ---
>>> Toerless Eckert, eckert@cisco.com
>>> Cisco NSSTG Systems & Technology Architecture
>>> SDN: Let me play with the network, mommy!
>>> 
>> 
> 
> -- 
> ---
> Toerless Eckert, eckert@cisco.com
> Cisco NSSTG Systems & Technology Architecture
> SDN: Let me play with the network, mommy!
>