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

Shahram Davari <davari@broadcom.com> Mon, 20 July 2015 18:11 UTC

Return-Path: <davari@broadcom.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 E28221B2A3D for <mpls@ietfa.amsl.com>; Mon, 20 Jul 2015 11:11:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level:
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] 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 ebOMsZC4YAY2 for <mpls@ietfa.amsl.com>; Mon, 20 Jul 2015 11:11:51 -0700 (PDT)
Received: from mail-gw1-out.broadcom.com (mail-gw1-out.broadcom.com [216.31.210.62]) by ietfa.amsl.com (Postfix) with ESMTP id 9E3221A0093 for <mpls@ietf.org>; Mon, 20 Jul 2015 11:11:51 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.15,509,1432623600"; d="scan'208";a="70388356"
Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw1-out.broadcom.com with ESMTP; 20 Jul 2015 12:21:28 -0700
Received: from SJEXCHCAS06.corp.ad.broadcom.com (10.16.203.14) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 20 Jul 2015 11:11:51 -0700
Received: from SJEXCHMB12.corp.ad.broadcom.com ([fe80::bc15:c1e1:c29a:36f7]) by SJEXCHCAS06.corp.ad.broadcom.com ([::1]) with mapi id 14.03.0235.001; Mon, 20 Jul 2015 11:11:50 -0700
From: Shahram Davari <davari@broadcom.com>
To: Shahram Davari <davari@broadcom.com>, Eric C Rosen <erosen@juniper.net>, "stbryant@cisco.com" <stbryant@cisco.com>, "mpls@ietf.org" <mpls@ietf.org>
Thread-Topic: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much does it really save?
Thread-Index: AQHQwwR9OwfTAAS3/0O9L44IGnUJ+p3kitkggACE/YD//5XgUIAAAzhg
Date: Mon, 20 Jul 2015 18:11:49 +0000
Message-ID: <4A6CE49E6084B141B15C0713B8993F2831F73FA2@SJEXCHMB12.corp.ad.broadcom.com>
References: <55AD19F2.1010206@cisco.com> <4A6CE49E6084B141B15C0713B8993F2831F73A21@SJEXCHMB12.corp.ad.broadcom.com> <55AD2DAD.4060908@juniper.net> <4A6CE49E6084B141B15C0713B8993F2831F73F3A@SJEXCHMB12.corp.ad.broadcom.com>
In-Reply-To: <4A6CE49E6084B141B15C0713B8993F2831F73F3A@SJEXCHMB12.corp.ad.broadcom.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.16.203.100]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/mpls/CA524UKpHAAQic-NT5l7YJKADfA>
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: Mon, 20 Jul 2015 18:11:53 -0000

It also reduces the configuration and management of the new swapped labels.

Thx
SD

-----Original Message-----
From: mpls [mailto:mpls-bounces@ietf.org] On Behalf Of Shahram Davari
Sent: Monday, July 20, 2015 11:07 AM
To: 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 Eric,

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 store, regardless of  implementation. Don't you agree?


Thanks
Shahram

-----Original Message-----
From: Eric C Rosen [mailto:erosen@juniper.net] 
Sent: Monday, July 20, 2015 10:20 AM
To: Shahram Davari; stbryant@cisco.com; mpls@ietf.org
Cc: erosen@juniper.net
Subject: Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much does it really save?

On 7/20/2015 12:27 PM, Shahram Davari wrote:
> This draft actually saves a lot of memory as it requires only very
> little MPLS entry table and associated processing. There are only a
> few Ethernet MAC headers used in MPLS forwarding, typically one MAC
> per port, but there can be thousands Of swapped labels. So it is not
> a matter of 14 bytes vs 18 bytes.

This seems like purely a local implementation matter.  You still have to 
look up the label, don't you?  If you want to optimize for the case 
where the top label doesn't actually change its value, just use a 
14-byte rewrite string instead of an 18-byte string for those labels, 
and allow multiple label lookups to result in a pointer to the same 
14-byte rewrite string.

I don't really see the point of the draft, as this optimization does not 
require any architecture changes or any protocol changes.

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