Re: [rtcweb] DSCP marking for STUN packets

Harald Alvestrand <harald@alvestrand.no> Thu, 13 March 2014 21:26 UTC

Return-Path: <harald@alvestrand.no>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03FDB1A0A28 for <rtcweb@ietfa.amsl.com>; Thu, 13 Mar 2014 14:26:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.447
X-Spam-Level:
X-Spam-Status: No, score=-2.447 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.547] autolearn=ham
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 Tzgrz--cQ3Ip for <rtcweb@ietfa.amsl.com>; Thu, 13 Mar 2014 14:26:13 -0700 (PDT)
Received: from mork.alvestrand.no (mork.alvestrand.no [158.38.152.117]) by ietfa.amsl.com (Postfix) with ESMTP id CEF191A07C8 for <rtcweb@ietf.org>; Thu, 13 Mar 2014 14:26:12 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mork.alvestrand.no (Postfix) with ESMTP id 4E63E7C4E43; Thu, 13 Mar 2014 22:26:05 +0100 (CET)
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 y09yqarwXrll; Thu, 13 Mar 2014 22:25:52 +0100 (CET)
Received: from [IPv6:2001:470:de0a:27:350e:e079:732a:d69a] (unknown [IPv6:2001:470:de0a:27:350e:e079:732a:d69a]) by mork.alvestrand.no (Postfix) with ESMTPSA id 756967C4D83; Thu, 13 Mar 2014 22:25:52 +0100 (CET)
Message-ID: <53222260.5000508@alvestrand.no>
Date: Thu, 13 Mar 2014 22:25:52 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Dave Taht <dave.taht@gmail.com>, Justin Uberti <juberti@google.com>
References: <E721D8C6A2E1544DB2DEBC313AF54DE22E30E33C@xmb-rcd-x02.cisco.com> <CAOJ7v-2jnBAPEhkxjgRtNyntWPL6KBB-PQSLkUPUu91QHoPr3g@mail.gmail.com> <201403102057.s2AKv90t026761@rcdn-core-5.cisco.com> <531F176C.2070305@viagenie.ca> <531F212A.4040102@alvestrand.no> <CAA93jw6p=E6T_+CNRFs+OmiBTpZo1-UAENi=i95iboV-c+H1Lg@mail.gmail.com> <CAOJ7v-1S_4HnCnLF53fQf1Mq5hcGu+T2QrtqPQUSR=1zSxFOdg@mail.gmail.com> <CAA93jw6mkAeBSoVxsEFnm-c_+nx56w8yKbjqnnWZWZ7SvFyD+g@mail.gmail.com>
In-Reply-To: <CAA93jw6mkAeBSoVxsEFnm-c_+nx56w8yKbjqnnWZWZ7SvFyD+g@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/xrGgaHOXqTSPl2cfkFUA_63SP7s
Cc: Keith Winstein <keithw@mit.edu>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] DSCP marking for STUN packets
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 13 Mar 2014 21:26:17 -0000

On 03/12/2014 09:35 AM, Dave Taht wrote:
> On Wed, Mar 12, 2014 at 3:55 AM, Justin Uberti <juberti@google.com> wrote:
>>
>>
>> On Tue, Mar 11, 2014 at 10:17 AM, Dave Taht <dave.taht@gmail.com> wrote:
>
>>>> Whether that always translates to "the highest DSCP code point" is ....
>>>> a good question.
>>> It doesn't.  Keith added af42 support to mosh last year and had several
>>> reports of packets being dropped with that marking. Worse the drops happened
>>> after 10 seconds of connectivity.
>>>
>>> Ecn markings on the other hand have thus far survived (if occasionally
>>> stomped on) across the open internet in that protocol.
>>
>> This is a concern of mine as well, which is why we haven't yet flipped the
>> switch to turn DSCP on by default in Chrome. I think we'll need to do some
>> experimentation to see how often DSCP makes things worse.
> Well, while I'm at this, I note that how linux handles DSCP in WIFI 802.11e
> is generally suboptimal. the CS6 and CS7 bit patterns map to the VO
> queue which is not aggregatable in wireless-n, CS4 and CS5
> map to the VI queue which has a lot of good properties for videoconference
> and voice traffic (but limited aggregation), and CS1 and CS2, which map
> to the background queue, which has good aggregation but limited txops.
That sounds like a Linux bug.... I would expect this translation to be 
done via lookup tables, not copying one field into another with 
different semantics (with or without bit-shift).

>
> I no longer have the bit patterns for AFxx memorized, but basically
> all that was returned to the 802.11e classifier was dscp >> 5 up until very
> recently. Lastly, there really is no interpretation whatsoever of the AF
> classes equating to "drop probability" in wifi (at least in lnux), they merely
> control queue selection and
>
> it is generally better with wireless-n to aim for better aggregation in
> one queue rather than using multiple queues as the cost of acquiring
> the media dominates.
>
>
>