From owner-freebsd-net@FreeBSD.ORG Sat Oct 21 13:41:06 2006 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A6E0E16A40F for ; Sat, 21 Oct 2006 13:41:06 +0000 (UTC) (envelope-from spadge@fromley.net) Received: from mtaout03-winn.ispmail.ntl.com (mtaout03-winn.ispmail.ntl.com [81.103.221.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFC1243D45 for ; Sat, 21 Oct 2006 13:41:04 +0000 (GMT) (envelope-from spadge@fromley.net) Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20061021134103.HXNG1865.mtaout03-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com>; Sat, 21 Oct 2006 14:41:03 +0100 Received: from tobermory.home ([86.0.166.176]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20061021134103.VBNY23938.aamtaout02-winn.ispmail.ntl.com@tobermory.home>; Sat, 21 Oct 2006 14:41:03 +0100 Received: from [192.168.124.185] (jupiter.home [192.168.124.185]) by tobermory.home (Postfix) with ESMTP id AA604A713D; Sat, 21 Oct 2006 14:41:00 +0100 (BST) Message-ID: <453A236E.1000205@fromley.net> Date: Sat, 21 Oct 2006 14:41:02 +0100 From: Spadge User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Chris Bowman References: <200610210648.AAA01737@lariat.net> <453A20B5.9010108@austin.rr.com> In-Reply-To: <453A20B5.9010108@austin.rr.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Brett Glass , net@freebsd.org Subject: Re: Avoiding natd overhead X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Oct 2006 13:41:06 -0000 Chris Bowman wrote: > I see this question come up now and then on the lists, so, I'll share > what I've learned about natd and performance! First, if your running > natd on a processor which supports more functions than just a standard > 386, ie a Pentium, Athlon, etc. Then I've found compiling natd with > make flags for that processor, and with O3 optimizations will make your > jaw drop in comparison to the default installed version of natd. You > can find if you have the sources downloaded for FreeBSD the natd source > in /usr/src/sbin/natd , just recompile natd itself, or when you re-build > world for your system, make sure you have make flags set in make.conf so > everything will rebuild with optimized flags, however I don't recomend > O3 at all for a build world, will almost definately break something, for > natd itself, it works fine. This is pretty interesting stuff, and something I'm going to have to look into. Could I be incredibly presumptious and ask you for some more info to get me started on my way? Where would I start looking for info on what make flags are available for natd and my CPUs? I'm not seeing anything helpful in the README and my Makefile is very short. Thanks for any help. -- Spadge "Intoccabile" www.fromley.com