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

"Adrian Farrel" <adrian@olddog.co.uk> Thu, 23 July 2015 14:08 UTC

Return-Path: <adrian@olddog.co.uk>
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 ABA931ACDB2 for <mpls@ietfa.amsl.com>; Thu, 23 Jul 2015 07:08:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.999
X-Spam-Level:
X-Spam-Status: No, score=-101.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_LOW=-0.7, USER_IN_WHITELIST=-100] 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 eQpWDka83AaZ for <mpls@ietfa.amsl.com>; Thu, 23 Jul 2015 07:08:37 -0700 (PDT)
Received: from asmtp1.iomartmail.com (asmtp1.iomartmail.com [62.128.201.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B056E1A87E7 for <mpls@ietf.org>; Thu, 23 Jul 2015 07:08:36 -0700 (PDT)
Received: from asmtp1.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id t6NE8YJX029290; Thu, 23 Jul 2015 15:08:34 +0100
Received: from 950129200 (dhcp-b176.meeting.ietf.org [31.133.177.118]) (authenticated bits=0) by asmtp1.iomartmail.com (8.13.8/8.13.8) with ESMTP id t6NE8WIS029266 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 23 Jul 2015 15:08:33 +0100
From: "Adrian Farrel" <adrian@olddog.co.uk>
To: "'Andrew Qu'" <andrew.qu@mediatek.com>
References: <DB3PR03MB078098C91E8D3C7DCDCCF8C39D840@DB3PR03MB0780.eurprd03.prod.outlook.com> <EA360A7AB9D90D4B9E9173B6D27C371EE3F6038F@MTKMBS61N1.mediatek.inc>
In-Reply-To: <EA360A7AB9D90D4B9E9173B6D27C371EE3F6038F@MTKMBS61N1.mediatek.inc>
Date: Thu, 23 Jul 2015 15:08:33 +0100
Message-ID: <063701d0c551$0fdba4a0$2f92ede0$@olddog.co.uk>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0638_01D0C559.71A4A080"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQKzQJK9kJpXm0F5+xxjl9qsRmKvegJzuunRnBCB8DA=
Content-Language: en-gb
X-TM-AS-MML: disable
X-TM-AS-Product-Ver: IMSS-7.1.0.1576-8.0.0.1202-21698.007
X-TM-AS-Result: No--30.478-10.0-31-10
X-imss-scan-details: No--30.478-10.0-31-10
X-TMASE-MatchedRID: Xxz90/Ib/Zg7iuZ/mdYYtlqTZu55qmNRpxEHlduTslDL1SGpNpKQyi2A LmUqyNrRvsnnK/VbfkqMVQb49Y23Ix9fNWA7SFWqmLvr/eiGOE74+9RkGdNhWGxJZsdfvpNzWpo 2v5ZHS+fXldNKzKPlvTWQg1yejS72tDSfcMR+7ZNgg+UjPGL1RXENmofN9nrpM21CreAEMZhehe h0dgb9eq8aUsrLRFySgNMFzGNLElBaNaxZBRbNWqvM+zzl/BST+pAoHyMi/o+Z8fwWt5BhYOx9X ZQ1UO/eQgUInkqQBs/M1jffIgQXhhtOWu9t8OcnSSUXkvSVAdzplJeCqDmqy+VwPkhdNxH1Ebus ZnyrIfTmdcm+4RXJ7camcgjprEPzOAqxcO8wXlvNQZLahcjIsTJ2ncI9Ab5FUSIRJNI3UC+QiLE OKOIRPnHMXURFxRSfVZ54ioe2Ewuh9lX/ZdrRwsxzM8CbVIFI44BDpO4iKowJyg8d9MeowoMIR3 HKgQXmPvqoTCKNMGtIOSHptb5tx2KaLwu81+avj/KzIaXakx6CXRbsHj8YbwvjUALgegyqc01y0 C3CGGiajZkb8TuLc5VIEKhlTKps1KoSW5Ji1Xu2F4a+vI22PinFkCcdwCtc8dY35PxDpnQXXGLm wYbUcgUJ2rQm9htlnVTWWiNp+v9BldmDYjwlppuSv4SfxhK3hzgLHqCMyqj/GfRlWNBSbXRIIK/ I1Y+US4Q3I/LeUOdm85QoNuKKviaXATIpQghoVWoi/SaO4wZaeSLr129mS9iqWhRD053L/Kcoh1 +zX3/0hk2n+cz0+7I7NQjwHVSmerJCitPoIIybKItl61J/yZUdXE/WGn0FSlnU38LCY8v3vguvm Elg+tUD5BVcvVVb6oOZutiToMg0kxW7y4PQmRzyjtyF0CPXSYYlYOcV1ws=
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/vkdCszdSTc9OvfYMLcBF7TFC-SY>
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: adrian@olddog.co.uk
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:08:40 -0000

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;
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> 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> 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
>  https://www.ietf.org/mailman/listinfo/mpls

_______________________________________________
mpls mailing list
mpls@ietf.org
https://www.ietf.org/mailman/listinfo/mpls
 

  
_______________________________________________
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
 

************* 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!