Re: Avoiding natd overhead



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
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"