From owner-cvs-src@FreeBSD.ORG Wed Sep 27 08:14:42 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F21C16A407; Wed, 27 Sep 2006 08:14:42 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50E1043D68; Wed, 27 Sep 2006 08:14:34 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k8R8EXpd068509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Sep 2006 12:14:33 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k8R8EXWC068508; Wed, 27 Sep 2006 12:14:33 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 27 Sep 2006 12:14:32 +0400 From: Gleb Smirnoff To: Maxim Sobolev Message-ID: <20060927081432.GH59833@FreeBSD.org> References: <200609262326.k8QNQrtW098027@repoman.freebsd.org> <4519BE2F.4000503@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4519BE2F.4000503@FreeBSD.org> User-Agent: Mutt/1.5.6i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, Paolo Pisati 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 ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 27 Sep 2006 08:14:42 -0000 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