Re: [tsvwg] draft-dhesikan-tsvwg-rtcweb-qos

Andrew Mcgregor <andrewmcgr@google.com> Sun, 14 July 2013 20:25 UTC

Return-Path: <andrewmcgr@google.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D70DF21F922A for <tsvwg@ietfa.amsl.com>; Sun, 14 Jul 2013 13:25:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.377
X-Spam-Level:
X-Spam-Status: No, score=-1.377 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_21=0.6, NO_RELAYS=-0.001]
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 2cQVEIwEZyXj for <tsvwg@ietfa.amsl.com>; Sun, 14 Jul 2013 13:25:14 -0700 (PDT)
Received: from mail-qa0-x231.google.com (mail-qa0-x231.google.com [IPv6:2607:f8b0:400d:c00::231]) by ietfa.amsl.com (Postfix) with ESMTP id 0BA6421F9D50 for <tsvwg@ietf.org>; Sun, 14 Jul 2013 13:25:13 -0700 (PDT)
Received: by mail-qa0-f49.google.com with SMTP id hu16so1250766qab.15 for <tsvwg@ietf.org>; Sun, 14 Jul 2013 13:25:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=w8Nimjwe3XmQHySgcoecDeYIsf0+sNgkcjGXMcxlSl4=; b=HxCd9CUvvOEOWkYwr55ovtY2d2RzfEpPq0B7mfKVls+YsNV9rK2EDHam3be2ojWboi p2v9S2tfAXUT58fyRa8qFmKt7YmzQtuwheft7XyId6hbgyLVVAv0BGvlXg/YBwzDOfm4 VlKHd7TmW2sWapZSSUDf7T2jKHVkPeM3ToOYMfudfxcXK7HtpqcQOcFFvOEDMmSKrDoD Rps5mVASTt6imr+JXF0Yt0Y1MjjpvykiGfPnDlWyAtbkpSdKMsiLdbVrn0n82URWveZn wZaj/pqpC85GXlwfftW0D4io/QczPQn/pgtljKDwlxeMDVN/lyTyYtoJNpQVHK3UTYTo io+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=w8Nimjwe3XmQHySgcoecDeYIsf0+sNgkcjGXMcxlSl4=; b=LRjWvTEus6B8p8LznkHt3plLqM0ct1/rKXge7QKneqSHfuAZL9MYy2qgpWvSPZRy3c sxJNYEEvpggBC1Djk1WO8QTn5Kwv6meMtOVWQaKOHW08/17+Xs3aHPy/QYswkGaPZcHn +YIzehRYGRG9mRhKfym5sunPoTasgGxPtbjTHjNk3HoDN6vErJFanuxBpfTkFb6A6Src 4TkHPdKqoiT2JO1WsDRBRkmz3cMCw4K5cKbhLpyduDqrKQEWCQTnzjmitZ9xcbvXIqQN CzhSzUkxdK2atpuMawiJB4hJ67ODLaPVR2pjoD5XC0/xyUeDxAb20F2TIYkFbAp84QH7 /oyQ==
MIME-Version: 1.0
X-Received: by 10.224.4.133 with SMTP id 5mr49244199qar.109.1373833513429; Sun, 14 Jul 2013 13:25:13 -0700 (PDT)
Received: by 10.224.137.196 with HTTP; Sun, 14 Jul 2013 13:25:13 -0700 (PDT)
In-Reply-To: <51E30523.2090805@gmail.com>
References: <32AE7F11-A06E-40C1-A73C-5C69F252DAF9@iii.ca> <51DBC3D3.3000300@erg.abdn.ac.uk> <CAA_e5Z71M-WWhDUdCOH+L2Ur+-YHYDoOhd2c50zwwM=RpfQZWQ@mail.gmail.com> <AAD74A5C56B6A249AA8C0D3B41F86990154362F4@xmb-aln-x10.cisco.com> <51E30523.2090805@gmail.com>
Date: Mon, 15 Jul 2013 06:25:13 +1000
Message-ID: <CAPRuP3nB46cQd0-sghDGv5jU+3VAzW-UqJbLFdYW1r+vSP0=eg@mail.gmail.com>
From: Andrew Mcgregor <andrewmcgr@google.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Content-Type: multipart/alternative; boundary="001a11c221088c83d604e17e8abc"
X-Gm-Message-State: ALoCoQlYcU/cIYcNpLbCe90j3gGo4PR1Wu+5TIgXAnctSl3DXnfnm8xbbJOy8aQp48ne4vnVsRDhfeo57SzoKMVh+udP2Zbc566zT5qjFGdNqqJ4fEfEOpqnSg3x9sCTi4NNdxPwiIOieO8czq4bQ3vhEgqRY4tXnZK6QHtFiQOE8+kOH2EYrMccNUokr6brTIIP+GKdtQfV
Cc: "gorry@erg.abdn.ac.uk" <gorry@erg.abdn.ac.uk>, tsvwg <tsvwg@ietf.org>, Andrew McGregor <andrewmcgr@gmail.com>
Subject: Re: [tsvwg] draft-dhesikan-tsvwg-rtcweb-qos
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tsvwg>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 14 Jul 2013 20:25:15 -0000

