Re: [rtcweb] Issue with "priority" defined in rtcweb-transports

Bernard Aboba <bernard.aboba@gmail.com> Tue, 17 October 2017 23:23 UTC

Return-Path: <bernard.aboba@gmail.com>
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 8AAFE13300C for <rtcweb@ietfa.amsl.com>; Tue, 17 Oct 2017 16:23:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 S4RKLp6_XgSC for <rtcweb@ietfa.amsl.com>; Tue, 17 Oct 2017 16:23:28 -0700 (PDT)
Received: from mail-vk0-x22b.google.com (mail-vk0-x22b.google.com [IPv6:2607:f8b0:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E1B5132620 for <rtcweb@ietf.org>; Tue, 17 Oct 2017 16:23:28 -0700 (PDT)
Received: by mail-vk0-x22b.google.com with SMTP id b5so2198934vkf.12 for <rtcweb@ietf.org>; Tue, 17 Oct 2017 16:23:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FQWesU7CBVf9GF0bEsv8jTFDPcN7nx1uLoswSOcbqhU=; b=GUiRfc4kHIitJP8AwSlNuZt7ZwS9BsId6SWdeg22fLHGrRfVWiftYuHeNIiEVN2bCL Jann64nWMxm6GanLFPwE3AJY1LXOCekHC7qpy6i81hJA5U72hleY0RLeMLgkBfRQAYdj rivBEw2wRu6nGr/wo1ylE/euL2+ai2yuKK457AB83Bm/2k9I1iO4xkUTKyjlWwXtWSV/ pPWewsXQKOYK3G1SiN4xAsGjTPbn9QHoWsAGNjNK+3W4ev/drg6kxpZhH8kMo2aO9ZpB 63jCobvgbcfNSzRnAYL7xAWIGR2B909RNOJLFdfw7OZQZTUzlQ5ZchHeBNXLslDpQzyW qL6Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FQWesU7CBVf9GF0bEsv8jTFDPcN7nx1uLoswSOcbqhU=; b=BpQiQDyYwWPROmDoJXcrTl6QBb1cSFFesij4isvWzJzxfcrY76kgl2bvGt6w51fhXT blvX8bDI+ZdUgZQgxrnT+a7r8kkUND6zfNb0T7qX/DVu1/Dwi7G9yLPE7yBkovl9LmYH 9uF9z24VX+l22xIcBn/aj3Ih0PnuSCPtSwuBrPSAqGRkhdW3Xb8xSxfZUA7GBDnp2b3O LoNbyemtH9yVNmnwLQwRWtMLDZaxW2QqKc/DDEVbwArBU/EPPi6PC25fIWm9ZmHYEW2N dA47y9B4WvSGok2cmIKjxlitbG03wLCm8dM/rVxhfJxbVkhHOhdqTCKNbMdoWNROrgWh Vb0w==
X-Gm-Message-State: AMCzsaW/+PbByrkeHErK16i5oSMjdgbpbN9oxZYIWZ/s26TVjhraFJLM HEW9g/7AiWr6qnX+JN44PZZ9DrlgEtcRdj1GlQk=
X-Google-Smtp-Source: ABhQp+SitqAWKtly2Wjv/z7xhS7TtsUvISK/T/H3weDi0EKs//WRcWFsjy6n5KffGoF4oswzU8Hf8bz5wNlY08y6UnE=
X-Received: by 10.31.63.144 with SMTP id m138mr4193302vka.5.1508282606836; Tue, 17 Oct 2017 16:23:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.159.32.76 with HTTP; Tue, 17 Oct 2017 16:23:06 -0700 (PDT)
In-Reply-To: <CAK35n0ZkmvRyGGw5Zc2XoZ4WsF+XJ5qBbxa4wt+j1wtjZJinBw@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>
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Tue, 17 Oct 2017 16:23:06 -0700
Message-ID: <CAOW+2dv6qEGAEW8_bp1g2=O4SH1YEdAFrKow388oy-UzdCteBg@mail.gmail.com>
To: Taylor Brandstetter <deadbeef@google.com>
Cc: Harald Alvestrand <harald@alvestrand.no>, RTCWeb IETF <rtcweb@ietf.org>
Content-Type: multipart/alternative; boundary="001a114dbff40064d8055bc66940"
Archived-At: <https://mailarchive.ietf.org/arch/msg/rtcweb/6hGm8tdv9VFLkUoz4l78bpbOYWg>
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: Tue, 17 Oct 2017 23:23:30 -0000

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
>
>