Chris Wedgwood <[EMAIL PROTECTED]> wrote: > On Thu, Aug 18, 2005 at 09:28:10AM +0200, Sebastian Cla?en wrote: >> in struct net_device_stats all members are defined as unsgined >> long. In time of gigabit ethernet this takes not long to overflow. > It should still take an appreciable amount of time surely? We can
With 100MBit it took about 5 minutes to overflow the 32bit byte counters (too less for typical mrtg and Nyquist-Shannon sampling theorem in mind), with 1GBit it takes about 30 seconds. If you consider this appreciable... well :) > detect those wraps in userspace and deal with it as needed. Of course, it's usually enough time for a typical userspace application to get scheduled at least twice. regards Mario -- User sind wie ideale Gase - sie verteilen sich gleichmaessig ueber alle Platten - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/