Re: [Tsv-art] Tsvart early review of draft-ietf-trill-over-ip-10 - ECN & DSCP considerations

Wesley Eddy <wes@mti-systems.com> Thu, 13 July 2017 13:41 UTC

Return-Path: <wes@mti-systems.com>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 039C6131A6F for <tsv-art@ietfa.amsl.com>; Thu, 13 Jul 2017 06:41:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mti-systems-com.20150623.gappssmtp.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 Kc5gUgS9VMZ8 for <tsv-art@ietfa.amsl.com>; Thu, 13 Jul 2017 06:41:27 -0700 (PDT)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 38B5C131699 for <tsv-art@ietf.org>; Thu, 13 Jul 2017 06:41:27 -0700 (PDT)
Received: by mail-it0-x231.google.com with SMTP id m68so39330690ith.1 for <tsv-art@ietf.org>; Thu, 13 Jul 2017 06:41:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mti-systems-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=UbBz/BauU5SvgRHrEIXEp1ICLdyYWOjivpvZJe9qIdk=; b=kWS5i9j8FLF8efgb0GLCmQrr6ZOEB7TnvBdEg1G92ONuS/aZmz58QuEjlqDPxmT1Tr nC6HXYx8+vqcQFV7UVs3T8Wd0UNY0edyPTafJzVZm66X3Cji1UTMhzbjspgGWqFrOR9T KQM+v6r4+jk3FBpI0Yyw3sQoZEMu3bm1nCFACEHGPngbOmtXFLzWMMlpL8rox/JD5bw9 QU6OwXSao5cczbimY34LPmZDh91F8dTuwCJv9aFzQUK3QPVGiBHP/sSbXGK+9ADqtGjn N7fuGkknNy4HPU0ACeiKBaP2LRRSKBSEhXMt64E00M4SBrmImyusK1VBIaMNMgb8PnMO FocQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=UbBz/BauU5SvgRHrEIXEp1ICLdyYWOjivpvZJe9qIdk=; b=pS6dwPxxWTkMVM2XUcU42k8kV/kSEc4F7NS4UDUw1HkgCTCfVFmlPjCgJ+JqN1/wKo YNAflGYmLaf169P0jVHgbNScYR1G0qTKDvjOqRYFY+pC2K9ll570ZkCAzgsp8oZ0xYBK kaUF7doNJs2RbHxQR5phU+lDt+eKHcbcVS8CPNSh472gkuRAFVt+KxUWNfis9Zss9tAB a6KM5nDQBH2/44EvB+HkYoBJDfnYD+LZY09hMmiDbRsv/uLqhcD4fD10Stbm6eSQr3MO qKLZOFmPuOEtWGp7TVKr5S/gCAclMpraStD+ys7lW8MvzEZoLJ4YMNSC3eGZBHeZ3+8p dENA==
X-Gm-Message-State: AIVw110C0tiLyugihosqJamAvlyLveMVQoBJjPuDtUM1xIOkDES0MRes wVOPnzaXPzIswii2P72WAQ==
X-Received: by 10.36.58.6 with SMTP id m6mr26706392itm.43.1499953286312; Thu, 13 Jul 2017 06:41:26 -0700 (PDT)
Received: from [192.168.1.105] (cpe-76-188-215-129.neo.res.rr.com. [76.188.215.129]) by smtp.gmail.com with ESMTPSA id i139sm2740960iti.17.2017.07.13.06.41.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2017 06:41:25 -0700 (PDT)
To: Joe Touch <touch@isi.edu>, tsv-art@ietf.org
References: <CE03DB3D7B45C245BCA0D243277949362FB4DF88@MX307CL04.corp.emc.com> <CAF4+nEFUmB=eMO6rvK6-YiL+3Adp_t1QVqgMDBHZFn73_JxEfw@mail.gmail.com> <CE03DB3D7B45C245BCA0D243277949362FB59E00@MX307CL04.corp.emc.com> <CAF4+nEEdv8XRSKmpffe1fU+4wRpikeixzX-49g1ocQSJBaqgSg@mail.gmail.com> <67476ec5-2e50-bd27-de97-16aaabc9c078@mti-systems.com> <1dcb8ba7-5403-435f-9637-1b2cdf2f5247@isi.edu> <bffd51e8-7bc0-5e7d-319a-f13a0058f606@isi.edu>
From: Wesley Eddy <wes@mti-systems.com>
Message-ID: <52bbffe7-0f6d-dfc0-dcc0-b0eb491f9aa9@mti-systems.com>
Date: Thu, 13 Jul 2017 09:41:24 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <bffd51e8-7bc0-5e7d-319a-f13a0058f606@isi.edu>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/CSGjFVfaL0mtJ31rbza3kGsU_Ho>
Subject: Re: [Tsv-art] Tsvart early review of draft-ietf-trill-over-ip-10 - ECN & DSCP considerations
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Jul 2017 13:41:29 -0000

