--On 13 December 2012 15:33 +0400 Gleb Smirnoff <gleb...@freebsd.org> wrote:

Nope, there is no autotuning here yet.

The hash table size is hardcoded in sys/net/if_llatbl.h. The name of
constant is LLTBL_HASHTBL_SIZE.

Default is 32, which is even commented with "/* default 32 ? */" - I found another thread via Google which discussed upping this to 512 for a 'Generic Box'

For a router that has 4k+ ARP entries, any recommendations? - e.g. 1024? / 2048?

2048 seems sensible considering the other thread recommended it should be 1/4 the table size (so, 4k entries in arp table = 2k hash?) or even 4k to cover expansion.

-Karl
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to