Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Dec 2012 15:33:33 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        Karl Pielorz <kpielorz_lst@tdx.co.uk>
Cc:        freebsd-net@FreeBSD.org
Subject:   Re: Arp table size - any adjustments?
Message-ID:  <20121213113333.GT97487@FreeBSD.org>
In-Reply-To: <523DE5571B5BE81B8BA1846F@MightyAtom.tdx.co.uk>
References:  <523DE5571B5BE81B8BA1846F@MightyAtom.tdx.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121213113333.GT97487>