From owner-freebsd-hackers Mon Jul 9 14:27:38 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by hub.freebsd.org (Postfix) with SMTP id 5102E37B401 for ; Mon, 9 Jul 2001 14:27:36 -0700 (PDT) (envelope-from kc5vdj@yahoo.com) Received: from mkc-65-28-47-209.kc.rr.com (HELO yahoo.com) (65.28.47.209) by smtp.mail.vip.sc5.yahoo.com with SMTP; 9 Jul 2001 21:27:36 -0000 X-Apparently-From: Message-ID: <3B4A21C7.B9B63FE4@yahoo.com> Date: Mon, 09 Jul 2001 16:27:35 -0500 From: Jim Bryant Reply-To: kc5vdj@yahoo.com X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: tlambert2@mindspring.com Cc: Kenneth Wayne Culver , freebsd-hackers@FreeBSD.ORG Subject: Re: more on latency References: <3B4A0F74.672D7B27@mindspring.com> 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 Terry Lambert wrote: > > 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 Is there a way to get similar stats from natd? jim -- ET has one helluva sense of humor! He's always anal-probing right-wing schizos! _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message