Re: [nvo3] Encapsulation considerations

"Larry Kreeger (kreeger)" <kreeger@cisco.com> Tue, 14 April 2015 01:05 UTC

Return-Path: <kreeger@cisco.com>
X-Original-To: nvo3@ietfa.amsl.com
Delivered-To: nvo3@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 83C9C1B2BC4 for <nvo3@ietfa.amsl.com>; Mon, 13 Apr 2015 18:05:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.51
X-Spam-Level:
X-Spam-Status: No, score=-14.51 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham
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 1B0qPXzTSAOc for <nvo3@ietfa.amsl.com>; Mon, 13 Apr 2015 18:05:19 -0700 (PDT)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EA9961B2BD8 for <nvo3@ietf.org>; Mon, 13 Apr 2015 18:05:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=13971; q=dns/txt; s=iport; t=1428973505; x=1430183105; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=J8Ah9pYx5Cce3gd7CtRup3uW4GLr3zkdEELK9VKJqtU=; b=PTcZ4DcWf3AOBI2KJYWfncwogxEXY7gshBFZuGmFnHhoShni7n5fQDTn x9YDtDgyay07QWE7bBHNFR0U+Jf7p7EONE8BBT/uqP4MmIIuKj6QJPBlB UYH86Ve+dXu0FjS/8hiKSf5NXrtAm5fpXeL8vCXZSngq8e7hv2WvXrgmj M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BVBAAbZyxV/4cNJK1cgkVHUlAMBYMQwgYJgUQBCYYBAoFCOBQBAQEBAQEBfYQfAQEBBAEBAR4BTAsMBAIBCBEDAQEBEBgCAwIhBgsUCQgCBA4FG4d7AxENmV6cfQGQUQ2FPwEBAQEBAQEBAQEBAQEBAQEBAQEBARMEiyuCSIIjDQQHBoJfgUgFhFmMM4N5hBU0gU2OMoY6IoNvbwGBQ38BAQE
X-IronPort-AV: E=Sophos;i="5.11,573,1422921600"; d="scan'208,217";a="140880835"
Received: from alln-core-2.cisco.com ([173.36.13.135]) by alln-iport-1.cisco.com with ESMTP; 14 Apr 2015 01:05:04 +0000
Received: from xhc-rcd-x07.cisco.com (xhc-rcd-x07.cisco.com [173.37.183.81]) by alln-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id t3E153gB020516 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 14 Apr 2015 01:05:04 GMT
Received: from xmb-rcd-x01.cisco.com ([169.254.1.10]) by xhc-rcd-x07.cisco.com ([173.37.183.81]) with mapi id 14.03.0195.001; Mon, 13 Apr 2015 20:05:03 -0500
From: "Larry Kreeger (kreeger)" <kreeger@cisco.com>
To: "Carlos Pignataro (cpignata)" <cpignata@cisco.com>
Thread-Topic: [nvo3] Encapsulation considerations
Thread-Index: AQHQZz7mhAIJ2RY9kEGDp54xlfCNh51BhwAAgAK2PYCAAC3qgIAAvO6AgADHwICAAJ/0gIAAeYyA//+VuICAAlz4gIACshyA
Date: Tue, 14 Apr 2015 01:05:02 +0000
Message-ID: <D151B43E.1451B7%kreeger@cisco.com>
References: <55123CA6.8070502@acm.org> <55132229.40404@sonic.net> <000f01d07100$df62d7c0$9e288740$@gmail.com> <5525C76F.3020909@acm.org> <010101d07272$ecc0f050$c642d0f0$@gmail.com> <2691CE0099834E4A9C5044EEC662BB9D57157C67@dfweml701-chm> <015501d07335$4c680210$e5380630$@gmail.com> <D14D6A0C.144EFF%kreeger@cisco.com> <CA+-tSzzmjHOfk74kBZgYiz1ASGeS=eB7p1b4gPZXaGh-1SCahg@mail.gmail.com> <D14D7756.144F22%kreeger@cisco.com> <47AD3F0F-1810-471E-B982-52A6E0683940@cisco.com>
In-Reply-To: <47AD3F0F-1810-471E-B982-52A6E0683940@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.4.8.150116
x-originating-ip: [10.155.166.41]
Content-Type: multipart/alternative; boundary="_000_D151B43E1451B7kreegerciscocom_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/nvo3/kbUYlWtTewyjo-kM2qtG1hfGGqE>
Cc: Erik Nordmark <nordmark@acm.org>, Lizhong Jin <lizho.jin@gmail.com>, Anoop Ghanwani <anoop@alumni.duke.edu>, Lucy yong <lucy.yong@huawei.com>, "nvo3@ietf.org" <nvo3@ietf.org>
Subject: Re: [nvo3] Encapsulation considerations
X-BeenThere: nvo3@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Network Virtualization Overlays \(NVO3\) Working Group" <nvo3.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nvo3>, <mailto:nvo3-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nvo3/>
List-Post: <mailto:nvo3@ietf.org>
List-Help: <mailto:nvo3-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nvo3>, <mailto:nvo3-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Apr 2015 01:05:21 -0000

