Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Dec 2004 15:48:31 +0000 (GMT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        Ruslan Ermilov <ru@freebsd.org>
Subject:   Re: cvs commit: src/sys/netinet in_gif.c
Message-ID:  <Pine.NEB.3.96L.1041209154751.54613E-100000@fledge.watson.org>
In-Reply-To: <41B8709C.329DD195@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On Thu, 9 Dec 2004, Andre Oppermann wrote:

> Ruslan Ermilov wrote:
> > 
> > On Tue, Dec 07, 2004 at 11:18:15AM +0100, Andre Oppermann wrote:
> > > I hope to remove the ability to have pointers into the routing table
> > > before 6.0 release.
> > >
> > This would make my WIP OBE, which is nice.  But how are you going to
> > compensate for the performance loss of *not* having cached routes?
> 
> Up to a couple of hundred kpps it doesn't matter and the only place
> where we have cached routes is in the various IP[46] tunnels.  The
> caching makes locking of the routing table more complex and expensive. 
> Once that can be simplified there is a significant amount of lookup cost
> going away. 

It is also my belief that the locking around the cached routes is
currently incorrect, and with that locking added, there will also be a
further hit. 

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1041209154751.54613E-100000>