Re: [tsvwg] operational feedback regarding draft-ietf-tsvwg-le-phb-04

"Bless, Roland (TM)" <roland.bless@kit.edu> Mon, 09 April 2018 07:58 UTC

Return-Path: <roland.bless@kit.edu>
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 B7F2012D965 for <tsvwg@ietfa.amsl.com>; Mon, 9 Apr 2018 00:58:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 qRqwSDnMLDct for <tsvwg@ietfa.amsl.com>; Mon, 9 Apr 2018 00:58:04 -0700 (PDT)
Received: from iramx2.ira.uni-karlsruhe.de (iramx2.ira.uni-karlsruhe.de [141.3.10.81]) (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 A9B081242F7 for <tsvwg@ietf.org>; Mon, 9 Apr 2018 00:58:04 -0700 (PDT)
Received: from i72vorta.tm.uni-karlsruhe.de ([141.3.71.26] helo=i72vorta.tm.kit.edu) by iramx2.ira.uni-karlsruhe.de with esmtp port 25 iface 141.3.10.81 id 1f5Rgf-0002CE-QH; Mon, 09 Apr 2018 09:58:01 +0200
Received: from [IPv6:::1] (ip6-localhost [IPv6:::1]) by i72vorta.tm.kit.edu (Postfix) with ESMTPS id C0B23420341; Mon, 9 Apr 2018 09:58:01 +0200 (CEST)
To: Mikael Abrahamsson <swmike@swm.pp.se>, tsvwg@ietf.org
References: <alpine.DEB.2.20.1804060854370.18650@uplift.swm.pp.se>
From: "Bless, Roland (TM)" <roland.bless@kit.edu>
Organization: Institute of Telematics, Karlsruhe Institute of Technology
Message-ID: <6fb9733e-6a3e-e5af-09cc-ba57c96cdb73@kit.edu>
Date: Mon, 09 Apr 2018 09:58:01 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <alpine.DEB.2.20.1804060854370.18650@uplift.swm.pp.se>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-GB
Content-Transfer-Encoding: 8bit
X-ATIS-AV: ClamAV (iramx2.ira.uni-karlsruhe.de)
X-ATIS-Timestamp: iramx2.ira.uni-karlsruhe.de 1523260681.885676660
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/5MyNN-coLVBq1uUUDTw9XdlCWPQ>
Subject: Re: [tsvwg] operational feedback regarding draft-ietf-tsvwg-le-phb-04
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 09 Apr 2018 07:58:09 -0000

Hi Mikael,

see inline.

Am 06.04.2018 um 09:06 schrieb Mikael Abrahamsson:

> I have asked people in the operational community what they think about
> this proposal, and the little feedback I have received so far has been
> that one person thought CS1 should be used instead, others have said
> that 000001 seems fine. In the process of this there have been patches
> proposed for ssh which historically has been using TOS:
> 
> https://marc.info/?l=openbsd-tech&m=152251266032032&w=2

Wow, this recommends CS1 for LE which isn't good. It should use the
new LE codepoint then. I'm also not sure that scp always belongs to
the LE class...

> So it seems to me that there are applications out there that are using
> IPTOS_THROUGHPUT and IPTOS_LOWDELAY, in use today.
> 
> I found this in a header file:
> 
> /*
>  * Definitions for IP type of service (ip_tos)
>  */
> #define    IPTOS_LOWDELAY        0x10
> #define    IPTOS_THROUGHPUT    0x08
> #define    IPTOS_RELIABILITY    0x04
> 
> So trying to figure out what bits go where, right-shifting two times and
> trying to not get this wrong (I frequently have gotten it wrong, but
> let's try again):
> 
> IPTOS_LOWDELAY      DSCP 000100
> IPTOS_THROUGHPUT    DSCP 000010
> IPTOS_RELIABILITY   DSCP 000001
> 
> So does this mean that the new LE DSCP CP maps to IPTOS_RELIABILITY?

I would put it the other way round: if only the
IPTOS_RELIABILITY is set, it will be mapped to the LE DSCP.
So you are right here. However, RFC2474 already obsoleted the IP ToS
semantics:
   A replacement header field, called the DS field, is defined, which is
   intended to supersede the existing definitions of the IPv4 TOS octet
   [RFC791] and the IPv6 Traffic Class octet [IPv6].
...
   The structure of the DS field shown above is incompatible with the
   existing definition of the IPv4 TOS octet in [RFC791].
...
   No attempt is made to maintain backwards compatibility with the "DTR"
   or TOS bits of the IPv4 TOS octet, as defined in [RFC791].

RFC2474 only preserved the IP precedence semantics by defining the
class selector codepoints CSx. So, I don't see any problems here.

> Anyhow, I have also asked the RIPE Atlas team if they can do some
> measurement about bleaching in todays networks, seeing if there is any
> difference in bleaching for 000001 (LE) and 001000 (CS1).

I also asked them, but right now Atlas isn't supporting this type
of measurement.

> I will also ask around and see if there is anyone with sFlow dumping
> from a major IX that can tell me what DSCP code points they see in the
> wild, and if I can get a summary. Or has this work already been done so
> I don't need to?

More measurements are always good!
I think that the neat project and Gorry's group did some work, see:
https://www.ietf.org/proceedings/96/slides/slides-96-maprg-6.pdf
https://datatracker.ietf.org/meeting/99/materials/slides-99-tsvwg-sessb-31measurements-concerning-the-dscp-for-a-le-phb-00

Regards,
 Roland