Re: [nvo3] I-D Action: draft-xia-nvo3-vxlan-qosmarking-01.txt

Behcet Sarikaya <sarikaya2012@gmail.com> Thu, 18 December 2014 17:26 UTC

Return-Path: <sarikaya2012@gmail.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 33C771A8AE0 for <nvo3@ietfa.amsl.com>; Thu, 18 Dec 2014 09:26:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.749
X-Spam-Level:
X-Spam-Status: No, score=-1.749 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, SPF_PASS=-0.001] 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 9_GFbr_rjuMK for <nvo3@ietfa.amsl.com>; Thu, 18 Dec 2014 09:26:41 -0800 (PST)
Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E7E101A9116 for <nvo3@ietf.org>; Thu, 18 Dec 2014 09:26:29 -0800 (PST)
Received: by mail-la0-f41.google.com with SMTP id hv19so1387734lab.14 for <nvo3@ietf.org>; Thu, 18 Dec 2014 09:26:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=9bS3hVv3uXz50J+QiK6uF0q6pBEONdDH4rseA8TiaOI=; b=YoIXT7z8pfIdf5aGT+nyueEfcxJ81R15/a2DGv4FIYVrYeyT9unxWSuVT3J3/xoiaC EQnE4Z3l8CtVN2r0iQj7UCkTeT/dQ+68NVHBGE9IULHnlDSDVoG1mTAjcC8H8f1RhFnj 9DlDqwID+ry5gSjOCL4FRVxT/IGa8O3cTSWlkXfwmKzrXs47G/X8ir5NH6xb/ifqDVdQ gKXbXOfONXmu5AZ3twKudLExWYy+RvQUVtdGXiuj+if95SWsjLHXNXT0hz32Osdph1lB Y1MGw0C4sSylcZUgj7L32PJRkbEg4uuo69RVDOnrWlb6lmKnVBCJauVvSix7QZlXeNd2 Qmog==
MIME-Version: 1.0
X-Received: by 10.152.2.41 with SMTP id 9mr3293989lar.47.1418923588142; Thu, 18 Dec 2014 09:26:28 -0800 (PST)
Received: by 10.114.63.51 with HTTP; Thu, 18 Dec 2014 09:26:27 -0800 (PST)
In-Reply-To: <5465640F.70101@queuefull.net>
References: <20141110200919.27869.2915.idtracker@ietfa.amsl.com> <5461854F.3020305@gmail.com> <CAC8QAce9kWVp_3+MeMcNpFinhnTcCgk0k1eDtip2j47iCWAbpg@mail.gmail.com> <CAC8QAceh3xPsg-ADthB8WuO2YgLpvso9HAGc1jHnPQ6jBoFk7w@mail.gmail.com> <5463B636.9020501@queuefull.net> <4F0C8596-E563-43DA-8AF1-07DE58610C2A@gmail.com> <CAC8QAcemHNpci3mvxY9=V4aR_uF5DB6a4eKQiO2XLivjE7xhog@mail.gmail.com> <182B38DB-6C67-44C5-803E-44F03A8EA787@gmail.com> <CAC8QAcfvEYXEm+U1tJMVfNrzE7GLuFgvJ1Djvhw2TSrgO7FZdA@mail.gmail.com> <E1E0F148-2E28-478F-BF86-3927C2ADF5BF@gmail.com> <546534E9.6040206@queuefull.net> <CAC8QAce7eB+XFPa79O6RLjhH=OfdzoHc+UMxFFYePrW4u-W_ag@mail.gmail.com> <5465640F.70101@queuefull.net>
Date: Thu, 18 Dec 2014 11:26:27 -0600
Message-ID: <CAC8QAcecGg6FS6+x553VXB0bGdBQiYr-i9g5cVq-Y+qzS-gqMw@mail.gmail.com>
From: Behcet Sarikaya <sarikaya2012@gmail.com>
To: Benson Schliesser <bensons@queuefull.net>
Content-Type: multipart/related; boundary="089e013c625872a58a050a80e4e0"
Archived-At: http://mailarchive.ietf.org/arch/msg/nvo3/sPm2FQ_B95XvORHmQiW_C0TJDKg
Cc: "nvo3@ietf.org" <nvo3@ietf.org>, Dino Farinacci <farinacci@gmail.com>, "draft-xia-nvo3-vxlan-qosmarking@tools.ietf.org" <draft-xia-nvo3-vxlan-qosmarking@tools.ietf.org>
Subject: Re: [nvo3] I-D Action: draft-xia-nvo3-vxlan-qosmarking-01.txt
X-BeenThere: nvo3@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: sarikaya@ieee.org
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: Thu, 18 Dec 2014 17:26:45 -0000

