Re: [mpls] mpls-in-udp entropy

Alexander Vainshtein <Alexander.Vainshtein@ecitele.com> Wed, 15 January 2014 19:45 UTC

Return-Path: <Alexander.Vainshtein@ecitele.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 C46631AE1A3 for <mpls@ietfa.amsl.com>; Wed, 15 Jan 2014 11:45:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 7GM8uKxyHoKf for <mpls@ietfa.amsl.com>; Wed, 15 Jan 2014 11:45:08 -0800 (PST)
Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1lp0010.outbound.protection.outlook.com [213.199.154.10]) by ietfa.amsl.com (Postfix) with ESMTP id 9777A1AE13F for <mpls@ietf.org>; Wed, 15 Jan 2014 11:45:07 -0800 (PST)
Received: from AM3PR03MB532.eurprd03.prod.outlook.com (10.242.109.156) by AM3PR03MB532.eurprd03.prod.outlook.com (10.242.109.156) with Microsoft SMTP Server (TLS) id 15.0.851.11; Wed, 15 Jan 2014 19:44:54 +0000
Received: from AM3PR03MB532.eurprd03.prod.outlook.com ([10.242.109.156]) by AM3PR03MB532.eurprd03.prod.outlook.com ([10.242.109.156]) with mapi id 15.00.0851.011; Wed, 15 Jan 2014 19:44:54 +0000
From: Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
To: "erosen@cisco.com" <erosen@cisco.com>
Thread-Topic: mpls-in-udp entropy
Thread-Index: AQHPEg/DqrG2RffskkmH2n3OOLdVh5qGLwCX
Date: Wed, 15 Jan 2014 19:44:53 +0000
Message-ID: <5b0765246d204750a50e1aad52a3b72e@AM3PR03MB532.eurprd03.prod.outlook.com>
References: Your message of Wed, 15 Jan 2014 11:54:17 +0000. <eaca6d98b34045ba9e08c43417507997@AM3PR03MB532.eurprd03.prod.outlook.com>, <6733.1389803700@erosen-linux>
In-Reply-To: <6733.1389803700@erosen-linux>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [109.66.126.123]
x-forefront-prvs: 00922518D8
x-forefront-antispam-report: SFV:NSPM; SFS:(10009001)(679001)(689001)(779001)(199002)(189002)(377454003)(65816001)(77982001)(79102001)(80022001)(74662001)(66066001)(74366001)(92566001)(74876001)(76576001)(76786001)(76796001)(47446002)(63696002)(74502001)(31966008)(59766001)(81686001)(93516002)(74316001)(56776001)(87266001)(85852003)(69226001)(54356001)(85306002)(76482001)(87936001)(56816005)(90146001)(83072002)(2656002)(46102001)(47976001)(50986001)(81816001)(81342001)(74706001)(93136001)(51856001)(53806001)(49866001)(80976001)(83322001)(19580395003)(4396001)(33646001)(81542001)(19580405001)(54316002)(47736001)(24736002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR03MB532; H:AM3PR03MB532.eurprd03.prod.outlook.com; CLIP:109.66.126.123; FPR:; RD:InfoNoRecords; A:1; MX:1; LANG:en;
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: ecitele.com
Cc: "mpls@ietf.org" <mpls@ietf.org>
Subject: Re: [mpls] mpls-in-udp entropy
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: <http://www.ietf.org/mail-archive/web/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: Wed, 15 Jan 2014 19:45:12 -0000

Eric,
Lots of thanks for a prompt and highly informative response.

I have been actually thinking about the same thing, namely that the entropy port should be the result of some hash over the label stack.  

If this is indeed the intention of the authors, it would make sense (at least, from my point of view) of saying so in the draft. There is no need to make such a statement normative, but it would really help the readers (both implementors and operators) to understand what it is about.

Regards,
     Sasha 

________________________________________
From: Eric Rosen <erosen@cisco.com>
Sent: Wednesday, January 15, 2014 6:35 PM
To: Alexander Vainshtein
Cc: mpls@ietf.org
Subject: Re: mpls-in-udp entropy

(Changed subject line and trimmed cc-list.)

Sasha> I would like to understand whether this protocol can really result in
Sasha> reasonable distribution of traffic. "Reasonable" means that (a) there
Sasha> is sufficient entropy and (b) that the order in specific micro-flows
Sasha> is preserved.

I thought the intention was that the encapsulator would set the UDP source
port based upon the entropy of the packet being encapsulated.  This only
requires that the encapsulator know how to properly apply ECMP to the MPLS
packet that is being encapsulated.  That is, compute the hash that would be
used to apply ECMP to the MPLS packet, and then map from that hash to a UDP
source port.

E.g., two MPLS packets with the same entropy label would get the same UDP
source port, two MPLS packets with no entropy label but containing the same
TCP flow would get the same source port, etc.

Do you think there is a problem here?