cvs commit: src/sys/netinet in_gif.c
Robert Watson
rwatson at freebsd.org
Thu Dec 9 07:51:01 PST 2004
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 at fledge.watson.org Principal Research Scientist, McAfee Research
More information about the cvs-src
mailing list