Date: Thu, 3 Mar 2005 09:38:52 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netgraph/netflow netflow.c Message-ID: <20050303173852.GC4737@odin.ac.hmc.edu> In-Reply-To: <200503031101.j23B16Vn065793@repoman.freebsd.org> References: <200503031101.j23B16Vn065793@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050303173852.GC4737>