Re: [mpls] Concerns about draft-kompella-mpls-special-purpose-labels-02

Pablo Frank <pabloisnot@gmail.com> Wed, 27 March 2013 14:26 UTC

Return-Path: <pabloisnot@gmail.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03F9F21F918F for <mpls@ietfa.amsl.com>; Wed, 27 Mar 2013 07:26:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level:
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UoS+Nuw2BLwt for <mpls@ietfa.amsl.com>; Wed, 27 Mar 2013 07:26:50 -0700 (PDT)
Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by ietfa.amsl.com (Postfix) with ESMTP id 1DDFA21F9182 for <mpls@ietf.org>; Wed, 27 Mar 2013 07:26:48 -0700 (PDT)
Received: by mail-ve0-f170.google.com with SMTP id 15so1441058vea.15 for <mpls@ietf.org>; Wed, 27 Mar 2013 07:26:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=kKnDHCbVqgVm75q0j/8o9dYP1rAvEI55EJ87wDoWXg0=; b=kxN8bDpL8Xb3kWTRiAc7mWsJzslvZZoca3tI8JjEIjZec7z94IsFUzL/BFf8XFf6Df TevgW3NNecn/Lk524/8uB+j6ZCveIvAn+xjfUtlwaknNrk7JEXqTuudPLjJIn2La5ZXM AdNHgwzc4sJEl/tsGJ3DTE+/+vjblaZGUCIPYdLeLumxsk48lhOC3JKdHMHxrAthrT07 U5AAI0pOvv8uedM7vSztcNtUTyaG+QvrGeIHfILoVNqVIxGGh6Qse/rlhtVoT/Ewb8SQ lxnJElCIhYwVyOBfmixCMf+hyhaFElVdfeAbI6uCM9MLTJKV06gx0ZnQY0P3ZpieZ8Ls fpxg==
MIME-Version: 1.0
X-Received: by 10.52.21.212 with SMTP id x20mr19564745vde.106.1364394407526; Wed, 27 Mar 2013 07:26:47 -0700 (PDT)
Received: by 10.52.97.97 with HTTP; Wed, 27 Mar 2013 07:26:47 -0700 (PDT)
In-Reply-To: <22045.1364223343@erosen-linux>
References: <51501F3E.2010400@pi.nu> <22045.1364223343@erosen-linux>
Date: Wed, 27 Mar 2013 10:26:47 -0400
Message-ID: <CAGEmCZzmtUMWpqO_BP0-TQ565MpyXkSvGrYUWhb-gJE0ordZDg@mail.gmail.com>
From: Pablo Frank <pabloisnot@gmail.com>
To: erosen@cisco.com
Content-Type: multipart/alternative; boundary="20cf3079bb28fe8a7a04d8e8d328"
Cc: mpls@ietf.org, draft-kompella-mpls-special-purpose-labels-02@tools.ietf.org
Subject: Re: [mpls] Concerns about draft-kompella-mpls-special-purpose-labels-02
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.12
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, 27 Mar 2013 14:26:51 -0000

A few more comments below PF>>

On Mon, Mar 25, 2013 at 10:55 AM, Eric Rosen <erosen@cisco.com> wrote:

>
> If an unrecognized label rises to the top of the label stack, the packet
> should be dropped.  However, I don't think there's any requirement for a
> router to drop a packet just because there's an unrecognized special
> purpose
> label somewhere in the stack.  So if hashing is done on the entire stack, I
> think Pablo is right that labels from the extended special purpose label
> space will get into the hash.
>
> Whether that really makes any difference is another matter.
>

PF>> It might be useful if the authors of RFC 6790 could comment on why
exactly reserved/special-purpose labels MUST NOT be included in a transit
LSR's hash (afaik, this is the first normative reference that states this
explicitly).  Probably the key reason is for GAL.  I imagine it's not very
helpful to have your LM/DM packets misordered with respect to the flow that
they are trying to monitor.

PF>> But I wonder if this really matters for the other currently defined
SPLs though and whether it will matter for future proposed SPLs.  It may be
*okay* if we simply note in the document that new SPLs allocated from the
extended SPL space may not have this property respected by older transit
LSRs.  Perhaps this even becomes a criteria to determine which space you
should request a new SPL from.  i.e. if your proposed SPL does not require
strict flow ordering wrt the LSP it is associated with, then such SPLs
should be allocated out of the extended space.  We may want to "protect" /
"reserve" the remaining labels in the 0-14 space for uses that require
strict ordering (btw, there's 8 left, not including  label 15).
 Ironically, that has the unfortunate consequence of making this matter
more urgent, not less.  :-)

>
> Loa> I'd really would like to allocate 0-1023 after 15 for the extended
> Loa> special purpose
>
> How about 0-63?  Or 0-255?
>

PF>> In the long-term, it probably doesn't matter that much because
hardware will adapt.  In the short-term, looking at some existing hardware
designs, the difference between, say, 16-1023 and 16-255 can be
significant.  In one NPU that I've used (not naming names but I imagine
some of you can guess), having a 10-bit space could force me to use a
16-bit CAM instead of an 8-bit CAM.  The difference in access-time is a
factor of 4.  That'll add up especially when there's at least two of these
labels now.

If the WG were to decide that Pablo's point is valid, one could deal with it
> by treating several of the currently unused special purpose labels (I think
> there are nine available) as extension labels, each identifying a new 4-bit
> extended special purpose label space.  That scheme would satisfy Pablo's
> criteria, but would not require more than two label stack entries to
> represent any of the special purpose labels.  (I guess each such label
> space
> would have to assign 7 as the entropy label.)
>
> I'm not advocating this scheme, but I do think it is better than using the
> cardinality of a sequence of 15's to identify a particular special purpose
> label space ;-)


PF>> Hey, I didn't say that I *liked* the cardinality idea.  Part of the
reason I suggested it was because I'm kinda hoping that we never actually
get to the 2nd 15.  Your suggestion works as well but it requires us to act
now, whereas my (admittedly quite awful) idea lets us ignore the problem
for hopefully several decades.

PF>> OTOH, if my concerns about SPL misordering only applies to a sub-set
of the SPLs then I'm leaning more towards a scheme where 0-14 is reserved
for legacy and ordering-dependent SPLs and 16-255/1023 is made available
"immediately" for less-strict uses.

cheers,
Pablo