From owner-cvs-src@FreeBSD.ORG Thu Mar 3 17:38:53 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFD8D16A4CE; Thu, 3 Mar 2005 17:38:53 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76E6643D2D; Thu, 3 Mar 2005 17:38:53 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j23Hcqw5019814; Thu, 3 Mar 2005 09:38:52 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j23Hcqhu019813; Thu, 3 Mar 2005 09:38:52 -0800 Date: Thu, 3 Mar 2005 09:38:52 -0800 From: Brooks Davis To: Gleb Smirnoff Message-ID: <20050303173852.GC4737@odin.ac.hmc.edu> References: <200503031101.j23B16Vn065793@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pk6IbRAofICFmK5e" Content-Disposition: inline In-Reply-To: <200503031101.j23B16Vn065793@repoman.freebsd.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netgraph/netflow netflow.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 17:38:53 -0000 --Pk6IbRAofICFmK5e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 03, 2005 at 11:01:06AM +0000, Gleb Smirnoff wrote: > glebius 2005-03-03 11:01:06 UTC >=20 > FreeBSD src repository >=20 > Modified files: > sys/netgraph/netflow netflow.c=20 > Log: > Cisco uses milliseconds for uptime. This is stupid. Nobody cares of such > precision when IP packet may travel through internet for several second= s. > Also uptime measured in milliseconds overflows every 48+ days. > But we have to do same to keep compatibility with Cisco and flow-tools. > =20 > Make a macro MILLIUPTIME, which does overflowable multiplication to 100= 0. JFYI, I know of applications that care about even higher granularity. For instance, I talked to one of the people from Panasas this fall who would really like the kernel timer interface to be able to handle sub-millisecond timeouts. In their environment, at packet that has not been acked in around 100 microseconds has been dropped! -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --Pk6IbRAofICFmK5e Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCJ0usXY6L6fI4GtQRAoK1AKDiVgOb4DSkYgCVEsdWKGs4I3ns1gCgkqSz tfhLhruY4h3Qx/KJNWfRZhw= =kLWL -----END PGP SIGNATURE----- --Pk6IbRAofICFmK5e--