From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 10:35:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65503106567D for ; Thu, 3 Jul 2008 10:35:08 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from relay.lc-words.com (relay.lc-words.com [62.121.130.110]) by mx1.freebsd.org (Postfix) with ESMTP id 8C7928FC12 for ; Thu, 3 Jul 2008 10:35:07 +0000 (UTC) (envelope-from z.szalbot@lc-words.com) Received: from localhost (localhost [127.0.0.1]) by relay.lc-words.com (Postfix) with ESMTP id AECF9B8081 for ; Thu, 3 Jul 2008 12:35:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lc-words.com; s=mainlcwords; t=1215081305; bh=EIqP/2F89uqEvfgTOnooRHuLrfLT59SNCcV uRZlz+XY=; h=Message-ID:Date:From:MIME-Version:To:Subject: References:In-Reply-To:Content-Type; b=ejbFIViQyjkClVK26P8LGRNtBkk qXuIOma5mPoP8kcMczBmqVH7uLRTiXdkYrlukLzjBPWfahw7Ybus6smr27c5od7Jh+/ G9zEu4H+i44Dd+GNZrnLKd7A6SQzzxj8n4ME4eK5fPO0nZeFgMR8zvvmiauqRtE7W0n /oMjD9rryo= Received: from relay.lc-words.com ([127.0.0.1]) by localhost (relay.lc-words.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 08029-06 for ; Thu, 3 Jul 2008 12:35:04 +0200 (CEST) Received: from [127.0.0.1] (aejb89.neoplus.adsl.tpnet.pl [79.186.235.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: z.szalbot@lc-words.com) by relay.lc-words.com (Postfix) with ESMTPSA id 3C9EFB807D for ; Thu, 3 Jul 2008 12:35:04 +0200 (CEST) Message-ID: <486CAB51.4070207@lc-words.com> Date: Thu, 03 Jul 2008 12:34:57 +0200 From: Zbigniew Szalbot User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: User Questions References: <486BA8C1.90107@lc-words.com> <20080702200904.T2523@wojtek.tensor.gdynia.pl> <486C7BE3.4070208@FreeBSD.org> In-Reply-To: <486C7BE3.4070208@FreeBSD.org> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms030109050900020800020207" X-Virus-Scanned: Maia Mailguard Subject: Re: 7.0-release / systat / 3GB X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 10:35:08 -0000 This is a cryptographically signed message in MIME format. --------------ms030109050900020800020207 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, Kris Kennaway: > Wojciech Puchar wrote: >>> I am a bit curious though why once the outgoing bandwidth exceeds >>> (more or less) 3GB, the Total counter gets reset and starts counting >>> from scratch. >> isn't it 4GB - because of 32-bit unsigned counter? > > I would guess so. > > Using a 64-bit counter on 32-bit systems would cause additional > processing overhead for little benefit. I have confirmed (with assistance from Wojtek Puchar) that the problem of resetting a Total counter for 'systat -ifstat' happens every 4GB (not 3GB) amount of data. It only affects i386 machines. amd64 machines are not affected. I have tested this on 7.0 and 6.1-Release versions. Here's an example em0 in 104.564 KB/s 104.564 KB/s 2.401 GB out 220.282 KB/s 284.090 KB/s 3.874 GB em0 in 17.416 KB/s 220.306 KB/s 2.404 GB out 257.781 KB/s 284.090 KB/s 3.902 GB em0 in 35.181 KB/s 803.832 KB/s 2.420 GB out 170.575 KB/s 284.090 KB/s 3.980 GB em0 in 11.020 KB/s 803.832 KB/s 2.423 GB out 27.773 KB/s 284.090 KB/s 3.998 GB em0 in 5.515 KB/s 803.832 KB/s 2.423 GB out 97.953 KB/s 284.090 KB/s 4.000 GB em0 in 7.944 KB/s 803.832 KB/s 2.423 GB out 71.475 KB/s 284.090 KB/s 25.019 KB I have submitted a pr in case this can be fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=125196 Thanks! -- Zbigniew Szalbot www.LCWords.com --------------ms030109050900020800020207 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIIDzCC AmIwggHLoAMCAQICEHu/rJNLTC9H4eJZYOf+/Z0wDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA4MDQyNjE1MjAzOVoX DTA5MDQyNjE1MjAzOVowSDEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjElMCMG CSqGSIb3DQEJARYWei5zemFsYm90QGxjLXdvcmRzLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAwBXt/3Jlh3DcJScjw091dfTrKTsz9LxRe5EC6YtlCOaRtnkZIPVF0BfpVTy1 rRE+8LWJLq9fEgGAJPOqqgy9gHV9wmoD7F9505reTZS5Zk98eVzsPWjMHBaRIYxiVMtLa7DT Dnm9M6oJDccDkS5kyz/BtsJnsmUomxR68noMxAECAwEAAaMzMDEwIQYDVR0RBBowGIEWei5z emFsYm90QGxjLXdvcmRzLmNvbTAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEBBQUAA4GBAByS +Jt3BW2uX6CyiFXfz6ninAcCXkPSEHtjgcAHZGwV/TgEio1qKu60Pyn9ycP72XrRzEzCTG9a 85K+fmg6YjMNrrnjrEOlH+FqUt1tNj/ySrxxTL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