From owner-freebsd-hackers Mon Jul 9 13: 8:53 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id BC93237B401 for ; Mon, 9 Jul 2001 13:08:51 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.244.104.114.Dial1.SanJose1.Level3.net [209.244.104.114]) by snipe.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id NAA05531; Mon, 9 Jul 2001 13:08:48 -0700 (PDT) Message-ID: <3B4A0F74.672D7B27@mindspring.com> Date: Mon, 09 Jul 2001 13:09:24 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Kenneth Wayne Culver Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: more on latency References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kenneth Wayne Culver wrote: > > I think I found the reason that my FreeBSD box is performing > so poorly as a NATing router. When I do an ipnat -l to see > what "active connections" are there on the router, a list > about 3 pages long (using ipnat -l | more) appears. I think > maybe it's having trouble because for every packet coming in > and out of the router, it's got to look at that list of > active connections for the right one to send to and from. Is > there any way to make connections that aren't being used go > away from the NAT faster? Thanks a lot. Don't run unnecessary daemons. The pcb lookups are a linear traversal, as well, and for a large number of connections, the calllout wheel for timers sucks. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message