cvs commit: src/sys/net radix.c

Andre Oppermann andre at freebsd.org
Thu Apr 22 08:02:21 PDT 2004


Alexey Dokuchaev wrote:
> 
> On Thu, Apr 22, 2004 at 03:46:19PM +0200, Andre Oppermann wrote:
> > Darren Reed wrote:
> > >
> > > On Thu, Apr 22, 2004 at 03:54:24AM -0700, Luigi Rizzo wrote:
> > > >
> > > > BTW thanks for the Cisco datapoint (320bytes per entry).
> > > > Though, does it refer to the FIB (the info kept in the kernel for
> > > > forwarding purposes) or the RIB (the copy managed by the routing
> > > > daemon) ?
> > >
> > > I don't know enough about Cisco's to say what the output means,
> > > but that output (and more) can be found here:
> > > http://www.mcvax.org/~jhma/routing/
> > > and off that:
> > > http://bgp.potaroo.net/index-bgp.html
> >
> > The interal data repesentation of the RIB I have designed for the new
> > bgpd in OpenBSD uses about 234 bytes per prefix and it will only grow
> > a few bytes for each additional path.  This is about as efficient as
> > Cisco IOS, if not better.  Zebra/Quagga takes about 80MBytes for bgpd
> > for the same.
> 
> Sounds cool; could you comment a bit on reasons for importing bgpd into
> OpenBSD, and do such plans exist for FreeBSD?

I don't have a clue why OpenBSD imported it into the base system.  I don't
think it really belongs there...  The code compiles and works fine on
FreeBSD.  Someone promised me to make a port for the ports collection but
so far it has not shown up in my inbox.

-- 
Andre


More information about the cvs-src mailing list