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:07 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 2B7911B2A5C for <mpls@ietfa.amsl.com>; Mon, 20 Jul 2015 11:07:16 -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 KflhcsWz1OJi for <mpls@ietfa.amsl.com>; Mon, 20 Jul 2015 11:07:15 -0700 (PDT)
Received: from mail-gw2-out.broadcom.com (mail-gw2-out.broadcom.com [216.31.210.63]) by ietfa.amsl.com (Postfix) with ESMTP id 088231B2A57 for <mpls@ietf.org>; Mon, 20 Jul 2015 11:07:14 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="5.15,509,1432623600"; d="scan'208";a="70271290"
Received: from irvexchcas07.broadcom.com (HELO IRVEXCHCAS07.corp.ad.broadcom.com) ([10.9.208.55]) by mail-gw2-out.broadcom.com with ESMTP; 20 Jul 2015 11:25:25 -0700
Received: from SJEXCHCAS06.corp.ad.broadcom.com (10.16.203.14) by IRVEXCHCAS07.corp.ad.broadcom.com (10.9.208.55) with Microsoft SMTP Server (TLS) id 14.3.235.1; Mon, 20 Jul 2015 11:07:14 -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:07:13 -0700
From: Shahram Davari <davari@broadcom.com>
To: 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//5XgUA==
Date: Mon, 20 Jul 2015 18:07:13 +0000
Message-ID: <4A6CE49E6084B141B15C0713B8993F2831F73F3A@SJEXCHMB12.corp.ad.broadcom.com>
References: <55AD19F2.1010206@cisco.com> <4A6CE49E6084B141B15C0713B8993F2831F73A21@SJEXCHMB12.corp.ad.broadcom.com> <55AD2DAD.4060908@juniper.net>
In-Reply-To: <55AD2DAD.4060908@juniper.net>
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/z7kaGYHa6a9aHTvYz62DGQ_Jyb4>
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:07:16 -0000

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.