BGP memory/cpu req

2003-03-11 Thread Valkai Elod

Anyone running BGP with a global routing table on zebra/debian/gnu/linux?

How much memory would it require? Does the CPU matter or is it mostly a 
RAM issue?

thx,

-- 

Elod VALKAI
Network Administrator
RC Team SA, Timisoara




Re: BGP memory/cpu req

2003-03-11 Thread Teun Vink
On Tue, 2003-03-11 at 11:28, Valkai Elod wrote:
 Anyone running BGP with a global routing table on zebra/debian/gnu/linux?
 
 How much memory would it require? Does the CPU matter or is it mostly a 
 RAM issue?
 
 thx,


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...


Teun




Re: BGP memory/cpu req

2003-03-11 Thread Nicolas Bougues
On Tue, Mar 11, 2003 at 12:28:04PM +0200, Valkai Elod wrote:
 
 Anyone running BGP with a global routing table on zebra/debian/gnu/linux?
 

I do.

The machine has 256 Mb, and is pretty happy with it.

Here is an extract from ps aux :

root   616  0.0 11.3 31012 29204 ?   SMar02   6:35 /usr/sbin/zebra 
-d
root   620  1.0 14.6 39924 37876 ?   SMar02 132:05 /usr/sbin/bgpd -d

And here is free :

[EMAIL PROTECTED]:~$ free
 total   used   free sharedbuffers
 cached
Mem:257980 239160  18820  15304 135116 11216
-/+ buffers/cache:  92828 165152 
Swap:0  0  0

 How much memory would it require? Does the CPU matter or is it mostly a 
 RAM issue?
 

It's a 450 MHz PIII. CPU power depends on the trafic you expect.

We have two peers, and get full routing table from both (+- 120 000
routes).

HTH.
--
Nicolas Bougues
Axialys Interactive




Re: BGP memory/cpu req

2003-03-11 Thread Valkai Elod
On Tue, 11 Mar 2003, Nicolas Bougues wrote:

 The machine has 256 Mb, and is pretty happy with it.
 
 It's a 450 MHz PIII. CPU power depends on the trafic you expect.
 
 We have two peers, and get full routing table from both (+- 120 000
 routes).

That's the confirmation I was waiting for. I'll have one peer with a full 
table and two without.

thanks,

-- 

Elod VALKAI
Network Administrator
RC Team SA, Timisoara




Re: BGP memory/cpu req

2003-03-11 Thread Jeff S Wheeler
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.

[EMAIL PROTECTED]:~# 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
[EMAIL PROTECTED]:~# free
 total   used   free sharedbuffers
cached
Mem:   1033380 864148 169232  0  21348
622244
-/+ buffers/cache: 220556 812824
Swap:   497972  0 497972
[EMAIL PROTECTED]:~# 

-- 
Jeff S Wheeler [EMAIL PROTECTED]


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