Avoiding natd overhead

Eugene Grosbein eugen at kuzbass.ru
Sat Oct 21 14:42:33 UTC 2006


On Sat, Oct 21, 2006 at 02:50:31PM +0400, Anton Yuzhaninov wrote:

> 1. libalias allocate memory for create each new entry in NAT table.
>    libalias use linear search in linked list to find entry in table.
>    It very slow when you have thousands simultaneous connections via
>    nat

In RELENG_4 libalias uses hash table, not linear search.
Are you sure it switched to linear search? And why?

Eugene Grosbein


More information about the freebsd-net mailing list