Re: [rmcat] Priority and rtcweb

Michael Welzl <michawe@ifi.uio.no> Tue, 14 November 2017 03:01 UTC

Return-Path: <michawe@ifi.uio.no>
X-Original-To: rmcat@ietfa.amsl.com
Delivered-To: rmcat@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF3D11242F7 for <rmcat@ietfa.amsl.com>; Mon, 13 Nov 2017 19:01:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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 oqyL3tAIw-ff for <rmcat@ietfa.amsl.com>; Mon, 13 Nov 2017 19:01:40 -0800 (PST)
Received: from mail-out01.uio.no (mail-out01.uio.no [IPv6:2001:700:100:10::50]) (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 09703129B98 for <rmcat@ietf.org>; Mon, 13 Nov 2017 19:01:40 -0800 (PST)
Received: from mail-mx05.uio.no ([129.240.10.49]) by mail-out01.uio.no with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from <michawe@ifi.uio.no>) id 1eERTm-0008Hl-Dp; Tue, 14 Nov 2017 04:01:38 +0100
Received: from dhcp-82c4.meeting.ietf.org ([31.133.130.196]) by mail-mx05.uio.no with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) user michawe (Exim 4.82_1-5b7a7c0-XX) (envelope-from <michawe@ifi.uio.no>) id 1eERTk-000EAP-Bk; Tue, 14 Nov 2017 04:01:38 +0100
From: Michael Welzl <michawe@ifi.uio.no>
Message-Id: <A62E9EAA-7172-484B-A51C-6CCCC928B757@ifi.uio.no>
Content-Type: multipart/alternative; boundary="Apple-Mail=_2E5D07EF-75D7-40E5-BEEC-C6217A352049"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Tue, 14 Nov 2017 11:01:33 +0800
In-Reply-To: <CACHXSv7hm7d14RaCyBwyuSfAep+Znp_g0o8zJpOFnnXD+RbRHg@mail.gmail.com>
Cc: "rmcat@ietf.org" <rmcat@ietf.org>, Zaheduzzaman Sarker <zaheduzzaman.sarker@ericsson.com>, Colin Perkins <csp@csperkins.org>, "W3C@CSIO" <webrtc@callstats.io>
To: Varun Singh <varun@callstats.io>
References: <CACHXSv7z3KSNB+4PZ9+AgrW1nzc7ZH2fbNbBDoeKVqm=SYmZuQ@mail.gmail.com> <B01370E2-AABE-41D4-A7A7-8A062ED3B42B@ifi.uio.no> <CACHXSv7hm7d14RaCyBwyuSfAep+Znp_g0o8zJpOFnnXD+RbRHg@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
X-UiO-SPF-Received: Received-SPF: neutral (mail-mx05.uio.no: 31.133.130.196 is neither permitted nor denied by domain of ifi.uio.no) client-ip=31.133.130.196; envelope-from=michawe@ifi.uio.no; helo=dhcp-82c4.meeting.ietf.org;
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, AWL=0.020, HTML_MESSAGE=0.001, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: BD63646515DD9ABB5841535B2942B50F5971F759
Archived-At: <https://mailarchive.ietf.org/arch/msg/rmcat/9TxK1wXfl-ZambPjrLIO0jT1oZ0>
Subject: Re: [rmcat] Priority and rtcweb
X-BeenThere: rmcat@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "RTP Media Congestion Avoidance Techniques \(RMCAT\) Working Group discussion list." <rmcat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rmcat>, <mailto:rmcat-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rmcat/>
List-Post: <mailto:rmcat@ietf.org>
List-Help: <mailto:rmcat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rmcat>, <mailto:rmcat-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Nov 2017 03:01:43 -0000

> On Nov 14, 2017, at 4:51 AM, Varun Singh <varun@callstats.io> wrote:
> 
> Hi Michael,
> 
> On Mon, Nov 13, 2017 at 10:44 AM, Michael Welzl <michawe@ifi.uio.no <mailto:michawe@ifi.uio.no>> wrote:
> Can I hijack this thread to talk about priority?
> 
> 
> Priority is already defined in the API document to the following levels: high, medium, low, very-low.
> These labels map to the text in the transport document
> 
>         Thus, when congestion occurs, a "high" priority flow will have the
>         ability to send 8 times as much data as a "very-low" priority flow if
>         both have data to send. This prioritization is independent of the
>         media type. The details of which packet to send first are
>         implementation defined.

I know!   The coupled-cc text matches these as well.


> WEBRTC API: https://rawgit.com/w3c/webrtc-pc/master/webrtc.html#dom-rtcprioritytype <https://rawgit.com/w3c/webrtc-pc/master/webrtc.html#dom-rtcprioritytype>
> 
>  
> There was a thread about priority in rtcweb - someone asking for a float… coupled-cc can easily support a float, but Harald’s transport draft doesn’t support it. Opinions went back and forth for a bit...
> I think we should get more WebRTC deployment and not more debate on small details that delays the work, so I don’t want to be a troublemaker and didn’t interfere with this discussion.
> But, what is the view of people in rmcat about this?
> 
> 
> While the API does not provide a float value, nonetheless, doesn't the WebRTC stack or framework under the JS API have all the information to convert the set labels in to a float values after the flows are assigned values? 

Sure, but the point of that discussion was that the definition of these values (high, very-low, etc etc) is too rigid.
We could easily offer a much less rigid priority value - this is no problem at all for coupled-cc (or a scheduler, for that matter).

It is my understanding that the choices of high, very-low etc. were made for simplicity, to just decide on *something* and move forward. I respect that - but I also found it disappointing to see someone complaining about this not supporting more flexible value choices when technically, we can easily do so…

Cheers,
Michael