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

Brian E Carpenter <brian.e.carpenter@gmail.com> Sun, 14 July 2013 20:51 UTC

Return-Path: <brian.e.carpenter@gmail.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 C32D521F99A0 for <tsvwg@ietfa.amsl.com>; Sun, 14 Jul 2013 13:51:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.207
X-Spam-Level:
X-Spam-Status: No, score=-102.207 tagged_above=-999 required=5 tests=[AWL=-0.208, BAYES_00=-2.599, J_CHICKENPOX_21=0.6, USER_IN_WHITELIST=-100]
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 Ky5jWnN0Q6Os for <tsvwg@ietfa.amsl.com>; Sun, 14 Jul 2013 13:51:45 -0700 (PDT)
Received: from mail-pb0-x22a.google.com (mail-pb0-x22a.google.com [IPv6:2607:f8b0:400e:c01::22a]) by ietfa.amsl.com (Postfix) with ESMTP id 3F67E21F999E for <tsvwg@ietf.org>; Sun, 14 Jul 2013 13:51:45 -0700 (PDT)
Received: by mail-pb0-f42.google.com with SMTP id un1so10636206pbc.29 for <tsvwg@ietf.org>; Sun, 14 Jul 2013 13:51:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=RKUzyAIuM99ufeeEXOQrYjL7uE6a+i0bAifLIGd2ewQ=; b=PypRK8wEybrsoljoxDx/9nHIf6SSzY3YiMhGxX2UtaslkMOuoNw/zhs2eDgURPiHOf 4yZ71jg1MFMgT+/7GrBMiT5Le+N4rM0FRF9bJuFqEjdF2e9ddegWMQeJihioNUJ9M9lH vYnERcX1Kq0bZhdLmLMmKIJ+01tXpusyQdDKHyXSpuFYnB8oDavthFV7ixSBIzVRWEQ7 IwR5yu/PQDAJwY5XkiEG+GQ/EFC4gNdkZegGc+Hm0evSz4exxpH44ALkNW0Awsnj8qip XZAwQvrKzUJf/qBLu/buGld0wDC2wAcaMLZa8FFNTSmu4mcYF2vYF6MllMWyxv75O0+b FXKA==
X-Received: by 10.68.170.227 with SMTP id ap3mr50408703pbc.194.1373835103978; Sun, 14 Jul 2013 13:51:43 -0700 (PDT)
Received: from [192.168.178.23] (163.194.69.111.dynamic.snap.net.nz. [111.69.194.163]) by mx.google.com with ESMTPSA id eg3sm60449354pac.1.2013.07.14.13.51.40 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 14 Jul 2013 13:51:43 -0700 (PDT)
Message-ID: <51E30F5B.3080603@gmail.com>
Date: Mon, 15 Jul 2013 08:51:39 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Andrew Mcgregor <andrewmcgr@google.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> <CAPRuP3nB46cQd0-sghDGv5jU+3VAzW-UqJbLFdYW1r+vSP0=eg@mail.gmail.com>
In-Reply-To: <CAPRuP3nB46cQd0-sghDGv5jU+3VAzW-UqJbLFdYW1r+vSP0=eg@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
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:51:45 -0000

On 15/07/2013 08:25, Andrew Mcgregor wrote:
> 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.

In that case, the error is using the PHB names in the first place. The
behaviours you're describing are *not* the PHBs whose names you are using.
They need new names that describe them correctly.

To reiterate, the binding between a behaviour such as EF or AFxy and a particular
DSCP value is locally defined. If the behaviour is in fact simple preemptive
priority, please don't call it something else. The fact that Linux gets it
wrong doesn't mean IETF documents should be wrong too.

   Brian

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