Re: [core] draft-tschofenig-core-coap-tcp-tls-03 : TCP Session Establishment

"weigengyu" <weigengyu@bupt.edu.cn> Fri, 24 April 2015 02:10 UTC

Return-Path: <weigengyu@bupt.edu.cn>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B8DE1A0023 for <core@ietfa.amsl.com>; Thu, 23 Apr 2015 19:10:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.228
X-Spam-Level: *
X-Spam-Status: No, score=1.228 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_PASS=-0.001, STOX_REPLY_TYPE=0.439, T_RP_MATCHES_RCVD=-0.01] autolearn=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 hGYmPWwoefe6 for <core@ietfa.amsl.com>; Thu, 23 Apr 2015 19:10:07 -0700 (PDT)
Received: from mx1.bupt.edu.cn (mx1.bupt.edu.cn [211.68.68.2]) by ietfa.amsl.com (Postfix) with ESMTP id A77981A0275 for <core@ietf.org>; Thu, 23 Apr 2015 19:10:02 -0700 (PDT)
Received: from mx1.bupt.edu.cn (unknown [127.0.0.1]) by mx1.bupt.edu.cn (AnyMacro(G7)) with SMTP id DD49E19F3B9 for <core@ietf.org>; Fri, 24 Apr 2015 10:10:00 +0800 (HKT)
Received: from WeiGengyuPC (unknown [10.103.243.220]) by mx1.bupt.edu.cn (AnyMacro(G7)) with ESMTPA id A221D19F3AE; Fri, 24 Apr 2015 10:10:00 +0800 (HKT)
Message-ID: <3426872F2F3E4ED1B1CC8B3C6532B8A2@WeiGengyuPC>
From: weigengyu <weigengyu@bupt.edu.cn>
To: Carsten Bormann <cabo@tzi.org>
References: <9966516C6EB5FC4381E05BF80AA55F77B225BB90@US70UWXCHMBA05.zam.alcatel-lucent.com> <etPan.55317232.63a14e26.2525@alma.local> <9966516C6EB5FC4381E05BF80AA55F77B225BC27@US70UWXCHMBA05.zam.alcatel-lucent.com> <etPan.55317984.3602c202.2525@alma.local> <9966516C6EB5FC4381E05BF80AA55F77B225BC62@US70UWXCHMBA05.zam.alcatel-lucent.com> <FA343DFB62C6491DA5E82CCEA1574482@WeiGengyuPC> <9966516C6EB5FC4381E05BF80AA55F77B225F52B@US70UWXCHMBA05.zam.alcatel-lucent.com> <D90B31376C984E6F9DD11BF9DEAFE84A@WeiGengyuPC> <FC09CEBD05554E119046D876D7B55614@WeiGengyuPC> <5538976A.6020906@tzi.org>
In-Reply-To: <5538976A.6020906@tzi.org>
Date: Fri, 24 Apr 2015 10:10:00 +0800
Organization: BUPT
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="utf-8"; reply-type="original"
Content-Transfer-Encoding: 8bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 16.4.3528.331
X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331
Archived-At: <http://mailarchive.ietf.org/arch/msg/core/Vu_fu2mptvk1D9KLxMU_kB8KOyM>
Cc: "Carey, Timothy (Timothy)" <timothy.carey@alcatel-lucent.com>, core@ietf.org
Subject: Re: [core] draft-tschofenig-core-coap-tcp-tls-03 : TCP Session Establishment
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Apr 2015 02:10:09 -0000

Grüße, Carsten wrote:
> (Talking about the UDP case:)
> That is indeed an area where the current IPv6 architecture doesn't
> provide as much help as one would like it to.  The MTU is not
> necessarily a good choice, in particular when hops with adaptation layer
> fragmentation are involved.

I agree.
MTU just limits the largest size of PDU.
And it is short of standards to tell what is the fittest and most efficient.

To get efficient tranfer within a constrained network,
it is likely to get one application message into one data link frame.
But, the application has no way to have this cross layer information.

Maybe, it is required to define something as draft-bormann-intarea-alfi-04.

Regards,

Gengyu WEI
Network Technology Center
School of Computer
Beijing University of Posts and Telecommunications
-----原始邮件----- 
From: Carsten Bormann
Sent: Thursday, April 23, 2015 2:55 PM
To: weigengyu
Cc: Carey, Timothy (Timothy) ; core@ietf.org
Subject: Re: [core] draft-tschofenig-core-coap-tcp-tls-03 : TCP Session 
Establishment

weigengyu wrote:
> But what the application depends on to make the decision?
> From the viewpoint of network, it should be MTU.
> The MTU limits the size of UDP and CoAP message.

(Talking about the UDP case:)
That is indeed an area where the current IPv6 architecture doesn't
provide as much help as one would like it to.  The MTU is not
necessarily a good choice, in particular when hops with adaptation layer
fragmentation are involved.

The problem is mitigated a bit by the fact that usually a constrained
network with a preference for small packets is the last (incoming) or
first (outgoing) hop to a constrained node, so this node may have more
insight into good packet size choices than the network as a whole is
able to provide.  Using -block, this node can then communicate its
choice to a peer.

A while ago, I have proposed a way to get more (and more detailed)
information out of the network:
https://tools.ietf.org/html/draft-bormann-intarea-alfi-04
Earlier drafts of that had the problem that IPv6 hop-by-hop options tend
not to traverse the general Internet intact.  So I came up with a
SPUD-like alternative solution in -04 (see its section 5:
https://tools.ietf.org/html/draft-bormann-intarea-alfi-04#section-5
).  With (the real) SPUD now being looked at for communication to
middleboxes in general, that basic approach might actually go forward later.

Grüße, Carsten