Byte counters reset at ~4GB

Mike Jakubik mikej at rogers.com
Mon Mar 15 16:48:26 PST 2004


Max Laier said:

> 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.

Got it. In just curious though... realistically, how big of an impact on
performance is this on a modern CPU? Is it not simply the original 32bit
calculation x 2?


More information about the freebsd-net mailing list