On Monday, 9th July 2001, 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.

I can't imagine even the most inefficiently coded linear traversal
causing this problem given the beefy machine being used.

I set up a cable sharing system for friends of mine and it is a Pentium
100 with 2 ISA NICs!  That system adds no more than 2 or so ms to the
latency with 3 simultaneous counterstrike players.  I used ipfw and natd
in a trivial configuration on 4.3-R.

I wonder if the problem is a lack of mbufs or some similar misconfiguration
tragedy.  "netstat -m" and "top" output might be helpful.

Stephen.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to