Date: Fri, 16 May 2008 10:53:07 -0400 From: Vivek Khera <vivek@khera.org> To: FreeBSD Stable <freebsd-stable@freebsd.org> Cc: freebsd-ipfw@freebsd.org Subject: Re: how much memory does increasing max rules for IPFW take up? Message-ID: <BC5FAC20-572B-4D50-92A3-609B3C398712@khera.org> In-Reply-To: <6ADAB997-FAA4-43B8-AB57-3CC4A04F3700@khera.org> References: <04EA1C34-AB7D-4A85-8A91-DED03E987706@khera.org> <482C07DE.3090504@yandex.ru> <482C0A89.104@FreeBSD.org> <6ADAB997-FAA4-43B8-AB57-3CC4A04F3700@khera.org>
next in thread | previous in thread | raw e-mail | index | archive | help
How are the buckets used? Are they hashed per rule number or some other mechanism? Nearly all of my states are from the same rule (eg, on a mail server for the SMTP port rule). How should I scale the buckets with the max rules? The default seems to be 4096 rules and 256 buckets. Should I maintain that ratio?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BC5FAC20-572B-4D50-92A3-609B3C398712>