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

"Susan Hares" <skh@nexthop.com> Fri, 15 June 2007 15:23 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 1HzDdi-0006Sh-3L; Fri, 15 Jun 2007 11:23:06 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HzDWa-0004FZ-IS for idr@ietf.org; Fri, 15 Jun 2007 11:15:44 -0400
Received: from gateout02.mbox.net ([165.212.64.22]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HzDK3-0008Cs-Se for idr@ietf.org; Fri, 15 Jun 2007 11:02:48 -0400
Received: from gateout02.mbox.net (gateout02.mbox.net [165.212.64.22]) by gateout02.mbox.net (Postfix) with ESMTP id D75D73435; Fri, 15 Jun 2007 15:01:52 +0000 (GMT)
Received: from GW1.EXCHPROD.USA.NET [165.212.116.254] by gateout02.mbox.net via smtad (C8.MAIN.3.34P) with ESMTP id XID763LFoPB20270Xo2; Fri, 15 Jun 2007 15:01:53 -0000
X-USANET-Source: 165.212.116.254 IN skh@nexthop.com GW1.EXCHPROD.USA.NET
X-USANET-MsgId: XID763LFoPB20270Xo2
Received: from VS4.EXCHPROD.USA.NET ([10.116.208.141]) by GW1.EXCHPROD.USA.NET with Microsoft SMTPSVC(6.0.3790.1830); Fri, 15 Jun 2007 09:01:16 -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 09:02:43 -0600
Message-ID: <6F44D7F6B24A8F4DA0AB46C9BE924F020B70FC4A@VS4.EXCHPROD.USA.NET>
In-Reply-To: <6F44D7F6B24A8F4DA0AB46C9BE924F020B70FC1C@VS4.EXCHPROD.USA.NET>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [Idr] why has 4096 bytes limit on BGP messages size?
Thread-Index: AcevEKo5nxacpLAqQ6CFE3jEhDfgXgAS5CeAAAB2LLA=
From: Susan Hares <skh@nexthop.com>
To: Susan Hares <skh@nexthop.com>, Pekka Savola <pekkas@netcore.fi>, Danny McPherson <danny@tcb.net>
X-OriginalArrivalTime: 15 Jun 2007 15:01:16.0281 (UTC) FILETIME=[05D26690:01C7AF5E]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 00e94c813bef7832af255170dca19e36
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:

Oops - I shouldn't type before my coffee in the morning. Please change
the question to the following information: 


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 routes in several virtual routers with RD tags may have a
different flow pattern of updates. 

Thanks,

-----Original Message-----
From: Susan Hares [mailto:skh@nexthop.com] 
Sent: Friday, June 15, 2007 10:53 AM
To: Pekka Savola; Danny McPherson
Cc: idr List Routing
Subject: RE: [Idr] why has 4096 bytes limit on BGP messages size?

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


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