RE: [nsp] BGP memory requirement increase with IOS 12.2?

From: Przemyslaw Karwasiecki (karwas@ifxcorp.com)
Date: Tue Jun 26 2001 - 12:28:57 EDT


Thanks a lot Gert,

You are absolutly correct. The difference is CEF.
CEF was not enabled on 12.1, and it is enabled on 12.2,
hence the difference in memory utilization.

But it is still interesting why CEF datastructures are
accounted as "BGP Router process" in sh proc mem....
This smells like a "feature" :-)

Thanks a lot again,

Przemek

-----Original Message-----
From: Gert Doering [mailto:gert@greenie.muc.de]
Sent: Tuesday, June 26, 2001 11:43 AM
To: Przemyslaw Karwasiecki; cisco-nsp@puck.nether.net
Cc: dsalama@ifxcorp.com; yery.tannus@ifxnw.cl
Subject: Re: [nsp] BGP memory requirement increase with IOS 12.2?

Hi,

On Tue, Jun 26, 2001 at 11:12:10AM -0400, Przemyslaw Karwasiecki wrote:
> Basically BGP router process on box running IOS 12.1 is holding
> ~45MB of memory, while on box working in comparable condition,
> but wth IOS upgraded to 12.2 the same BGP router process is holding
> ~73MB of memory. Is it normal and expected?
> In other words: Is it a feature, or is it a bug :-) ?

This is likely to be CEF (memory used by CEF is accounted to the BGP
process). And yes, this amount of memory seems to be "normal" for
a full BGP table.

With 12.0S, I have:

 - no CEF, NPE-225:
  84 0 139795568 47721452 58320988 0 0 BGP Router

 - with CEF, NPE-400:
  91 0 79328336 1014588 75063872 0 0 BGP Router

so those figures match what you observe.

(What BGP *does* with these amounts of memory hasn't been answered
yet - "show ip b su" adds up to only about half the amount of memory)

gert

--
USENET is *not* the non-clickable part of WWW!

//www.muc.de/~gert/ Gert Doering - Munich, Germany gert@greenie.muc.de fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de



This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:12:43 EDT