Hi Benson,
On Thu, Nov 13, 2014 at 8:08 PM, Benson Schliesser <bensons@queuefull.net>
wrote:
>
> Hi, Behcet -
>
> Quoting from my previous message: "one could imagine the NVE imposing an
> underlay DSCP in IP2, e.g. to discriminate between tenants."
>
>
No it is not the issue of coping DSCP from IP1 to IP2 especially in tenant
based QoS.
How can a DC operator apply QoS on each tenant separately when IP1 is
created by a VM that does not know the VNI?


> This seems so obvious to me that I doubt anybody has bothered to write it
> down...
>
> It does seem like we should document a mechanism for configuration of the
> NVE's QoS behavior. (E.g. as part of the NVO3 control plane and/or in a
> YANG model for NVE management) But that's a different topic.
>
> So, back to my question: Is there actually a problem that you trying to
> solve that cannot be solved with the existing mechanisms?
>
>
Yes there is. For example, tenant based QoS can only be done at the time
the NVE receives VM packet because it is the NVE that adds VNI value.

I suggest people to please read Rev. 02 of our draft.

In this version we also address QoS framework in VXLAN or the overlay
network as you call it.



> If so, then I will reconsider my beliefs about WG consensus. But if not,
> then I don't see why we're having this conversation.
>
>
I think this should be reconsidered in view of Rev. 02 and the above
arguments.


Regards,


