Re: [Idr] Fwd:I-D ACTION:draft-pmohapat-idr-acceptown-community-01.txt

Brian Dickson <briand@ca.afilias.info> Wed, 30 April 2008 23:19 UTC

Return-Path: <idr-bounces@ietf.org>
X-Original-To: idr-archive@megatron.ietf.org
Delivered-To: ietfarch-idr-archive@core3.amsl.com
Received: from core3.amsl.com (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 628723A68F3; Wed, 30 Apr 2008 16:19:05 -0700 (PDT)
X-Original-To: idr@core3.amsl.com
Delivered-To: idr@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id B841A3A6A33 for <idr@core3.amsl.com>; Wed, 30 Apr 2008 16:19:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.099
X-Spam-Level:
X-Spam-Status: No, score=-5.099 tagged_above=-999 required=5 tests=[AWL=1.500, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xS14+7rwJsgP for <idr@core3.amsl.com>; Wed, 30 Apr 2008 16:19:03 -0700 (PDT)
Received: from mx4.ca.afilias.info (vgateway.libertyrms.info [207.219.45.62]) by core3.amsl.com (Postfix) with ESMTP id BF07C3A68F3 for <idr@ietf.org>; Wed, 30 Apr 2008 16:19:02 -0700 (PDT)
Received: from briand-vpn.int.libertyrms.com ([10.1.7.90]) by mx4.ca.afilias.info with esmtp (Exim 4.22) id 1JrLZT-0004wa-Kl; Wed, 30 Apr 2008 19:18:43 -0400
Message-ID: <4818FEC1.4050308@ca.afilias.info>
Date: Wed, 30 Apr 2008 19:20:33 -0400
From: Brian Dickson <briand@ca.afilias.info>
User-Agent: Thunderbird 2.0.0.12 (Windows/20080213)
MIME-Version: 1.0
To: "John G. Scudder" <jgs@bgp.nu>
References: <20080425213001.4EB133A69E7@core3.amsl.com> <64E4CA6A-B8E4-4390-BDA6-39EF28E95AEA@tcb.net> <7000E71D8C525042A815432358B2F1240138D45E@paul.adoffice.local.de.easynet.net> <DE879141-E245-4051-A04D-9FF5CF97F892@bgp.nu> <39074353-26E5-4239-A193-E4DD84AE75A0@tcb.net> <014A2382-C5CE-4657-B4DA-FC84D7772359@bgp.nu><4686A93B-EF16-48DC-9775-1BD241575360@tcb.net><4818D897.3070804@cisco.com><DC5EBA07-BBE5-4D6D-9F3E-C40C66ACE34B@tcb.net><4818DB47.8040002@cisco.com><82B7CFF7-86CB-4DC7-BE53-29004128B5CB@tcb.net><4818DCFC.70001@cisco.com> <8D3C8A4B-B80B-4983-8DC7-A142FFA4B41C@tcb.net> <4818ECF1.1030909@juniper.net> <157A9EDC-B512-4C05-A257-72D70DFB44FA@tcb.net> <E41B60B6-6B6C-4EF1-9170-BDAAE23B9D7E@bgp.nu>
In-Reply-To: <E41B60B6-6B6C-4EF1-9170-BDAAE23B9D7E@bgp.nu>
X-SA-Exim-Mail-From: briand@ca.afilias.info
X-SA-Exim-Scanned: No; SAEximRunCond expanded to false
Cc: idr idr <idr@ietf.org>, Danny McPherson <danny@tcb.net>
Subject: Re: [Idr] Fwd:I-D ACTION:draft-pmohapat-idr-acceptown-community-01.txt
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/pipermail/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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: idr-bounces@ietf.org
Errors-To: idr-bounces@ietf.org

John G. Scudder wrote:
> On Apr 30, 2008, at 6:39 PM, Danny McPherson wrote:
>   
>> Traffic wasn't the issue.  It's more CPU, memory, etc..  Just
>> because it's available doesn't mean it's free.
>>     
>
> Regarding memory, it needn't be consumed for a this-is-my-own-route  
> path.  (It may be, but this is an implementation decision.)
>
>   

You need to be careful about steady-state memory usage vs 
high-water-mark memory usage.
Processing updates chews memory *prior* to installation of entries in 
various RIBs/FIBs, and
unless you have an excess of CPU power (and can handle line-rate packets 
in the slow path),
it isn't possible to feasibly pre-filter without degrading performance.

And not pre-filtering means memory gets hit on the transient prior to 
discarding this-is-my-own-route.

> Regarding CPU, remember that you want to optimize the bottleneck,  
> nothing else matters really.  In most cases, the RR is the control  
> plane bottleneck.  Loading it up more to protect the CPUs of non- 
> bottleneck devices seems like an odd design decision.
>
>   

The red flag has gone up. Using the term "*the* bottleneck" means you 
don't understand the nature
of complex systems. Yes, there will *always* be a bottleneck. However, 
solving for one bottleneck
will *always* move the bottleneck to some other place. It may be 
acceptable for a stable state with
several equally-pernicious bottlenecks affecting the system, or to move 
the bottleneck to a portion of
the solution space that scales best (e.g. one that scales as O(n log n) 
vs one that scales as O(n^2).

The two other points I'd like to make, are, that:
(1) saying "in most cases" is the same as saying "it's not always the 
case". Solving for one case without
considering other cases is very short-sighted and can cause unforseen 
consequences. It is much better
to *consider* those cases, explicitly, and discuss whether and to what 
degree they would get affected; and

(2) keep in mind - an RR is *strictly* control plane. It is possible for 
it to reside on a device that also does
data plane stuff. However, if RR performance is a huge deal, throwing 
*computer* hardware at it, rather
than *router* hardware at it, is an entirely feasible solution - with 
likely higher (by orders of magnitude)
ceiling on performance that can be bought, and likely at much lower 
price point than equivalent router vendor
RR solutions. RR can achieve equivalent topological solutions (and thus 
avoid topological variance versus
router-based RR's) by sitting as a one-armed device hanging off a core 
router.

There is something to very much consider, however:
RR's are fundamentally required to achieve suitable scaling on big 
non-VPN networks.
Please keep those networks in mind when messing about with core BGP 
protocols.

(Never mind that I'm working on something to *really* mess with those 
same core BGP protocols... but with good reason. :-) )

Brian Dickson
_______________________________________________
Idr mailing list
Idr@ietf.org
https://www.ietf.org/mailman/listinfo/idr