Avoiding natd overhead

Anton Yuzhaninov citrin at citrin.ru
Sat Oct 21 22:52:59 UTC 2006


Saturday, October 21, 2006, 6:42:15 PM, Eugene Grosbein 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

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

Yes, I was mistaken. libalis use lookup tables linkTableOut and linkTableIn

-- 
 WBR, Anton Yuzhaninov


More information about the freebsd-net mailing list