On Fri, Feb 04, 2005 at 03:43:35PM -0600, Guy Helmer wrote: > > I'm sorry, I mis-wrote. My ng_tee is actually modified to only passes > packets to the r2l/l2r hooks if they are connected, otherwise packets are > passed directly to the left/right hooks (so it's an optional divert), so > there is no m_dup anymore in my modified ng_tee. > > I assumed that the bridging and trip through userland would only add > latency to the connection, but the result of the performance test seemed > to indicate that there is either a bottleneck I need to solve or my > testing methodology was flawed. > If you pass packets through userland, then it is even more performance penalty, as it involves userspace<->kernel copying, twice for each packet.
Cheers, -- Ruslan Ermilov [EMAIL PROTECTED] FreeBSD committer
pgpoqKlKcSx9T.pgp
Description: PGP signature