Re: [Idr] WGLC on draft-ietf-idr-as-private-reservation-00

Jeff Wheeler <jsw@inconcepts.biz> Thu, 13 December 2012 14:15 UTC

Return-Path: <jsw@inconcepts.biz>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A953821F8AFA for <idr@ietfa.amsl.com>; Thu, 13 Dec 2012 06:15:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.774
X-Spam-Level:
X-Spam-Status: No, score=-2.774 tagged_above=-999 required=5 tests=[AWL=0.203, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i-wsMim1boEk for <idr@ietfa.amsl.com>; Thu, 13 Dec 2012 06:15:33 -0800 (PST)
Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by ietfa.amsl.com (Postfix) with ESMTP id E9F6721F8AF9 for <idr@ietf.org>; Thu, 13 Dec 2012 06:15:32 -0800 (PST)
Received: by mail-ie0-f172.google.com with SMTP id c13so4007756ieb.31 for <idr@ietf.org>; Thu, 13 Dec 2012 06:15:25 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=dLrHK7da6r2//6q8DoOQhr5S6yNHsBE+C0IKRBX6yI0=; b=b1RmAdIiSYfK7RTOEdA5F0cCVzQh6yTQoMO7bM060QXA4fn1Keipk31KmpbJRnxVf+ 0CYk+2zB//C+eRmsh0x6r6Isr4JWa5blwBDvIPHYlc3MdkLaySLNDTxWMOGigA/fu5ib smHuhxjNALaO3tKNvIbR/MY+dx58xGqwfQmPgDYNihAfns0mQugDEWNkKT4QJuJ7hsBK yyTiAgN8gOtjYFyH55R9a9HW+felSLZuSzrORsAW4yXhSzSg8xhBsgSBiwI/grYqQZgP Pv+2is8JfUVPjpkqTtSilVetTyHN1mUXTkUI19DCLtOsgPeflYkcX8gIHbYA1c9mvZ0B IMxQ==
MIME-Version: 1.0
Received: by 10.42.131.133 with SMTP id z5mr1500499ics.10.1355408125377; Thu, 13 Dec 2012 06:15:25 -0800 (PST)
Received: by 10.64.132.33 with HTTP; Thu, 13 Dec 2012 06:15:25 -0800 (PST)
X-Originating-IP: [74.134.22.105]
In-Reply-To: <50C8CE86.10103@umn.edu>
References: <CA+b+ERnuWZ+r2O-eFhe3hU00uoU4UKnRcbhLNVXU7p5+DjoWbQ@mail.gmail.com> <C6C16AE3B7961044B04A1BCEC6E2F93603D12A0C@xmb-rcd-x14.cisco.com> <20121210225858.GC24937@puck.nether.net> <m2d2yh32cw.wl%randy@psg.com> <CA+b+ERnSVvewSpftXs3FhW12-S+sgnB1SwD4L+xqFW+hhbQayw@mail.gmail.com> <7120600D-71BD-4E61-8F06-25B7C2BAE6A8@riw.us> <20121211185917.GA21813@puck.nether.net> <CA+b+ERnzo2BLWjE1J_dMfYuExbG9WYJroPE4ZAWg++KK2_jy1g@mail.gmail.com> <CA+b+ERm=Agr7b6JXcXOwiP4wBjnEFmnVNt5fAJrn18R0hGtSzg@mail.gmail.com> <50C78C29.3070406@foobar.org> <50C8B8D9.4090903@umn.edu> <50C8C491.4040705@foobar.org> <CAH1iCiqfZRLv2pBEg3gKxT=ZXf7AXCPJ_+QibOpgeFfOuqFK7g@mail.gmail.com> <50C8CE86.10103@umn.edu>
Date: Thu, 13 Dec 2012 09:15:25 -0500
Message-ID: <CAPWAtbK3AJwua8LiXsKHur=B8jWSRWg-Lu_pm1Fm+8q0=cTszQ@mail.gmail.com>
From: Jeff Wheeler <jsw@inconcepts.biz>
To: David Farmer <farmer@umn.edu>
Content-Type: text/plain; charset="ISO-8859-1"
X-Gm-Message-State: ALoCoQl2I8/QA4dj8LxqTqQN5wroG+TthEyqksYuS5Xo5o22BlswLcB62GqYXmL2yii8CtOsCAEH
Cc: IETF IDR Working Group <idr@ietf.org>
Subject: Re: [Idr] WGLC on draft-ietf-idr-as-private-reservation-00
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Dec 2012 14:15:33 -0000

On Wed, Dec 12, 2012 at 1:35 PM, David Farmer <farmer@umn.edu> wrote:
> Nick, why is this any different than creating a regexp that matches the
> current private ASN range?  To me this is a CLI/Config semantics issue and
> not a standards or allocation issue.

When I read the above argument, I think it is a clear statement that
you don't just not care how something appears in a CLI/NMS, but you
actually care more about an arbitrary range of numbers being
unnecessarily bit-aligned than you do a zero-cost move of that range
to where it can be CLI-friendly.

Operators do care what is on the CLI.  Operators also think the IETF
pays little attention to our concerns.  That's our fault for not
participating in the IETF process, but here you've got some operators
saying, please, reconsider this allocation!  Make it easier on us!
And then you've got some guys whining about a bit-alignment thing that
actually isn't.

Why isn't it bit-aligned?  Because ASN 2^32-1 is already reserved by
IANA and is not part of this new proposed private ASN range.

That means a programmer implementing a test to find if an ASN is in
this private range will be doing a range-check.  Could you make a
branch table from the first bits and then do the second arithmetic
comparison?  Sure.  Why would you want to?  Unless there are a bunch
of other branches in the table, it will be slower.

There is no argument to be made that the bit-alignment can make code
faster.  We are talking about a difference of a few instruction cycles
on any modern CPU anyway, but unless there will be a bunch of other
results besides "private" and "not private," which would mean there
are going to be a bunch of other reservations for different kinds of
ASNs in the future, then the bit-alignment simply does not offer an
advantage.  Making the branch-table would actually be slower, but not
so much slower you would care; however you probably won't implement
the branch table anyway because it is both more complicated and
slower.

I continue to think that a decimal-aligned allocation makes more
sense.  I also agree with Nick Hilliard that this range should
possibly be much lower in the ASN space to further improve legibility.

-- 
Jeff S Wheeler <jsw@inconcepts.biz>
Sr Network Operator  /  Innovative Network Concepts