Arp table size - any adjustments?
Gleb Smirnoff
glebius at FreeBSD.org
Thu Dec 13 11:33:36 UTC 2012
On Thu, Dec 13, 2012 at 09:47:12AM +0000, Karl Pielorz wrote:
K> I have an FreeBSD amd64 9-STABLE system running as a router for various
K> bits and pieces - this has a 'lot' of hosts on it's LAN (literally
K> thousands) - most are NAT end points etc.
K>
K> Looking at the output from 'arp -a -n' it regularly lists 2,000-3,000
K> entries. Is there anything I need to tune for this kind of quantity (or
K> more), or is it all 'auto-adjusting' on 9.0-S onwards?
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.
--
Totus tuus, Glebius.
More information about the freebsd-net
mailing list