Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much does it really save?

Robert Raszuk <robert@raszuk.net> Fri, 24 July 2015 09:30 UTC

Return-Path: <rraszuk@gmail.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 13E7F1A885A for <mpls@ietfa.amsl.com>; Fri, 24 Jul 2015 02:30:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level:
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, 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 IexKPxQCzzMZ for <mpls@ietfa.amsl.com>; Fri, 24 Jul 2015 02:30:05 -0700 (PDT)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (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 9C2C51A8821 for <mpls@ietf.org>; Fri, 24 Jul 2015 02:30:04 -0700 (PDT)
Received: by wicmv11 with SMTP id mv11so57036889wic.0 for <mpls@ietf.org>; Fri, 24 Jul 2015 02:30:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=1fUqby/9JmpvCjHVou9q9LxQX+VTQ2NuxhFdkaQMQ5I=; b=SHfrMODHzuHyneXgraVdLlxvNWmZWf9wA/lhR7ank50R96sTLzJWhepT1YwfT3wDjs ALK1E9CfYoBK3JNXcXIKkhXua6v2PoXLazvO/l91OJCp4cBm54PL3u8THiszd+IrlJGU 5h8XQe7Ggw30VHcQx8k7ZOPctgRTgcyV8SGrNcAt0ipODn0PByh1XpTrglzeY25sU8qY F+45j72WLxbYul8ZO+naixyTiwUoSk/CfApnnZPVwyheBQOl4pRWkGprK6Nu/TK9BA2Y pJhmqb1HEDI2IbF8sxD/OHpKyvHzf2xu/0HnfI9dC35ykqgDEaHN7CwOp8WuBFarUPfu NLFA==
MIME-Version: 1.0
X-Received: by 10.181.13.195 with SMTP id fa3mr5394211wid.7.1437730203304; Fri, 24 Jul 2015 02:30:03 -0700 (PDT)
Sender: rraszuk@gmail.com
Received: by 10.194.95.168 with HTTP; Fri, 24 Jul 2015 02:30:03 -0700 (PDT)
In-Reply-To: <EA360A7AB9D90D4B9E9173B6D27C371EE3F60E6A@MTKMBS61N1.mediatek.inc>
References: <DB3PR03MB0780AE3E11BEA6B29B81FF5B9D810@DB3PR03MB0780.eurprd03.prod.outlook.com> <EA360A7AB9D90D4B9E9173B6D27C371EE3F60C0D@MTKMBS61N1.mediatek.inc> <5A5B4DE12C0DAC44AF501CD9A2B01A8D8CA1BFBE@nkgeml506-mbx.china.huawei.com> <EA360A7AB9D90D4B9E9173B6D27C371EE3F60E6A@MTKMBS61N1.mediatek.inc>
Date: Fri, 24 Jul 2015 11:30:03 +0200
X-Google-Sender-Auth: p__QBCgfJ0WbYTctpaYVf6u3zis
Message-ID: <CA+b+ERn27-9sqy4peL0REgDaQLu9woOZKJs_X1H9fy_A110-kQ@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
To: Andrew Qu <andrew.qu@mediatek.com>
Content-Type: multipart/alternative; boundary="f46d043c07d40d24a7051b9ba653"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/tCN3U8PNE_eIzmwFGK_KxFa-JSc>
Cc: "mpls@ietf.org" <mpls@ietf.org>
Subject: Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much does it really save?
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Jul 2015 09:30:09 -0000

Another way to look at this is that SWAP requires awarness of peer's labels
either by flooding, by p2p protocol like LDP or via learning to controller
and pushing it back in p2mp fashion.

NO_SWAP does not have such dependency. It can be educated about just
endpoint label mapping from controller and actual forwarding and adj
creation will be local based on the vanilla IGP SPF.

To me this is fundamental difference.

Cheers,
R.


On Fri, Jul 24, 2015 at 11:21 AM, Andrew Qu <andrew.qu@mediatek.com> wrote:

>  Agreed!   From networking point of view,  no_swap and swap is simply
> different fundamentally.  We should address that.
>
>
>
> Thanks,
>
>
>
> Andrew
>
>
>
>
>
> *From:* Lizhenbin [mailto:lizhenbin@huawei.com]
> *Sent:* Friday, July 24, 2015 10:40 AM
> *To:* mpls@ietf.org; Andrew Qu; Alexander Vainshtein; Shahram Davari;
> Robert Raszuk
> *Subject:* 答复: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much
> does it really save?
>
>
>
> Hi all,
>
> I think the concept is one hand, the implementation is another hand. I
> would like to clarify more about it.
>
> 1. Now all of us debates if there is NO_SWAP. I want to ask one question:
> Should there be SWAP? In fact, according to implementation, the SWAP can be
> seen as POP a label, then PUSH a label.
>
> If so, POP and PUSH is enough. Why is there SWAP.
>
> 2. For the NO_SWAP, as the introduction of H-SDN and Segment Routing, at
> least in concept, there should introduce one new label operation. Regarding
> the implementation you can use SWAP same label, or POP one label and PUSH
> the same label if you like. There is also the possible way introduced in
> the draft-fang-mpls-label-forwarding-no-swap.
>
>
>
> In addition I would like to propose the suggestion that a totally new term
> for the NO_SWAP label operation should be introduced such as CONTINUE, GO,
> DIRECTGO, etc. Why must we make it related with the existing the label
> operations?
>
>
>
>
>
> Best Regards,
>
> Zhenbin(Robin)
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>  ------------------------------
>
> *发件人**:* mpls [mpls-bounces@ietf.org] 代表 Andrew Qu [andrew.qu@mediatek.com
> ]
> *发送时间**:* 2015年7月24日 16:06
> *收件人**:* Alexander Vainshtein; Robert Raszuk; Shahram Davari
> *抄送**:* mpls@ietf.org
> *主题**:* Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much
> does it really save?
>
> Hi Sasha,
>
>
>
> My comments in lines…
>
>
>
>
>
>
>
> *From:* mpls [mailto:mpls-bounces@ietf.org <mpls-bounces@ietf.org>] *On
> Behalf Of *Alexander Vainshtein
> *Sent:* Friday, July 24, 2015 7:26 AM
> *To:* Robert Raszuk; Shahram Davari
> *Cc:* mpls@ietf.org
>
> *Subject:* Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much
> does it really save?
>
>
>
> Hi all,
>
> Please note that CONTINUE in SPRING is:
>
> 1. A DP-agnostic primitive
>
> 2. *Implemented* as SWAP instruction with MPLS DP.
>
>
>
> [Andrew]  You are contradicting with 1) and 2).
>
> With “CONTINUE” defined in SR draft,  for NEW ASIC to be designed,
>
> Why should I still use “SWAP” to achieve it? Considering that I might
>
> Have good saving in precious on-board memory for the ASIC ?
>
>
>
> You can suggest that using SWAP, however you said CONTINUE is DP-agnostic,
> then
>
> If I do it different, I am still standard compliant. RIGHT?
>
>
>
> Again,  that is exactly my point,  SWAP is NOT the same as “NO_SWAP”.
> Once you put
>
> The wording out there,  it WILL have different impact.
>
>
>
> Thanks,
>
>
>
> Andrew
>
>
>
>
>
>
>
>
>
> So claiming equivalence of CONTINUE and NO-SWAP seems to be inaccurate IMO.
>
>
>
> As for global labels (in SDN, MPLS-TP or any other technology) - this
> definitely looks to me like a very bad idea for networks comprised of
> devices that support different label ranges. From my experience these
> scenarios have been encountered in real MPLS-TP deployments  and resulted
> in eventually dropping the "simple" solution as live networks have been
> extended with new NEs supporting a more narrow label space than the
> original ones.
>
>
>
> Adding a new forwarding primitive to MPLS architecture (yet another
> argument on this thread) immediately raises the question:
>
>
>
> Is support of the new primitive mandatory?
>
>
>
> If it is not (and this is clearly the case for NO-SWAP), then why should
> we bother? Occam's rasor cuts this off IMHO.
>
>
>
> My personal bottom line: this is a strictly NO GO proposal.
>
>
>
> My 2c.
>
>
>
> Thumb typed on my LG,
> Sasha
>
> ------ Original message ------
> *From: *Robert Raszuk
> *Date: *24/07/2015 00:22
> *To: *Shahram Davari;
> *Cc: *mpls@ietf.org;
> *Subject:*Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much
> does it really save?
>
>
>
> The point is that new control plane is already defined. In fact we already
> have two :)
>
>
>
> As I mentioned in my first mail to the list the concept of
> NO_SWAP/CONTINUE is common to both H-SDN and SEGMENT ROUTING architectures.
>
>
>
> Ref: https://goo.gl/3oxRbl
>
>
>
> Thx,
> R.
>
>
>
>
>
> On Thu, Jul 23, 2015 at 11:16 PM, Shahram Davari  <davari@broadcom.com>
> wrote:
>
> Robert,
>
>
>
> So instead of calling it no-swap probably you should call it global label
> or so, and then define new control plane for it. But seems the data-pane
> behavior does not change and existing hardware can support this global
> label.  So maybe you just need new control plane.
>
>
>
> Thx
> Shahram
>
>
>
> *From:* rraszuk@gmail.com [mailto:rraszuk@gmail.com] *On Behalf Of *Robert
> Raszuk
> *Sent:* Thursday, July 23, 2015 2:12 PM
> *To:* Shahram Davari
> *Cc:* Eric C Rosen; stbryant@cisco.com; mpls@ietf.org
>
>
> *Subject:* Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much
> does it really save?
>
>
>
>
>
> Hi Shahram,
>
>
>
> Labels which are non of a local significance can be distributed by
> flooding protocols extensions (ISIS, OSPF) or by direct p2p sessions (BGP
> 3107, sessions from the controller, XMPP etc ...)
>
>
>
> The important part is that the actual forwarding is computed recursively
> or set at the controller.
>
>
>
> AFAIK I have not seen any proposal where LDP would play any role in such
> distribution.
>
>
>
> Regards,
>
> R.
>
>
>
>
>
>
>
>
>
>
>
> On Thu, Jul 23, 2015 at 11:07 PM, Shahram Davari <davari@broadcom.com>
> wrote:
>
> Hi Robert,
>
>
>
> How are these labels distributed? Via LDP or via SDN controller?
>
>
>
> Thanks
>
> Shahram
>
>
>
> *From:* rraszuk@gmail.com [mailto:rraszuk@gmail.com] *On Behalf Of *Robert
> Raszuk
> *Sent:* Thursday, July 23, 2015 12:58 PM
> *To:* Eric C Rosen
> *Cc:* Shahram Davari; stbryant@cisco.com; mpls@ietf.org
> *Subject:* Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much
> does it really save?
>
>
>
> ​Hi Eric,​
>
>
>
>  ​​
>
> If you notice that the incoming label needs to be 'replaced' by an
> outgoing label of the same value, you could just make the rewrite string
> shorter, so it won't overwrite the top label on the stack.  This seems to
> be what the draft suggests, but it could be done as an optimization for the
> particular case where the incoming and outgoing labels have the same value.
>
>
>
> ​This is precisely ​the crux where your statement fails.
>
>
>
> You use term "incoming label" and "outgoing lable" ... well in the new
> architectures there is no such things.
>
>
>
> It is a "global label" or "path label" with adjacency information.
>
>
>
> So to support legacy hardware new control plane has to make up from single
> label now two (identical) labels to pass it to data plane. Now also data
> plane must be smart to check that and program its state per your
> suggestion.
>
>
>
> Why would we do that other then due to worry about legacy chipsets feared
> to be non compliant to new RFC ?
>
>
>
> Many thx,
>
> R.
>
>
>
>
>
>
>
> ************* Email Confidentiality Notice ********************
>
> The information contained in this e-mail message (including any
>
> attachments) may be confidential, proprietary, privileged, or otherwise
>
> exempt from disclosure under applicable laws. It is intended to be
>
> conveyed only to the designated recipient(s). Any use, dissemination,
>
> distribution, printing, retaining or copying of this e-mail (including its
>
> attachments) by unintended recipient(s) is strictly prohibited and may
>
> be unlawful. If you are not an intended recipient of this e-mail, or believe
>
> that you have received this e-mail in error, please notify the sender
>
> immediately (by replying to this e-mail), delete any and all copies of
>
> this e-mail (including any attachments) from your system, and do not
>
> disclose the content of this e-mail to any other person. Thank you!
>
>
>
> ************* Email Confidentiality Notice ********************
> The information contained in this e-mail message (including any
> attachments) may be confidential, proprietary, privileged, or otherwise
> exempt from disclosure under applicable laws. It is intended to be
> conveyed only to the designated recipient(s). Any use, dissemination,
> distribution, printing, retaining or copying of this e-mail (including its
> attachments) by unintended recipient(s) is strictly prohibited and may
> be unlawful. If you are not an intended recipient of this e-mail, or believe
> that you have received this e-mail in error, please notify the sender
> immediately (by replying to this e-mail), delete any and all copies of
> this e-mail (including any attachments) from your system, and do not
> disclose the content of this e-mail to any other person. Thank you!
>
>