Byte counters reset at ~4GB

Max Laier max at love2party.net
Mon Mar 15 16:34:11 PST 2004


On Mon, Mar 15, 2004 at 07:18:43PM -0500, Mike Jakubik wrote:
> Max Laier said:
> 
> > There is now: pf comes with 64bit statistic counters. For now you can put
> > them on one interface only, but in future version there will be more
> > flexible statistics. Additionally there are many accounting programs out
> > there which utilize various existing (32bit) counters or the [i]pf[w]
> > interfaces: sysutils/ipa or net-mgmt/ipacctd to name just two off the top
> > of
> > my head.
> 
> Well that's good to hear. Too bad the base system can?t implement
> something like this. Does pf not incur the same performance penalty as
> Brooks and Kris pointed out?

Sure, you measure it ;) ... no, of course it is more expensive to update a
64bit counter on a 32bit arch, but the key (once again) is descision: While
(almost) all of the pf counters are 64bit types you can configure it not to
use the loginterface or whatsoever more. So it's up to you: You need 64bit
counters? You shall have them! You need *fast* 64bit counters? AMD sells
nice processors (they say)! ... you get the idea.

-- 
Best regards,				| mlaier at freebsd.org
Max Laier				| ICQ #67774661
http://pf4freebsd.love2party.net/	| mlaier at EFnet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20040316/00e3b65a/attachment.bin


More information about the freebsd-net mailing list