From owner-freebsd-net@FreeBSD.ORG Mon Mar 15 16:34:10 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B38716A543 for ; Mon, 15 Mar 2004 16:34:09 -0800 (PST) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C5E443D41 for ; Mon, 15 Mar 2004 16:34:09 -0800 (PST) (envelope-from mlaier@vampire.homelinux.org) Received: from [212.227.126.208] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1B32X2-0006bG-00 for net@freebsd.org; Tue, 16 Mar 2004 01:34:08 +0100 Received: from [217.83.6.202] (helo=vampire.homelinux.org) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1B32X2-00011P-00 for net@freebsd.org; Tue, 16 Mar 2004 01:34:08 +0100 Received: (qmail 74377 invoked by uid 1001); 16 Mar 2004 00:40:46 -0000 Date: Tue, 16 Mar 2004 01:40:46 +0100 From: Max Laier To: Mike Jakubik Message-ID: <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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VS++wcV0S1rZb1Fb" Content-Disposition: inline In-Reply-To: <2662.192.168.0.200.1079396323.squirrel@192.168.0.1> User-Agent: Mutt/1.4.1i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:e28873fbe4dbe612ce62ab869898ff08 cc: net@freebsd.org Subject: Re: Byte counters reset at ~4GB X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 00:34:11 -0000 --VS++wcV0S1rZb1Fb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 15, 2004 at 07:18:43PM -0500, Mike Jakubik wrote: > Max Laier said: >=20 > > There is now: pf comes with 64bit statistic counters. For now you can p= ut > > 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 t= op > > of > > my head. >=20 > 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. --=20 Best regards, | mlaier@freebsd.org Max Laier | ICQ #67774661 http://pf4freebsd.love2party.net/ | mlaier@EFnet --VS++wcV0S1rZb1Fb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAVk0NXyyEoT62BG0RAg7jAJ9h9v2znJoFIgCsOgbnsE/pHzlXIwCdHfsb xwdF4AKzvRchzAt3lX8Qvdk= =48Om -----END PGP SIGNATURE----- --VS++wcV0S1rZb1Fb--