From owner-freebsd-current@FreeBSD.ORG Sat Aug 19 19:52:58 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60C1E16A4DA for ; Sat, 19 Aug 2006 19:52:58 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA3B343D45 for ; Sat, 19 Aug 2006 19:52:57 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id ABCF72646B for ; Sat, 19 Aug 2006 21:52:56 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 73AC79C0AF for ; Sat, 19 Aug 2006 19:53:36 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 5CC02405B; Sat, 19 Aug 2006 21:53:36 +0200 (CEST) Date: Sat, 19 Aug 2006 21:53:36 +0200 From: Jeremie Le Hen To: freebsd-current@FreeBSD.org Message-ID: <20060819195336.GL57815@obiwan.tataz.chchile.org> References: <200608151627.37828.root@solink.ru> <20060815130002.M45647@fledge.watson.org> <200608160959.23100.root@solink.ru> <20060816094944.GC820@turion.vk2pj.dyndns.org> <44E3A2C0.2020801@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44E3A2C0.2020801@elischer.org> User-Agent: Mutt/1.5.12-2006-07-14 Cc: Subject: Re: [fbsd] Re: throughput and interrupts X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2006 19:52:58 -0000 Hi, > >natd runs in userland so every packet has to be pushed out to userland, > >processed and pushed back into the kernel. The vast majority of the > >overhead is the userland/kernel transition so natd gives you a basically > >fixed pps rate. Your throughput will vary depending on the packet size. > > > > > > in 6.1 there is an in kernel version of natd.. > > man ng_nat What about the SoC 2005 project, aiming to push libalias down into a kernel module ? IIRC, there have been some patches but I saw nothing commited. This thread has stirred this up from my memory. Thank you, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >