Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jun 2002 03:05:22 +0200
From:      Andre Oppermann <oppermann@pipeline.ch>
To:        Richard A Steenbergen <ras@e-gerbil.net>
Cc:        "Louis A. Mamakos" <louie@TransSys.COM>, Attila Nagy <bra@fsn.hu>, Luigi Iannone <Luigi.Iannone@lip6.fr>, freebsd-net@FreeBSD.ORG
Subject:   Re: MPLS
Message-ID:  <3CF81DD2.8D76F8DE@pipeline.ch>
References:  <200205291413.g4TEDLRG075458@whizzo.transsys.com> <3CF4E483.2510639@pipeline.ch> <200205291522.g4TFMdRG076033@whizzo.transsys.com> <3CF4FCFC.3D760508@pipeline.ch> <20020529180204.GK33611@overlord.e-gerbil.net> <3CF51E7C.E9A47960@pipeline.ch> <20020529233411.GO33611@overlord.e-gerbil.net> <3CF5F4ED.369BCE83@pipeline.ch> <20020530150612.GP33611@overlord.e-gerbil.net> <3CF6436D.ADA51D7F@pipeline.ch> <20020531225642.GD385@overlord.e-gerbil.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Richard A Steenbergen wrote:
> 
> On Thu, May 30, 2002 at 05:21:17PM +0200, Andre Oppermann wrote:
> > > This is a non sequitur. All routes will be available through the kernel
> > > RIB, but for exact matches only. When is a longest prefix match needed
> > > there?
> >
> > When the routing daemon instructs us to remove the prefix 10.0.0.0/8
> > when we also have 10.0.0.0/9 and 10.128.0.0/9.
> 
> That is not a longest prefix match, this is an exact match.

Ah, well. You're right.

> > Where? Do you mean rt_metrics?
> 
> Yes.

I'm axing that right now and will provide a tcp_hostcache that will
assume that role (tcp is the only consumer of rt_metrics, except for
rmx_mtu and rmx_pksent). By moving this every node/leaf in the routing
table shrinks by 48 bytes. On a default free view of the Internet this
gives us a whopping 5.5 Mbytes in kernel memory savings (110k routes).

-- 
Andre

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF81DD2.8D76F8DE>