> Thanks,
> -Benson
>
>
>   Behcet Sarikaya <sarikaya2012@gmail.com>
>  November 13, 2014 at 4:00 PM
>
> On Thu, Nov 13, 2014 at 4:47 PM, Benson Schliesser <bensons@queuefull.net>
> wrote:
>
>> Hi, Behcet -
>>
>> Stepping back from the conversation about bits... What is the problem
>> that you're trying to solve, Behcet?
>>
>> I see multiple existing QoS mechanisms both in the underlay and in the
>> overlay, and I don't see any QoS gap that needs to be addressed in the
>> overlap encap layer. I believe that my point of view is consistent with the
>> WG consensus at this point.
>>
>>
> I am not familiar with any QoS mechanism that is based on the tenant, i.e
> static mapping.
> Let me know which document discusses it?
>
> Thx,
>
> Behcet
>
>> Thanks,
>> -Benson
>>
>>   Dino Farinacci <farinacci@gmail.com>
>>  November 13, 2014 at 12:02 PM
>>
>> Sorry there are no EXP bits mentioned in RFC 7348. MPLS is out of scope.
>>
>> EXP is 3 bits long, DSCP is 6 bits and dividing it into two 3 bit
>> pieces, I am not sure if David will like it.
>>
>>
>> I am referring to user-priority bits below:
>>
>>
>> Dino
>>
>>   Benson Schliesser <bensons@queuefull.net>
>>  November 12, 2014 at 9:34 AM
>>  Hi, Behcet -
>>
>> Perhaps I'm confused about what comment (from Dino) that you are
>> referring to... But in general, I think of it this way:
>>
>> Assuming the encap stack looks something like: IP1 / Eth1 / VXLAN / UDP /
>> IP2 / Eth2  (progressing L->R as inner->outer)
>>
>> Then e.g. tenant VMs can mark the IP1 and Eth1 headers with whatever
>> appropriate markings they desire. The NVE can mark the IP2 and Eth2 headers
>> with whatever appropriate markings.
>>
>> Specifically, one could imagine the NVE copying the IP1 DSCP codepoint
>> into the IP2 header. Alternatively one could imagine the NVE imposing an
>> underlay DSCP in IP2, e.g. to discriminate between tenants. Possibly, one
>> could also imagine some kind of translation policy which maps IP1
>> codepoints into IP2 codepoints. And that's not even considering mechanisms
>> that leverage the Eth headers, use different encap stacks, etc.
>>
>> Cheers,
>> -Benson
>>
>>   Behcet Sarikaya <sarikaya2012@gmail.com>
>>  November 12, 2014 at 9:01 AM
>>  Hi Dino,
>>
>> Regarding your comment on copying IP header QoS bits into VXLAN header,
>>
>> note that IP packet is coming from the VMs.
>>
>> Yes for dynamic marking these bits can be copied.
>> However, VMs may not be configured to mark these fields.
>>
>> For static marking these bits can not be used because VMs are not
>> aware of the VNI. So NVE has to do the static marking.
>>
>> Hope this clarifies.
>>
>> Regards,
>>
>> Behcet
>>
>> _______________________________________________
>> nvo3 mailing list
>> nvo3@ietf.org
>> https://www.ietf.org/mailman/listinfo/nvo3
>>   Behcet Sarikaya <sarikaya2012@gmail.com>
>>  November 10, 2014 at 5:47 PM
>>
>> On Mon, Nov 10, 2014 at 9:41 PM, Brian E Carpenter<brian.e.carpenter@gmail.com> <brian.e.carpenter@gmail.com> wrote:
>>
>> [resend with corrected address, sorry]
>>
>> Hi,
>>
>>
>>  The first three bits (bits 5-7) are precedence bits. They are
>>  assigned according to [RFC0791]. Precedence values '110' and '111'
>>  are selected for routing traffic.
>>
>>  The last three bits (bits 8-10) are class selector bits. Thet are
>>  assigned as follows:
>>
>> 001 - BK or background traffic
>>
>> ...
>>
>> As can be seen the markings are the same as in IEEE 802.1p...
>>
>> This is not in any way compatible with RFC 2474, which also made the
>> relevant part of RFC 791 obsolete.
>>
>> If you want to be compatible with RFC 2474 you should not specify the
>> bits at all - just say that they are exactly as defined in RFC 2474
>> and the various PHB definitions that have been published.
>>
>> I think that diffserv is less relevant in the context of VXLAN.
>>
>>
>>  If you
>> want to be compatible with IEEE 802.1p that is a different matter,
>>
>> Yes this is more relevant for VXLAN.
>>
>>
>> but you cannot mix the two up in this way.
>>
>> I now understand that we confused the two very different things.
>>
>> Regards,
>>
>> Behcet
>>
>>     Brian
>>
>>
>>
>>
>> _______________________________________________
>> nvo3 mailing listnvo3@ietf.orghttps://www.ietf.org/mailman/listinfo/nvo3
>>
>>
>   Benson Schliesser <bensons@queuefull.net>
>  November 13, 2014 at 12:47 PM
>  Hi, Behcet -
>
> Stepping back from the conversation about bits... What is the problem that
> you're trying to solve, Behcet?
>
> I see multiple existing QoS mechanisms both in the underlay and in the
> overlay, and I don't see any QoS gap that needs to be addressed in the
> overlap encap layer. I believe that my point of view is consistent with the
> WG consensus at this point.
>
> Thanks,
> -Benson
>
>   Dino Farinacci <farinacci@gmail.com>
>  November 12, 2014 at 8:06 PM
>
> Exactly. Thanks Benson.
>
> Dino
>   Benson Schliesser <bensons@queuefull.net>
>  November 12, 2014 at 9:34 AM
>  Hi, Behcet -
>
> Perhaps I'm confused about what comment (from Dino) that you are referring
> to... But in general, I think of it this way:
>
> Assuming the encap stack looks something like: IP1 / Eth1 / VXLAN / UDP /
> IP2 / Eth2  (progressing L->R as inner->outer)
>
> Then e.g. tenant VMs can mark the IP1 and Eth1 headers with whatever
> appropriate markings they desire. The NVE can mark the IP2 and Eth2 headers
> with whatever appropriate markings.
>
> Specifically, one could imagine the NVE copying the IP1 DSCP codepoint
> into the IP2 header. Alternatively one could imagine the NVE imposing an
> underlay DSCP in IP2, e.g. to discriminate between tenants. Possibly, one
> could also imagine some kind of translation policy which maps IP1
> codepoints into IP2 codepoints. And that's not even considering mechanisms
> that leverage the Eth headers, use different encap stacks, etc.
>
> Cheers,
> -Benson
>
>   Behcet Sarikaya <sarikaya2012@gmail.com>
>  November 12, 2014 at 9:01 AM
>  Hi Dino,
>
> Regarding your comment on copying IP header QoS bits into VXLAN header,
>
> note that IP packet is coming from the VMs.
>
> Yes for dynamic marking these bits can be copied.
> However, VMs may not be configured to mark these fields.
>
> For static marking these bits can not be used because VMs are not
> aware of the VNI. So NVE has to do the static marking.
>
> Hope this clarifies.
>
> Regards,
>
> Behcet
>
> _______________________________________________
> nvo3 mailing list
> nvo3@ietf.org
> https://www.ietf.org/mailman/listinfo/nvo3
>
>