cvs commit: src/sys/netgraph/netflow netflow.c

Brooks Davis brooks at one-eyed-alien.net
Thu Mar 3 09:38:53 PST 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050303/74a8160f/attachment.bin


More information about the cvs-all mailing list