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
[-- Attachment #1 --] On Thu, Mar 03, 2005 at 11:01:06AM +0000, Gleb Smirnoff wrote: > glebius 2005-03-03 11:01:06 UTC > > FreeBSD src repository > > Modified files: > sys/netgraph/netflow netflow.c > Log: > Cisco uses milliseconds for uptime. This is stupid. Nobody cares of such > precision when IP packet may travel through internet for several seconds. > Also uptime measured in milliseconds overflows every 48+ days. > But we have to do same to keep compatibility with Cisco and flow-tools. > > Make a macro MILLIUPTIME, which does overflowable multiplication to 1000. 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 -- 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCJ0usXY6L6fI4GtQRAoK1AKDiVgOb4DSkYgCVEsdWKGs4I3ns1gCgkqSz tfhLhruY4h3Qx/KJNWfRZhw= =kLWL -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050303173852.GC4737>
