Re: [trill] Tsvart early review of draft-ietf-trill-over-ip-10

Donald Eastlake <d3e3e3@gmail.com> Fri, 02 February 2018 20:58 UTC

Return-Path: <d3e3e3@gmail.com>
X-Original-To: trill@ietfa.amsl.com
Delivered-To: trill@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F5A11243FE; Fri, 2 Feb 2018 12:58:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, 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 yd_nDN-pWleQ; Fri, 2 Feb 2018 12:58:39 -0800 (PST)
Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (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 70466124E15; Fri, 2 Feb 2018 12:58:39 -0800 (PST)
Received: by mail-oi0-x230.google.com with SMTP id k15so17021608oib.1; Fri, 02 Feb 2018 12:58:39 -0800 (PST)
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=2tKBc3iOgJq5KxMyxXGFgmCWI6oI+wRQuD48DGaav2g=; b=aJDhJ013CvfmcgxH9/+guIdItVr03+e6petH2YYg8e2mRAwyPEvbucTVS9erE/U5nz ICK2VYPzM/cdd4sXzOYFDxrBhTdNDmIq/28oT9O+gdEjAIaAsw/LoErzy+x/9ogIBlqr 2/2HojEaCyNuKH5CmB5PPT9aNR7xozy3P4QPkNkzUOfsGgogYpSqmUF8c3YpUp9DIH7q Iwb9LUqKdhnm7vGCDj+s3Z1YEkVgWHJhpUQsZnnKqwmmD3rHyO7cdZJMytM464W7BzEf OhGdt3Sa32Y7KtMC/KZiQJtPKlg6/2n3Mj2q5xbeMJOXBKXAP2m5zdABmUFp1jNuT5V6 bzJw==
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=2tKBc3iOgJq5KxMyxXGFgmCWI6oI+wRQuD48DGaav2g=; b=Ao1lhoERUqNQzMm/F0YHonR/bHoNHqZqws+yDoe7Zt13y+XlVof1CHkzONs+lLgCq/ MkEOIhgdqVqvjOy+qVe4bkdLGUHBTcZFPRLWo6qTHockiE3Kdsvozav2Q2p/UxR2xYXt Htj0HS1dwa91S3uV+Edum4opH15C6ktHzmk/FFTl7pngJk61tOCowVG6XJkpqzeNSJy2 zCwrW4UMNRDSXN4nEKI/VxhxukQfZlvLY5LzhDCBpjRF8aub8sxiq0vCgfT8u3upxX1q GSTnuydNFxjZ9b7BNeVwTrvx0jWxSyZ13kjiLAHK5jV1igoSK2oIwS9H3rT8uzP3qY/M QC+Q==
X-Gm-Message-State: AKwxytdrG12nWVkwLTELkDzBSyprv6TwEoFv2jYJ/LyVCwdHFOjqqKqd lL/om6Qtcxm6zNj3vwyx8Sll4c4W160p25YMhNjFnbzw
X-Google-Smtp-Source: AH8x227byNq+FCBzgdr1iM5cNAzgnzKoZlaFFFJYbuOrYA1GvvoXNNlzC14nGVHxbDKPNxPRNYihJBDCHyt2MxtkVCg=
X-Received: by 10.202.80.79 with SMTP id e76mr15708503oib.304.1517605118503; Fri, 02 Feb 2018 12:58:38 -0800 (PST)
MIME-Version: 1.0
Received: by 10.168.67.205 with HTTP; Fri, 2 Feb 2018 12:58:23 -0800 (PST)
In-Reply-To: <e4cb17c2-188a-4201-8803-34437e38c36b@ericsson.com>
References: <149754795560.13109.17521244075940607817@ietfa.amsl.com> <CAF4+nEG-28weDot9R9Z4-05PX1tzBoKZSOHu8BJY2GiRzOv0nA@mail.gmail.com> <52E4A8FC978E0241AE652516E24CAF0029AC2251@ESESSMB103.ericsson.se> <CAF4+nEEhaY+gtyjhVN1uzwgJ8m5oy1VU3urdH_hh-2KYV+NXLQ@mail.gmail.com> <CAF4+nEEaJr7RwAaQx59fTvAhh0qy1NRqPx4HREvzGPRHqdx++w@mail.gmail.com> <e4cb17c2-188a-4201-8803-34437e38c36b@ericsson.com>
From: Donald Eastlake <d3e3e3@gmail.com>
Date: Fri, 02 Feb 2018 15:58:23 -0500
Message-ID: <CAF4+nEHuZ0+5s8sRc-ejd-VkORKzkSx5oTk1fttoErgN90-i0A@mail.gmail.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
Cc: "tsv-art@ietf.org" <tsv-art@ietf.org>, "trill@ietf.org" <trill@ietf.org>, "draft-ietf-trill-over-ip.all@ietf.org" <draft-ietf-trill-over-ip.all@ietf.org>
Content-Type: multipart/alternative; boundary="001a113b10b6ff7184056440f949"
Archived-At: <https://mailarchive.ietf.org/arch/msg/trill/UziHxXkBo1SOzCdJUGCOU_0lDe8>
Subject: Re: [trill] Tsvart early review of draft-ietf-trill-over-ip-10
X-BeenThere: trill@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Developing a hybrid router/bridge." <trill.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trill>, <mailto:trill-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/trill/>
List-Post: <mailto:trill@ietf.org>
List-Help: <mailto:trill-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trill>, <mailto:trill-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 02 Feb 2018 20:58:43 -0000

Hi Magnus,

Thanks for the quick response.

On Fri, Feb 2, 2018 at 4:29 AM, Magnus Westerlund <
magnus.westerlund@ericsson.com> wrote:

> Hi Donald,
>
> I have reviewed the changes and my comments. Please see inline for my
> feedback. I will remove text not necessary to provide context. It is almost
> ready now. There are two areas where I think there needs to be some further
> improvements, DSCPs and TCP encapsulation. But the needed changes are
> relatively straightforward.
>
> Den 2018-01-31 kl. 06:25, skrev Donald Eastlake:
>
> Hi Magnus,
>
> It has been a while but the just posted version -12 is intended to
> resolve your comments except those related to middle boxes. (The TRILL
> WG has decided middle boxes will be out of scope for this draft.)
>
>
>
> On Thu, Jun 29, 2017 at 10:17 PM, Donald Eastlake <d3e3e3@gmail.com> <d3e3e3@gmail.com> wrote:
>
> On Tue, Jun 27, 2017 at 1:13 PM, Magnus Westerlund<magnus.westerlund@ericsson.com> <magnus.westerlund@ericsson.com> wrote:
>
> Den 2017-06-26 kl. 02:07, skrev Donald Eastlake:
>
> On Thu, Jun 15, 2017 at 1:32 PM, Magnus Westerlund<magnus.westerlund@ericsson.com> <magnus.westerlund@ericsson.com> wrote:
>
>
> Diffserv usage
> --------------
>
> Section 4.3:
>
>
> The new text from -12:
>
>    The default TRILL priority and DEI to DSCP mapping, which may be
>    configured per TRILL over IP port, is an follows. Note that the DEI
>    value does not affect the default mapping and, to provide a
>    potentially lower priority service than the default priority 0,
>    priority 1 is considered lower priority than 0. So the priority
>    sequence from lower to higher priority is 1, 0, 2, 3, 4, 5, 6, 7, as
>    it is in [802.1Q].
>
>       TRILL Priority  DEI  DSCP Field (Binary/decimal)
>       --------------  ---  -----------------------------
>                   0   0/1  001000 / 8
>                   1   0/1  000010 / 0
>                   2   0/1  010000 / 16
>                   3   0/1  011000 / 24
>                   4   0/1  100000 / 32
>                   5   0/1  101000 / 40
>                   6   0/1  110000 / 48
>                   7   0/1  111000 / 56
>
>    The above all follow the recommended DSCP values from [RFC2474]
>    except for the placing of priority 1 below priority 0, as specified
>    in [802.1Q], and for the DSCP value of 000010 binary for low effort
>    as recommended in [LEphb].
>
>
> I don't really understand this change. Now you have priority 1 which
> points to the proposed new mapping for Lower than Best Effort, being the
> least prioritized. Then priority 0 intended to be more prioritized is CS1
> which may still be lower than best effort (thus basically same as prio 1),
> or end up being receiving a more prioritized PHB than best effort. Why
> isn't 0 mapped to best effort (000000)? That appears that it would provide
> a more consistent behaviour.
>

I think that in updating this section there was too much focus on updating
the DSCP value for low effort and not as much focus on the rest. We'll see
what we can do to straighten this out.

> MTU and Fragmentation
> ---------------------
>
>
> With the changes introduced and the no middlebox applicability it looks
> like the issues are resolved.
>

Thanks

> Zero Checksum:
> --------------
>
>
> The IPv6 zero checksum section (5.4.2) looks good.
>

Thanks

> TCP Encapsulation issue
> -----------------------
>
> So the TCP encapsulation section (5.6) is significantly improved, but some
> comments:
>
>
> "All packets in a particular TCP stream SHOULD use the same DSCP
> codepoint or packet re-ordering may occur."
>
>
>
>
>
>
> I think that SHOULD is a MUST. You get no benefit from trying to send
> different packets in a TCP connection with different DSCPs. It will really
> only result in reordering, and additional retransmissions. Also the TCP
> stacks Head of line blocking will also not really allow any received
> payload to be released early. Thus, only downsides and now gain to use
> different DSCPs for a single connection.
>
> "It is RECOMMEDED that
>    at least two TCP connections be provided, for example one for
>    priority 6 and 7 traffic and one for priority 0 through 5 taffice, in
>    order to insure that urgent control traffic, including control
>    traffic related to establishing and maintaining adjacency, is not
>    significantly delayed by lower priority traffic."
>
> I think this is fine, there is one potential issue here, but likely not a
> significant. If the high priority traffic is very sparse, then the TCP
> connection marked with a higher priority DSCP may have a very small
> congestion window. So when the high priority traffic is to be sent it will
> in fact be delayed more by the TCP stacks congestion control than the lower
> priority that has a larger window established. However, that is only really
> an issue if the high priority traffic is multiple packets that comes in
> burst. Also, if there is on path contention the lower priority traffic may
> still not make it even if sent earlier, so not using a high priority DSCP
> is not really an option either.
>
> I think the IP/TCP/Trill and TCP header figures are simply non-relevant
> here. I think they can give the impression that a receiving node can
> process each TCP packet individually rather than running a full TCP
> implementation here. What is relevant is the framing format that delimit
> each Trill packet sent by TCP.
>

OK.

+--------+-------- // ----+ | Length | TRILL packet   |
>       +--------+----- // -------+
>
> The above figure is a bit confusing, I assume the intention is to indicate
> previous Trill packet with framing and the following one. I think you be
> more explicit about that as an explanation.
>

That figure is intended to be the more detailed expansion of the "Framed
TRILL Payload material" that appears in the IP/TCP/Trill and TCP header
figures shortly above it. More explanation can be added here.


>          If the
>          initial 2 bytes of the TRILL packet are not one of these
>          Ethertypes, then the receiver assumes that framing
>          synchronization has been lost and MUST close that TCP
>          connection.
>
> Yes, this is very important text. I would recommend that it is moved into
> its own paragraph rather than hidden in a figure explanation.
>

OK.


> I am also missing the specification what to do when one has closed the
> connection. I assume that it is to have either part re-initiate. But, is it
> the closing party (receiver) that should do this, or the sending part? As
> TCP connections are bi-directional, but I assume that these are used only
> unidirectionally, and thus it matters who should establish them in relation
> to signalling? Congestion Control
>

There should probably be a paragraph on TCP connection establishment
including how to handle this case.

> Flow and ECMP
> -------------
>
> Issues resolved in the more limited applicability scope.
>

Thanks.

> NAT and TRILL over IP:
>
>
> I think it is fine with the WG saying that NATs are out of scope for
> Trill. However, I really think you need to say this upfront in the document
> that this specification relies on that there are no NAT in the path between
> the trill nodes using this specification. And be explicit if there would be
> NATs then things will not work as intended.
>

OK

Thanks,
Donald
===============================
 Donald E. Eastlake 3rd   +1-508-333-2270 (cell)
 155 Beaver Street, Milford, MA 01757 USA
 d3e3e3@gmail.com

Cheers
>
> Magnus Westerlund
>
> ----------------------------------------------------------------------
> Media Technologies, Ericsson Research
> ----------------------------------------------------------------------
> Ericsson AB                 | Phone  +46 10 7148287 <+46%2010%20714%2082%2087>Torshamnsgatan 23 <https://maps.google.com/?q=Torshamnsgatan+23&entry=gmail&source=g>           | Mobile +46 73 0949079 <+46%2073%20094%2090%2079>
> SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
> ----------------------------------------------------------------------
>
>