Re: [PATCH - RFC] [1/5] 64-bit network statistics - generic net

From: bert hubert (ahu@ds9a.nl)
Date: Fri Jul 04 2003 - 02:05:41 EST


On Thu, Jul 03, 2003 at 08:08:03PM -0700, Linus Torvalds wrote:

> Please do this in user space. The "overflow every 2^32 packets" thing is
> _not_ a problem, if you just gather the statistics at any kind of
> reasonable interval.

At 114 megabits/second, we pass the mrtg threshold of an overflow within 5
minutes. A 1 gigabit link will do this once every 34 seconds. There are 10
gigabit adaptors out there which may need to be polled once every 3 seconds
then.

> Remember: "perfect is the enemy of good".

Pretty good is not however. Can't we do what we do for jiffies where we only
do a 64 bit operation very seldomly?

Regards,

bert

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 07 2003 - 22:00:22 EST