From owner-freebsd-net Fri May 31 18: 6:47 2002 Delivered-To: freebsd-net@freebsd.org Received: from mailtoaster1.pipeline.ch (mailtoaster1.pipeline.ch [62.48.0.70]) by hub.freebsd.org (Postfix) with SMTP id 52ECF37B40F for ; Fri, 31 May 2002 18:06:34 -0700 (PDT) Received: (qmail 44344 invoked from network); 1 Jun 2002 01:06:13 -0000 Received: from unknown (HELO pipeline.ch) ([62.48.0.54]) (envelope-sender ) by mailtoaster1.pipeline.ch (qmail-ldap-1.03) with SMTP for ; 1 Jun 2002 01:06:13 -0000 Message-ID: <3CF81DD2.8D76F8DE@pipeline.ch> Date: Sat, 01 Jun 2002 03:05:22 +0200 From: Andre Oppermann X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Richard A Steenbergen Cc: "Louis A. Mamakos" , Attila Nagy , Luigi Iannone , freebsd-net@FreeBSD.ORG Subject: Re: MPLS 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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