Re: cvs commit: src/etc Makefile libalias.conf src/lib/libalias Makefile src/lib/libalias/libalias Makefile src/lib/libalias/modules Makefile Makefile.inc src/lib/libalias/modules/cuseeme Makefile src/lib/libalias/modules/dummy ...

[ Available lists | Index of cvs-all | Month of Sep 2006 | Week of 27 Sep 2006 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Gleb Smirnoff <glebius@FreeBSD.org>
Date
27 Sep 2006 08:14:42
Subject
Re: cvs commit: src/etc Makefile libalias.conf src/lib/libalias Makefile src/lib/libalias/libalias Makefile src/lib/libalias/modules Makefile Makefile.inc src/lib/libalias/modules/cuseeme Makefile src/lib/libalias/modules/dummy ...
Message-ID
20060927081432.GH59833@FreeBSD.org


[ Hide this part ]
On Tue, Sep 26, 2006 at 04:56:31PM -0700, Maxim Sobolev wrote:
M> Looks cool. Do you have any numbers comparing performance of the old
M> libalias and a new one running in kernel/userland mode?

AFAIK, this change doesn't affect performance of the userland NAT.
The main aim of this step was not performance, but separation of
specific protocol NATing into separate pluggable modules.

The kernel nat (I mean ng_nat) is probably pessimized be this change,
because Paolo added locking to the list of plugins, this adds two
atomic ops per packet. I hope, Paolo will rethink this.

--
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE


Elapsed time: 0.180 seconds