Nevertheless, specifying a priority order is exactly what tc_prio and
pfifo_fast do... I agree it's wrong, but that's what a very large number of
existing devices do right now, and ignoring that fact is likely to cause
problems.

Yes, this is unfortunately a mess, and I can't see a way to avoid that
completely.  The smaller set of codepoints I mention, AF42>AF33>AF21>(CS1
or BE), is not comprehensive, but is at least consistently ordered; the
tc_prio map unfortunately makes EF unusable because it ends up equivalent
to BE.

To clarify a little, I'm saying that AF42, AF32, AF22 and AF12 are all the
same so far as tc_prio is concerned, same for AF41, AF31, AF21 and AF11,
and the same for AF[1234]3.  So to get some consistency between the
schemes, I have chosen for example AF42, which is in the highest priority
band for both, AF33 for the second, AF21 for the third, and CS1 for the
fourth, although even that is not ideal because it puts AF21 in a
less-than-best-effort class while CS1 is equivalent to best-effort on the
linux-based devices.

There is considerable established practice within the game industry of
using QoS codepoints that do map to tc_prio bands.  Therefore there's a
commonly deployed base of both low-end routers and code that depend on that
behaviour, and attempting to standardise something that is inconsistent
with it seems like an exercise in futility.

I should point out that not every linux-based router does this, it is
certainly possible to get 4594 behaviour, or ignore the TOS bits entirely,
or do DPI to assign TOS, or remark, or pretty much any behaviour you might
imagine.  However, the majority of linux-based devices use very close to
the default configuration of the IP stack.

I believe rtcweb should be pragmatic about this, and accept that very
fine-grained marking is not going to fly in the majority of cases on the
edge of the internet, and take the benefits available from a restricted set
of codepoints that are at least widely available, reasonably consistent in
semantics, and commonly also result in correct behaviour from lower layers,
particularly 802.1p and 802.11e MAC QoS.

Andrew


On 15 July 2013 06:08, Brian E Carpenter <brian.e.carpenter@gmail.com>wrote:

> On 15/07/2013 06:46, Subha Dhesikan (sdhesika) wrote:
> ...
> > The other challenge I see is with the relative position of the values
> being different from what is traditionally known for DSCP where EF> AF4x
> >AF3x>... How have you handled it so far in a non-web rtc environment?
>
> I don't track rtcweb and have no intention of doing so, but what on earth
> do you
> mean by writing an inequality for DSCPs? DSCPs do not specify a priority
> order; they identify (locally) a PHB, which is essentially a queuing
> disciplime.
> Suggesting that EF is "greater" than an AF behaviour is just wrong.
>
>    Brian
>



-- 
Andrew McGregor | SRE | andrewmcgr@google.com | +61 4 8143 7128