NAT performance tweaks

Clement Laforet sheep.killer at cultdeadsheep.org
Wed May 7 10:32:50 PDT 2003


> 
> Would certainly be nice to make it as a sysctl. It's a pain in the ass
> to edit it manually everytime I cvsup. :/

Using a sysctl variable is a BAD idea for NAT table. If this variable is
if it can be) modified, all the NAT table must be reinitialized, because
of hash key. You should have a table size which minimizes hash
collisions, and then avoids loops and/or hypothetical race conditions.


clem


More information about the freebsd-performance mailing list