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

Stewart Bryant <stbryant@cisco.com> Thu, 23 July 2015 14:22 UTC

Return-Path: <stbryant@cisco.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 2C2951ACE61 for <mpls@ietfa.amsl.com>; Thu, 23 Jul 2015 07:22:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -13.91
X-Spam-Level:
X-Spam-Status: No, score=-13.91 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, J_CHICKENPOX_51=0.6, 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 5GxrcZhuwRr0 for <mpls@ietfa.amsl.com>; Thu, 23 Jul 2015 07:21:58 -0700 (PDT)
Received: from aer-iport-3.cisco.com (aer-iport-3.cisco.com [173.38.203.53]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 855BC1ACE31 for <mpls@ietf.org>; Thu, 23 Jul 2015 07:21:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=55458; q=dns/txt; s=iport; t=1437661317; x=1438870917; h=message-id:date:from:reply-to:mime-version:to:cc:subject: references:in-reply-to; bh=OJIxyJQT9TJ30mN2GdZ17LAWzGj+moTVhK9wEqVCibs=; b=I943efsQvxVsKdgiPsMxqghr8iYpwW8/jXus2IQy/CxMmQFJw7mvtbvA cUrimqlUYORfNnfUnRSrNz5whJ85rEkOlLPnquXQrkss1E5yC4dl+6pme suUnv1lX/tGwq6DNWkBzbpu2gI/ZBpsp1PirTgz12zQpagjSinPFiJXHI Q=;
X-IronPort-AV: E=Sophos;i="5.15,531,1432598400"; d="scan'208,217";a="572545772"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-3.cisco.com with ESMTP; 23 Jul 2015 14:21:56 +0000
Received: from [10.61.215.123] ([10.61.215.123]) by aer-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id t6NELtEn014398; Thu, 23 Jul 2015 14:21:55 GMT
Message-ID: <55B0F882.1080009@cisco.com>
Date: Thu, 23 Jul 2015 15:21:54 +0100
From: Stewart Bryant <stbryant@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: adrian@olddog.co.uk, 'Andrew Qu' <andrew.qu@mediatek.com>
References: <DB3PR03MB078098C91E8D3C7DCDCCF8C39D840@DB3PR03MB0780.eurprd03.prod.outlook.com> <EA360A7AB9D90D4B9E9173B6D27C371EE3F6038F@MTKMBS61N1.mediatek.inc> <063701d0c551$0fdba4a0$2f92ede0$@olddog.co.uk>
In-Reply-To: <063701d0c551$0fdba4a0$2f92ede0$@olddog.co.uk>
Content-Type: multipart/alternative; boundary="------------020803040807070105030805"
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/AoYGzOhmt37rk1pK4AvIrDypIE4>
Cc: 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
Reply-To: stbryant@cisco.com
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: Thu, 23 Jul 2015 14:22:05 -0000

Adrian beat me to it, although I see no reference to the infinite loop 
that may also result.

You are also talking about operations that you do when you change level 
in the LSP hierarchy with operations that you do when forwarding at the 
same level in the hierarchy.

- Stewart


On 23/07/2015 15:08, Adrian Farrel wrote:
>
> Andrew,
>
> Are you mixing "no swap" with "bump in the wire"?
>
> If you are going to not consider TTL then you are doing some far more 
> "interesting" things: like not decrementing the TTL so not being 
> counted as a hop; not appearing in OAM; not checking incoming packets 
> for TTL going to zero.
>
> The discussion of "no swap" as applied *solely* to the label is a 
> black box optimisation. There is no difference at the external 
> interfaces when "no swap" is done or when "pop'n'push" or 
> "swap-inline" is done. The packet coming out has the same features in 
> all cases.
>
> But, if you are doing other special things to the label stack entry 
> (e.g. not looking at it, or not changing it) then IMHO you are not a 
> router, you are a wire.
>
> Adrian
>
> *From:*mpls [mailto:mpls-bounces@ietf.org] *On Behalf Of *Andrew Qu
> *Sent:* 23 July 2015 15:01
> *To:* Alexander Vainshtein; Stewart Bryant; Andrew G. Malis; S. Davari
> *Cc:* mpls@ietf.org
> *Subject:* Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how 
> much does it really save?
>
> I don’t agree no-swap is the same as “swap with same value”.
>
> I think if standard adds a no-swap operation, that would be great for 
> people to implement
>
> Either SW or HW.
>
> Once the label is defined as swap, I need to consider
>
> 1)TTL
>
> Copy payload TTL ? or using const_value
>
> 2)QoS (pipe mode or not)
>
> If pipe mode => then I need to do something
>
> If not=> then I need to do something else.
>
> However if it is really a “no-swap”,  then it is very clear for HW/SW 
> to implement such operation.
>
> I don’t need to consider any part of above cases.
>
> I don’t think swaping a same value label is NOT the same as “no-swap” 
> at all.
>
> From Standard point of view, we should NOT leave ambiguity here at all.
>
> Thanks,
>
> Andrew
>
> *From:*mpls [mailto:mpls-bounces@ietf.org] *On Behalf Of *Alexander 
> Vainshtein
> *Sent:* Tuesday, July 21, 2015 5:05 PM
> *To:* Stewart Bryant; Andrew G. Malis; S. Davari
> *Cc:* mpls@ietf.org
> *Subject:* Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how 
> much does it really save?
>
> +1.
>
> Thumb typed on my LG,
> Sasha
>
> ------ Original message ------
> *From: *Stewart Bryant
> *Date: *21/07/2015 17:58
> *To: *Andrew G. Malis;S. Davari;
> *Cc: *mpls@ietf.org <mailto:mpls@ietf.org>;
> *Subject:*Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how 
> much does it really save?
>
> This draft proposes architectural changes, and as we can show that
> these changes are not needed, in my view, this draft should not go
> forward.
>
> - Stewart
>
>
> On 21/07/2015 09:02, Andrew G. Malis wrote:
>
>     As there are no architectural or protocol changes or IANA
>     considerations, this draft should be informational if it goes
>     forward (it currently says "standards track").
>
>     Cheers,
>
>     Andy
>
>     On Mon, Jul 20, 2015 at 8:52 PM, S. Davari  <davarish@yahoo.com
>     <mailto:davarish@yahoo.com>> wrote:
>
>     Eric
>
>     I agree no standard change is required since this is a local
>     optimization issue.
>
>     Regards,
>     Shahram
>
>
>     > On Jul 20, 2015, at 11:43 AM, Eric C Rosen <erosen@juniper.net
>     <mailto:erosen@juniper.net>> wrote:
>     >
>     >> On 7/20/2015 2:07 PM, Shahram Davari wrote:
>     >> The new swapped labels (The outgoing  label that replaces the
>     >> incoming label) need to be stored in a table. Using this draft
>     >> reduces the number of swapped labels that needs to be stored,
>     >> regardless of  implementation. Don't you agree?
>     >
>     > No.  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.  You could
>     do this today, as a local implementation optimization. There
>     doesn't seem to be any interop issue or any change to the data
>     plane semantics.
>     >
>     >> It also reduces the configuration and management of the new
>     swapped labels.
>     >
>     > We're not discussing whether there are any advantages to the use
>     of domain-wide labels.  We're discussing whether the use of
>     domain-wide labels requires a change in the forwarding plane
>     architecture.  I just don't see that it does.
>     >
>     > _______________________________________________
>     > mpls mailing list
>     > mpls@ietf.org <mailto:mpls@ietf.org>
>     > https://www.ietf.org/mailman/listinfo/mpls
>
>
>     _______________________________________________
>     mpls mailing list
>     mpls@ietf.org <mailto:mpls@ietf.org>
>     https://www.ietf.org/mailman/listinfo/mpls
>
>
>     _______________________________________________
>
>     mpls mailing list
>
>     mpls@ietf.org  <mailto:mpls@ietf.org>
>
>     https://www.ietf.org/mailman/listinfo/mpls
>
>
>
> -- 
> For corporate legal information go to:
>   
> http://www.cisco.com/web/about/doing_business/legal/cri/index.html
>   
> ************* 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!
>
>
>
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://www.ietf.org/mailman/listinfo/mpls


-- 
For corporate legal information go to:

http://www.cisco.com/web/about/doing_business/legal/cri/index.html