Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2004 19:48:21 -0500 (EST)
From:      "Mike Jakubik" <mikej@rogers.com>
To:        "Max Laier" <max@love2party.net>
Cc:        net@freebsd.org
Subject:   Re: Byte counters reset at ~4GB
Message-ID:  <2697.192.168.0.200.1079398101.squirrel@192.168.0.1>
In-Reply-To: <20040316004046.GA74287@router.laiers.local>
References:  <2650.192.168.0.200.1079393908.squirrel@192.168.0.1> <20040316000153.GA73860@router.laiers.local> <2662.192.168.0.200.1079396323.squirrel@192.168.0.1> <20040316004046.GA74287@router.laiers.local>

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



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