From owner-cvs-src@FreeBSD.ORG Thu Apr 22 07:31:18 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 680) id AD1A616A4CF; Thu, 22 Apr 2004 07:31:18 -0700 (PDT) Date: Thu, 22 Apr 2004 07:31:18 -0700 From: Darren Reed To: Andre Oppermann Message-ID: <20040422143118.GA90863@hub.freebsd.org> References: <200404211527.i3LFRabS088245@repoman.freebsd.org> <6.0.1.1.1.20040422005919.03afaaa0@imap.sfu.ca> <20040422002143.GC60368@hub.freebsd.org> <200404220259.45651.max@love2party.net> <20040422051953.GA27025@hub.freebsd.org> <20040422005258.A84320@xorpc.icir.org> <20040422092120.GC27025@hub.freebsd.org> <20040422035424.A4881@xorpc.icir.org> <20040422112025.GA57112@hub.freebsd.org> <4087CCAB.C745ACB3@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4087CCAB.C745ACB3@freebsd.org> User-Agent: Mutt/1.4.1i cc: Max Laier cc: Luigi Rizzo cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/sys/net radix.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2004 14:31:18 -0000 On Thu, Apr 22, 2004 at 03:46:19PM +0200, Andre Oppermann wrote: > The FIB (in the kernel) can be way smaller with more efficient data > structures in the range 2-5MBytes. With an lctrie you can get to > 1-1.5Mbytes which fits into L2/L3 cache of the CPU (but you have to > replace the entire table if you want to add prefixes). If you do that, do you need separate routing table code for each protocol that has one ? Darren