From owner-freebsd-performance@FreeBSD.ORG Wed May 7 08:14:27 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E971037B401 for ; Wed, 7 May 2003 08:14:27 -0700 (PDT) Received: from otter3.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58E6543FBD for ; Wed, 7 May 2003 08:14:26 -0700 (PDT) (envelope-from anderson@centtech.com) Received: from centtech.com (electron.centtech.com [204.177.173.173]) by otter3.centtech.com (8.12.3/8.12.3) with ESMTP id h47FEJ56039631; Wed, 7 May 2003 10:14:20 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <3EB922B7.2080002@centtech.com> Date: Wed, 07 May 2003 10:13:59 -0500 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: veedee@c7.campus.utcluj.ro References: <3EB67822.3070802@centtech.com> <20030505182756.093fb1c3.sheep.killer@cultdeadsheep.org> <3EB6A0BF.1040803@centtech.com> <20030506042044.GA84589@c7.campus.utcluj.ro> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-performance@freebsd.org cc: Clement Laforet Subject: Re: NAT performance tweaks X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 15:14:28 -0000 veedee@c7.campus.utcluj.ro wrote: [..snip..] > If you have a large network behind your NAT server, defining LARGE_NAT in > src/contrib/ipfilter/ip_nat.h and src/sys/contrib/ipfilter/netinet/ip_nat.h > might help. Don't forget to recompile the kernel and ipfilter. > > Strange enough, I used to have huge pings (up to 80ms in a totally switched > gigabit network) after a few hours of utilization before fiddling with > LARGE_NAT. What would you call a "large network"? Is "LARGE_NAT" something that is able to be made into a sysctl tweak (and if so, should it be?)? Eric -- ------------------------------------------------------------------ Eric Anderson Systems Administrator Centaur Technology Attitudes are contagious, is yours worth catching? ------------------------------------------------------------------