RE: [Idr] why has 4096 bytes limit on BGP messages size?

"Susan Hares" <skh@nexthop.com> Fri, 15 June 2007 14:53 UTC

Return-path: <idr-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HzDAy-0005xR-U6; Fri, 15 Jun 2007 10:53:24 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HzDAx-0005x4-2u for idr@ietf.org; Fri, 15 Jun 2007 10:53:23 -0400
Received: from gateout01.mbox.net ([165.212.64.21]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HzDAv-0005le-PD for idr@ietf.org; Fri, 15 Jun 2007 10:53:23 -0400
Received: from gateout01.mbox.net (gateout01.mbox.net [165.212.64.21]) by gateout01.mbox.net (Postfix) with ESMTP id EB8253494; Fri, 15 Jun 2007 14:53:20 +0000 (GMT)
Received: from GW2.EXCHPROD.USA.NET [165.212.116.254] by gateout01.mbox.net via smtad (C8.MAIN.3.34P) with ESMTP id XID340LFoo2V5401Xo1; Fri, 15 Jun 2007 14:53:21 -0000
X-USANET-Source: 165.212.116.254 IN skh@nexthop.com GW2.EXCHPROD.USA.NET
X-USANET-MsgId: XID340LFoo2V5401Xo1
Received: from VS4.EXCHPROD.USA.NET ([10.116.208.141]) by GW2.EXCHPROD.USA.NET with Microsoft SMTPSVC(6.0.3790.1830); Fri, 15 Jun 2007 08:51:46 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [Idr] why has 4096 bytes limit on BGP messages size?
Date: Fri, 15 Jun 2007 08:53:16 -0600
Message-ID: <6F44D7F6B24A8F4DA0AB46C9BE924F020B70FC1C@VS4.EXCHPROD.USA.NET>
In-Reply-To: <Pine.LNX.4.64.0706150839040.12496@netcore.fi>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Idr] why has 4096 bytes limit on BGP messages size?
Thread-Index: AcevEKo5nxacpLAqQ6CFE3jEhDfgXgAS5CeA
From: Susan Hares <skh@nexthop.com>
To: Pekka Savola <pekkas@netcore.fi>, Danny McPherson <danny@tcb.net>
X-OriginalArrivalTime: 15 Jun 2007 14:51:46.0826 (UTC) FILETIME=[B26676A0:01C7AF5C]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: c1c65599517f9ac32519d043c37c5336
Cc: idr List Routing <idr@ietf.org>
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/idr>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
Errors-To: idr-bounces@ietf.org

Pekka:

What is the complexity of the BGP peering at your DFZ? Can you give an
overview of the type of updates this represents?  

Without that information, it is difficult to quantify your data point. 

Millions of routers in several virtual routers with RD tags may have a
different flow pattern of updates. 

Thanks,

Sue

-----Original Message-----
From: Pekka Savola [mailto:pekkas@netcore.fi] 
Sent: Friday, June 15, 2007 1:48 AM
To: Danny McPherson
Cc: idr List Routing
Subject: Re: [Idr] why has 4096 bytes limit on BGP messages size?

On Thu, 14 Jun 2007, Danny McPherson wrote:
> On Jun 14, 2007, at 9:59 AM, Pekka Savola wrote:
>> (The header fields already tell the length of the message, so
allocating 4K 
>> buffer for each BGP message (when most messages are much smaller than
4K) 
>> is probably a waste in many cases.)
>
> Pekka,
> Do you have some references to data supporting your comment here
> regarding most messages being smaller than 4K?

Yes.  I've sometimes taken debugs logs of BGP when a DFZ table flapped 
and looked at the packets.  Here's a plot of BGP Update size versus 
occurrences (in this about 10-15min trace, 87K BGP updates).  BGP 
Updates are sent by a Juniper T-series router.  The smallest is 26B, 
the largest 4095B.  Top 20 sizes (6995 through 1229 occurrences) are 
all between 58 and 95 bytes.

(Not sure if the small attachment gets on the list, but if not, I'll 
post it somewhere.)

-- 
Pekka Savola                 "You each name yourselves king, yet the
Netcore Oy                    kingdom bleeds."
Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings

_______________________________________________
Idr mailing list
Idr@ietf.org
https://www1.ietf.org/mailman/listinfo/idr