Re: [rtcweb] Issue with "priority" defined in rtcweb-transports
Harald Alvestrand <harald@alvestrand.no> Wed, 18 October 2017 04:33 UTC
Return-Path: <harald@alvestrand.no>
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 B47FC132F3E for <rtcweb@ietfa.amsl.com>; Tue, 17 Oct 2017 21:33:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, URIBL_BLOCKED=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 LJetMs5Ef5FR for <rtcweb@ietfa.amsl.com>; Tue, 17 Oct 2017 21:33:01 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [IPv6:2001:700:1:2::117]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA9C7124239 for <rtcweb@ietf.org>; Tue, 17 Oct 2017 21:33:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 4D46A7C3635; Wed, 18 Oct 2017 06:32:59 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at alvestrand.no
Received: from mork.alvestrand.no ([127.0.0.1]) by localhost (mork.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VZcbf9EVa1mG; Wed, 18 Oct 2017 06:32:58 +0200 (CEST)
Received: from [IPv6:2a02:2121:340:532a:0:48:9f9a:6e01] (unknown [IPv6:2a02:2121:340:532a:0:48:9f9a:6e01]) by mork.alvestrand.no (Postfix) with ESMTPSA id B41D17C0DBA; Wed, 18 Oct 2017 06:32:57 +0200 (CEST)
Date: Wed, 18 Oct 2017 06:32:54 +0200
User-Agent: K-9 Mail for Android
In-Reply-To: <CAOW+2dv6qEGAEW8_bp1g2=O4SH1YEdAFrKow388oy-UzdCteBg@mail.gmail.com>
References: <CAK35n0Z6_N9iMZ3F2y1QXG1M9Efx4ha9sm8CBcahzjYtHwWSEg@mail.gmail.com> <183cc5c2-470b-0dab-d474-7f22134f867a@ericsson.com> <CAK35n0Y90137Y5hsMgS-1XoLsW5V9hkMpd1MNf9JUT7OrJKGcw@mail.gmail.com> <85ff04f8-bcae-8561-9866-48d5c16bf0a1@alvestrand.no> <CAK35n0Zu70z6nSFSMX05O913cUj_73W9V8FNK54LZrsMEdQPgg@mail.gmail.com> <6da0d797-e1db-a8e7-65d1-0e632ee55c6a@alvestrand.no> <CAK35n0ZkmvRyGGw5Zc2XoZ4WsF+XJ5qBbxa4wt+j1wtjZJinBw@mail.gmail.com> <CAOW+2dv6qEGAEW8_bp1g2=O4SH1YEdAFrKow388oy-UzdCteBg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----NZWG4DHKXKQ521GX4K67O6TZ4IDUJ0"
Content-Transfer-Encoding: 7bit
To: Bernard Aboba <bernard.aboba@gmail.com>, Taylor Brandstetter <deadbeef@google.com>
CC: RTCWeb IETF <rtcweb@ietf.org>
From: Harald Alvestrand <harald@alvestrand.no>
Message-ID: <7912980F-EAA3-4F9D-81AF-EA3BF86ED2A2@alvestrand.no>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/oT-YCI6coDkmWn2MRHgMl9hWVpI>
Subject: Re: [rtcweb] Issue with "priority" defined in rtcweb-transports
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Wed, 18 Oct 2017 04:33:04 -0000
Throwing away packets at sender is only supposed to happen at all after congestion is detected. The idea is that the sender can do a better job of deciding what to discard than the router can. Den 18. oktober 2017 01:23:06 CEST, skrev Bernard Aboba <bernard.aboba@gmail.com>: >In practice, many enterprise networks do their own policing/re-marking, >so >browser-enforced bandwidth limitations may bear no relation to corpnet >policies. For example, an enterprise may have its own policies on what >traffic should be marked "high priority" and how much bandwidth it >should >be allocated. As a result, the traffic marked by the browser with a >particular DSCP might be re-marked and different bandwidth limits might >be >imposed. As a result, traffic that the browser would chose to drop due >to >its own limits might have been allowed to pass through, and traffic the >browser would not drop might be dropped later. In these situations, it >probably makes more sense for the browser just to mark traffic and let >the >enterprise network re-mark and impose its own bandwidth limits as >necessary. > >On Tue, Oct 17, 2017 at 3:10 PM, Taylor Brandstetter ><deadbeef@google.com> >wrote: > >> I think the issue is that the example leads you to get the wrong idea >> about what the priority is intended to effect. Does it affect >encoding, or >> just transport? Is the advice meant to say "give the codecs a 1:2 >split of >> the available bandwidth"? Or "give the codecs some split of the >available >> bandwidth determined elsewhere, then as packets are queued for >> transmission, send them with a 1:2 weighted round-robin scheme or >something >> equivalent"? I interpreted it as the former. It may just be that I'm >not >> interpreting this as intended, and there really isn't an issue, other >than >> possibly needing some clarification. >> >> On Tue, Oct 17, 2017 at 1:18 PM, Harald Alvestrand ><harald@alvestrand.no> >> wrote: >> >>> Den 17. okt. 2017 18:59, skrev Taylor Brandstetter: >>> > For instance, screenshare-type video varies enormously in >>> > bandwidth (very low at static images, enormous at slide >change) - >>> if it >>> > competes against audio, a "relative" bitrate ratio will not be >>> useful at >>> > all. >>> > >>> > >>> > I think that's where it's important to get the terminology right; >for >>> > example, rtcweb-transports uses the term "capacity", which implies >that >>> > it's possible to use fewer bits than the capacity. Maybe that's >the best >>> > way to think of this. We also can allow some implementation >flexibility. >>> > >>> > Is there a way we can punt this? >>> > >>> > >>> > If we do punt this, I still think we should remove the part of >>> > rtcweb-transports that talks about the priority causing codecs to >be >>> > configured with send rates at these 1:2:4:8 ratios: >>> > >>> > o When the available bandwidth is known from the >congestion >>> control >>> > algorithm, configure each codec and each data channel >with a >>> > target send rate that is appropriate to its share of the >>> available >>> > bandwidth. >>> > >>> > >>> > We should make it clear that the priority only affects the >delivery of >>> > packets (pacing decisions, QoS, SCTP priority), and not how the >packets >>> > are generated upstream. Assuming others agree. >>> >>> The words about configuring the codecs were intended as advice - >most >>> codecs are terrible at dealing with random lost packets (even with >FEC >>> and NACK and all that), so if the pacer is going to throw their >packets >>> away, the best thing to do is to not generate them. >>> >>> (Hierarchical coding schemes with frames that have no references to >them >>> work fine as long as you throw away complete frames, though. So >>> sometimes it works.) >>> >>> This section is already headed with the words "Two example >>> implementation strategies are:", so it should already be clear that >it's >>> advice, not normative language. >>> >>> I'm happy to weaken the words even more, but wouldn't want to lose >the >>> advice entirely. >>> >> >> >> _______________________________________________ >> rtcweb mailing list >> rtcweb@ietf.org >> https://www.ietf.org/mailman/listinfo/rtcweb >> >> -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
- [rtcweb] Issue with "priority" defined in rtcweb-… Taylor Brandstetter
- Re: [rtcweb] Issue with "priority" defined in rtc… Magnus Westerlund
- Re: [rtcweb] Issue with "priority" defined in rtc… Taylor Brandstetter
- Re: [rtcweb] Issue with "priority" defined in rtc… Harald Alvestrand
- Re: [rtcweb] Issue with "priority" defined in rtc… Taylor Brandstetter
- Re: [rtcweb] Issue with "priority" defined in rtc… Harald Alvestrand
- Re: [rtcweb] Issue with "priority" defined in rtc… Taylor Brandstetter
- Re: [rtcweb] Issue with "priority" defined in rtc… Bernard Aboba
- Re: [rtcweb] Issue with "priority" defined in rtc… Harald Alvestrand
- Re: [rtcweb] Issue with "priority" defined in rtc… Taylor Brandstetter
- Re: [rtcweb] Issue with "priority" defined in rtc… Stefan Håkansson LK