I agree on all points, and with the absurdity of trying to change DSCP 
on a TCP connection per encapsulated packet.  If the DSCP values used 
for a TCP connection change over time, it should be "coarse grained" 
(e.g. with say hundreds or thousands of segments in between changes) and 
not anywhere near per-segment.

But while obvious to us, I don't think this is in any RFC to be quoted.


On 7/13/2017 8:59 AM, Joe Touch wrote:
> Two additional points that are very important for this doc:
>
> 1) RFC1122 admits there might not even be an API to make such a change
> after a connection has been established, so trill-over-IP cannot rely on
> it and must explain what to do if that API is not supported.
>
> 2) RFC1122 mentions this as an API issue - there is NO way that TCP can
> know which trill packets will end up in a given TCP segment from the
> existing TCP API, thus it would never be clear how or when to make such
> a TOS/DSCP change unless it was persistent and relatively stable (again,
> that's the intent AFAICT from the RFC1122 text).
>
> Using TCP is *never* merely a matter of "throw on a TCP header".
>
> Joe
>
>
> On 7/13/2017 5:41 AM, Joe Touch wrote:
>> Hi, Wes (et al.),
>>
>>
>> On 7/12/2017 12:31 PM, Wesley Eddy wrote:
>>> On 7/1/2017 2:03 PM, Donald Eastlake wrote:
>>>> On Sat, Jul 1, 2017 at 10:53 AM, Black, David <David.Black@dell.com>
>>>> wrote:
>>>>> Also, as noted earlier in this discussion, RFC 7657 explicitly
>>>>> discourages use of multiple DSCPs in a single TCP connection.  That
>>>>> needs to be reflected in the TCP encapsulation text in the
>>>>> trill-over-ip draft - in particular, the current text in Section 4.3
>>>>> on mapping to DSCPs from TRILL priority and DEI does not appear to
>>>>> be consistent with RFC 7657 for TCP-based encapsulation.
>>>> I'm surprised it only "discourages" rather than "prohibits"...
>>>>
>>>>
>>> RFC 1122 section 4.2.4.2 might be of interest.
>>>
>>> It says that TOS "SHOULD" be able to change during TCP connection
>>> lifetime.  The example given there is an SMTP connection whose nature
>>> might change during its lifetime.
>>>
>>> I'm not saying whether or not this is really still a sensible concern,
>>> just pointing it out.
>>>
>>> The change from TOS to DSCP terminology and semantics didn't make any
>>> change here as far as I can tell.
>> Agreed, but only on that point.
>>
>> My interpretation of the relevant RFC1122 text is that it's OK for a TCP
>> session to "shift" from one TOS (or DSCP) to another when the nature of
>> its transfer changes. I would expect those changes to be infrequent and
>> atypical.
>>
>> I would not expect a single TCP connection to issue individual segments
>> with TOS (or DSCP) values that change nearly every segment, which would
>> be the consequence of copying those values from the payload of
>> encapsulated traffic. Furthermore, it would be impossible to determine
>> the appropriate DSCP values when a segment contains all or part of more
>> than one encapsulated packet with different values.
>>
>> Joe
>>
>> _______________________________________________
>> Tsv-art mailing list
>> Tsv-art@ietf.org
>> https://www.ietf.org/mailman/listinfo/tsv-art