Hi Carlos,

Thanks for the reference below.  So, this means the answer is "it depends" on the packetization layer above UDP, but do you know if it is common for applications running over UDP to pay attention to the PMTU and adjust its packetization size accordingly?  Are there known "problem protocols" that don't do this? (e.g. RFC 1191 that you reference mentions NFS, but this may no longer be true of newer implementations?).

Thanks, Larry

From: "Carlos Pignataro (cpignata)" <cpignata@cisco.com<mailto:cpignata@cisco.com>>
Date: Saturday, April 11, 2015 5:55 PM
To: Larry Kreeger <kreeger@cisco.com<mailto:kreeger@cisco.com>>
Cc: Anoop Ghanwani <anoop@alumni.duke.edu<mailto:anoop@alumni.duke.edu>>, Erik Nordmark <nordmark@acm.org<mailto:nordmark@acm.org>>, "nvo3@ietf.org<mailto:nvo3@ietf.org>" <nvo3@ietf.org<mailto:nvo3@ietf.org>>, Lucy yong <lucy.yong@huawei.com<mailto:lucy.yong@huawei.com>>, Lizhong Jin <lizho.jin@gmail.com<mailto:lizho.jin@gmail.com>>
Subject: Re: [nvo3] Encapsulation considerations


On Apr 10, 2015, at 3:49 PM, Larry Kreeger (kreeger) <kreeger@cisco.com<mailto:kreeger@cisco.com>> wrote:

I thought Path MTU discovery was used to set the MSS in the TCP stack.  I just wasn't sure if it worked the same way for UDP.


Since, as you know, UDP has no MSS and no connection, the packetization size state is maintained by the application on top of UDP, or suffer IP-level fragmentation.

See e.g, first para of https://tools.ietf.org/html/rfc1191#section-6.1

Thanks,

― Carlos.

 - Larry

From: Anoop Ghanwani <anoop@alumni.duke.edu<mailto:anoop@alumni.duke.edu>>
Date: Friday, April 10, 2015 12:10 PM
To: Larry Kreeger <kreeger@cisco.com<mailto:kreeger@cisco.com>>
Cc: Lizhong Jin <lizho.jin@gmail.com<mailto:lizho.jin@gmail.com>>, Lucy yong <lucy.yong@huawei.com<mailto:lucy.yong@huawei.com>>, Erik Nordmark <nordmark@acm.org<mailto:nordmark@acm.org>>, "nvo3@ietf.org<mailto:nvo3@ietf.org>" <nvo3@ietf.org<mailto:nvo3@ietf.org>>
Subject: Re: [nvo3] Encapsulation considerations

Even for TCP it depends on what the MSS is.

Anoop

On Fri, Apr 10, 2015 at 11:55 AM, Larry Kreeger (kreeger) <kreeger@cisco.com<mailto:kreeger@cisco.com>> wrote:
On 4/9/15 7:22 PM, "Lizhong Jin" <lizho.jin@gmail.com<mailto:lizho.jin@gmail.com>> wrote:

>>-----Original Message-----
>>From: Lucy yong [mailto:lucy.yong@huawei.com<mailto:lucy.yong@huawei.com>]
>>Sent: 2015年4月9日 22:28
>>To: Lizhong Jin; 'Erik Nordmark'; nvo3@ietf.org<mailto:nvo3@ietf.org>
>>Subject: RE: [nvo3] Encapsulation considerations
>>Lizhong,
>>[snip]
>>  [Lizhong] If the NVE and tenant is integrated into one device, then
>>the issue
>>could be solved by implementation. Because tenant know the entropy value
>>of
>>the first segment, and use the same value to the subsequent segment. So
>>different implementation model could provide different entropy value. Or
>>do we
>>need other mechanism to mitigate this issue, e.g., fragment on NVE in
>>draft-herbert-gue-fragmentation.
>>[Lucy] IMO: NVO3 solution SHOULD avoid packet fragmentation.
>>Draft-herbert-gue-fragmentation provides an option for a GUE application
>>to do
>>fragmentation but does not require doing it. GUE application decides if
>>the
>>fragmentation is needed or not. We should not separate two.
>[Lizhong] fragmentation could not be avoided, because we are unable to
>prevent
>the tenant from fragmentation. This is the factor which makes the hashing
>based
>load balancing unoptimized.

I'm not very familiar with host stacks.  Do they actually fragment at the
IP layer, or is it done at the transport layer before adding the IP
header?  I'm sure TCP must break the segments up before IP would fragment,
but I'm not sure about UDP.

 - Larry

_______________________________________________
nvo3 mailing list
nvo3@ietf.org<mailto:nvo3@ietf.org>
https://www.ietf.org/mailman/listinfo/nvo3

_______________________________________________
nvo3 mailing list
nvo3@ietf.org<mailto:nvo3@ietf.org>
https://www.ietf.org/mailman/listinfo/nvo3