Re: [nvo3] 答复: Comments on NVO3 data plane requirements for OAM

Greg Mirsky <gregimirsky@gmail.com> Wed, 12 November 2014 02:37 UTC

Return-Path: <gregimirsky@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 8E88A1AC3F3 for <nvo3@ietfa.amsl.com>; Tue, 11 Nov 2014 18:37:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.699
X-Spam-Level:
X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, GB_SUMOF=1, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, 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 ReKWkwsqkgS6 for <nvo3@ietfa.amsl.com>; Tue, 11 Nov 2014 18:37:05 -0800 (PST)
Received: from mail-vc0-x232.google.com (mail-vc0-x232.google.com [IPv6:2607:f8b0:400c:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4ADA51AC3CE for <nvo3@ietf.org>; Tue, 11 Nov 2014 18:37:05 -0800 (PST)
Received: by mail-vc0-f178.google.com with SMTP id hq12so2402704vcb.23 for <nvo3@ietf.org>; Tue, 11 Nov 2014 18:37:04 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H6c45Wm/1v1UQBDZzFxQFPkvNIEFTl0CF0IS9MBAb58=; b=P7TOx7AP5TT6bnjI1rRdayZtC8CgCyjb1bspA9+bOQ9AS24vCEczj3QC0V/iym2srj qKWiqS3QCAvf2MGE78ONM0aqNe7rw+tTH2m8LADPzgnGo+zQULE/sN/TKFzmA+xBpSHL uJ0WBQBfrYL5Di9Oxf1GLNAQ5SzcyxOjFrgXOIYBXfiXi9xbz8CGgRbIMrYWYX+PopfR x9isgnpT6wXlt9PtXyzAD9oRmUpMW5qXeR+DYniAYGxFL5XaLD1IH+jAbVtuxPWC7wi/ kC+1B1NBe4B6cqNdN3DcgHAiwVT3dGZPd1Ud9o4tEWPitz/9iyBOVoXhZm4anpgW2mR4 6l6w==
MIME-Version: 1.0
X-Received: by 10.52.18.98 with SMTP id v2mr4117296vdd.86.1415759824485; Tue, 11 Nov 2014 18:37:04 -0800 (PST)
Received: by 10.220.19.144 with HTTP; Tue, 11 Nov 2014 18:37:04 -0800 (PST)
In-Reply-To: <20141111182405653889.c3f1841c@sniff.de>
References: <D087957A.124DA9%kreeger@cisco.com> <DD5FC8DE455C3348B94340C0AB5517334F80F4E0@nkgeml501-mbs.china.huawei.com> <CA+RyBmW_PGjaJ7XUs_=yv08FdQS-u54bSu1i2JACNV5aWQTR4A@mail.gmail.com> <20141111182405653889.c3f1841c@sniff.de>
Date: Tue, 11 Nov 2014 18:37:04 -0800
Message-ID: <CA+RyBmVUaW7a35tx8upu4n80VimSHGHskDDq0S-Qz0mcX6TgxA@mail.gmail.com>
From: Greg Mirsky <gregimirsky@gmail.com>
To: Marc Binderberger <marc@sniff.de>
Content-Type: multipart/alternative; boundary="001a1136977a6d013e0507a045ed"
Archived-At: http://mailarchive.ietf.org/arch/msg/nvo3/iqe9dVUbQZrGByTDO8PjBYl6i1g
Cc: Haoweiguo <haoweiguo@huawei.com>, "nvo3@ietf.org" <nvo3@ietf.org>, Larry Kreeger <kreeger@cisco.com>
Subject: Re: [nvo3] 答复: Comments on NVO3 data plane requirements for OAM
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: Wed, 12 Nov 2014 02:37:08 -0000

Hi Marc,
thank you for your thorough review and thoughtful comments.
How passive performance measurement may work discussed in IP Flow
Performance Measurement Framework
<https://datatracker.ietf.org/doc/draft-chen-ippm-coloring-based-ipfpm-framework/>and
IP Flow Performance Measurement Report
<http://tools.ietf.org/html/draft-chen-ippm-ipfpm-report-00>.

I still believe that "original OAM flag" is to be used for active OAM, e.g.
continuity check, proactive and on-demand, performance measurement. In some
way, the GAL in MPLS is that "original OAM flag". But active OAM, IMO,
should be complemented by use of passive measurement methods. Often these
viewed as reading counters, IPFIX. But marking is method that expands and
improves passive performance measurements through ability to correlate
measurements taken at individual nodes along a path of the flow.

Regards,
Greg
<https://datatracker.ietf.org/doc/draft-chen-ippm-coloring-based-ipfpm-framework/>

On Tue, Nov 11, 2014 at 6:24 PM, Marc Binderberger <marc@sniff.de> wrote:

> Hello Greg and Weiguo,
>
> > agree with Weiguo, single bit flag in fixed position would be sufficient
> > and HW-friendly.
>
> a single bit just turns on and off - but it seems we have two different
> ideas
> of OAM under discussion meanwhile. And both ideas claim they need an "OAM"
> flag.
>
> Makes already 2 bits :-)
>
>
> > The NVO3 packet with this marking flag don't need to be sent to control
> plane,
> > it is different from OAM(ping/Trace) packet processing.
>
> Really?  How is this working?  To do any processing of this real-time OAM
> you
> still need to punt a copy of the NVO3 packet or at least the OAM-related
> information to the generic CPU, i.e. get it out of the fast/hw forwarding
> plane.
>
>
> And then you need some information in the NVO3 packet, I assume?
> Timestamps,
> Counters etc.?  I don't think this will fit into any of the headers
> discussed
> so far unless you use a TLV approach.
>
>
> >> is precious. I would like it is set in fixed field, rather than in
> option
> >> field. Because chipset normally can't process optional field, it is hard
> >> to realize in-band performance measurement if using optional field for
>
> If your optional field is defined to be the "first option TLV" then this is
> no difference from a larger fixed header. Still not sure what the chipset
> is
> supposed to process.
>
> If the NVO3 group thinks this kind of OAM is sort of a must then of course
> it
> makes sense to define the (fixed) base header with this OAM data. My
> problem
> here is ...
>
> >> marking. For other real time congestion control function, maybe more
> bits
> >> are needed.
>
> ... that you already indicate there may be more/different OAM data in the
> future. Using a fixed header likely means a new, larger fixed header to
> incorporate the additional OAM, which makes older implementations
> incompatible.
>
>
> What the (fixed?) base header should support is the principle mechanism -
> we
> seem to discuss a "punt, don't forward" and a "punt & forward" OAM, if I
> understand it right (?).
>
> At least the more "fancy" OAM seems a fit for optional TLV (with some
> position restriction).
>
>
> This initial OAM we are talking about here, is this just packet loss? So
> you
> would need to carry some sequence number?
>
>
>
> Regards, Marc
>
>
>
>
>
> On Tue, 11 Nov 2014 16:04:30 -0800, Greg Mirsky wrote:
> > Dear All,
> > agree with Weiguo, single bit flag in fixed position would be sufficient
> > and HW-friendly.
> >
> > Regards,
> > Greg
> >
> > On Tue, Nov 11, 2014 at 3:51 PM, Haoweiguo <haoweiguo@huawei.com> wrote:
> >> Hi Larry,
> >> For marking purpose, i think one bit maybe OK, fixed fields in NVO3
> header
> >> is precious. I would like it is set in fixed field, rather than in
> option
> >> field. Because chipset normally can't process optional field, it is hard
> >> to realize in-band performance measurement if using optional field for
> >> marking. For other real time congestion control function, maybe more
> bits
> >> are needed.
> >> Thanks
> >> weiguo
> >>
> >> 发件人: Larry Kreeger (kreeger) [kreeger@cisco.com]
> >> 发送时间: 2014年11月12日 4:33
> >> 收件人: Haoweiguo; Greg Mirsky
> >>
> >> 抄送: nvo3@ietf.org
> >> 主题: Re: [nvo3] Comments on NVO3 data plane requirements for OAM
> >>
> >>
> >> Hi Weiguo,
> >>
> >> What do you envision this marking looking like?  e.g. is it just a
> single
> >> flag bit, or large field with a counter or sequence number, or some kind
> >> of flow ID?  If not a single flag, how large do you see the field being?
> >>
> >> If it is more than a flag (and I assume it would be), and is not
> mandatory
> >> for all implementations, then it seems to fall into the category of
> >> optional extensions.
> >>
> >> Thanks, Larry
> >>
> >> From: Haoweiguo <haoweiguo@huawei.com>
> >> Date: Tuesday, November 11, 2014 10:18 AM
> >> To: Greg Mirsky <gregimirsky@gmail.com>
> >> Cc: "nvo3@ietf.org" <nvo3@ietf.org>
> >> Subject: [nvo3] 答复: Comments on NVO3 data plane requirements for OAM
> >>
> >> Hi Greg,
> >> I fully agree with you.
> >> The real time OAM is passive performance measurement methods. I would
> like
> >> NVO3 data encapsulation has a field for marking and not affect
> forwarding
> >> of packets, the marking field is only used for performance measurement.
> >> The NVO3 packet with this marking flag don't need to be sent to control
> >> plane, it is different from OAM(ping/Trace) packet processing.
> >> Thanks
> >> weiguo
> >>
> >> 发件人: Greg Mirsky [gregimirsky@gmail.com]
> >> 发送时间: 2014年11月12日 4:07
> >> 收件人: Haoweiguo
> >> 抄送: nvo3@ietf.org
> >> 主题: Re: [nvo3] Comments on NVO3 data plane requirements for OAM
> >>
> >>
> >> Hi Weiguo,
> >> marking groups of packets that belong to the particular flow to
> facilitate
> >> measurement of some performance metric, whether loss or delay/delay
> >> variation, may be viewed as one of passive performance measurement
> >> methods. But such marking should not alter, at least not significantly
> >> alter, treatment of data flow in the network. Because of that, I
> believe,
> >> OAM flag should not be used for marking as that will force punting
> marked
> >> packets from fast forwarding path to the control plane. But it might be
> >> good to have a field in NVO3 header that may be used for marking and not
> >> affect forwarding of packets if altered.
> >>
> >> Regards,
> >> Greg
> >>
> >> On Tue, Nov 11, 2014 at 12:34 AM, Haoweiguo <haoweiguo@huawei.com>
> wrote:
> >>> Hi All,
> >>> I maybe not clearly said in today’s NVO3 meeting, pls allow me to
> >>> reiterate the OAM data plane requirements on the mail list.
> >>> Currently NVO3 data plane encapsulation only includes one OAM flag, it
> is
> >>> used for Ping/Trace similar applications. This kind of OAM application
> is
> >>> initiated by operators for network connectivity verification, normally
> >>> when network failure occurs. There is another OAM requirements of real
> >>> time OAM or synthesizing OAM. It can be used for packet loss detection
> in
> >>> real time. When ingress NVE receives traffic from local TS, it gets
> >>> packet statistics, and mark(coloring) the OAM flag relying on local
> >>> policy when it performs NVO3 encapsulation. When egress NVEs receives
> the
> >>> traffic, it decapsulates NVO3 encapsulation, and gets packet statistics
> >>> with the real time OAM flag marking. By comparing the packet number of
> >>> ingress NVE and the sum of all egress NVEs, packet loss can be deduced.
> >>> This method can be applicable for both unicast and multicast traffic.
> >>> Local policy on ingress NVE is configured by operators or automatically
> >>> acquired from centralized orchestration.
> >>> Thanks
> >>> weiguo
> >>>
> >>> _______________________________________________
> >>> nvo3 mailing list
> >>> nvo3@ietf.org
> >>> https://www.ietf.org/mailman/listinfo/nvo3
> >>>
> >>
> >>
> >
> >
> > _______________________________________________
> > nvo3 mailing list
> > nvo3@ietf.org
> > https://www.ietf.org/mailman/listinfo/nvo3
>