[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: BGP memory/cpu req



On Tue, 2003-03-11 at 05:58, Teun Vink wrote:
> Check out the Zebra mailinglist, it has been discussed there over and
> over. Basically, a full routing table would require 512Mb at least. CPU
> isn't that much of an issue, any 'normal' CPU (P3) would do...
512MB is more than enough for zebra.  I would be comfortable running
zebra on as little as 256MB of memory.  If you want to use the box for
other tasks like squid, etc. you might become constrained.  We use ours
for some RRD polling.

I have a box with two full sessions of about 120k prefixes from transit
providers, both sessions with soft-reconfig enabled.  CPU is never an
issue, as far more CPU time is spent handling ethernet card Rx
interrupts than BGP or OSPF updates.  The box forwards an average of
11kpps and 60Mbit/sec, peaks around 16kpps and 90Mbit/sec.

root@mr0.chcgil2:~# ps u `cat /var/run/zebra.pid` `cat
/var/run/bgpd.pid` `cat /var/run/ospfd.pid`
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root       197  0.1  2.4 25916 24872 ?       S     2002 143:03
/usr/local/sbin/zebra -d -f/etc/zebra/zebra.conf
root       200  0.6  6.2 65756 64960 ?       S     2002 786:20
/usr/local/sbin/bgpd -d -f/etc/zebra/bgpd.conf
root       828  0.0  0.1  2292 1204 ?        S     2002  20:06
/usr/local/sbin/ospfd -d -f/etc/zebra/ospfd.conf
root@mr0.chcgil2:~# free
             total       used       free     shared    buffers    
cached
Mem:       1033380     864148     169232          0      21348    
622244
-/+ buffers/cache:     220556     812824
Swap:       497972          0     497972
root@mr0.chcgil2:~# 

-- 
Jeff S Wheeler <jsw@five-elements.com>

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: