netdev
[Top] [All Lists]

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

To: Jeff Sipek <jeffpc@xxxxxxxxxxxxx>
Subject: Re: [PATCH - RFC] [1/5] 64-bit network statistics - generic net
From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date: Sat, 05 Jul 2003 14:46:33 -0700
Cc: Linus Torvalds <torvalds@xxxxxxxx>, Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Andrew Morton <akpm@xxxxxxxxx>, Dave Jones <davej@xxxxxxxxxxxxxxxxx>, Jeff Garzik <jgarzik@xxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <200307051449.32934.jeffpc@optonline.net>
Organization: Candela Technologies
References: <Pine.LNX.4.44.0307032005340.8468-100000@home.osdl.org> <200307051449.32934.jeffpc@optonline.net>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529
Jeff Sipek wrote:

Using KB would give us additional 10 bits (making the overflow at 4 TB.) I don't really like the idea of using MB, but the underlying idea is the same - 20 more bits, making the limit 4 PB.

What is the consensus on this way of solving the problem?

I guess it could be useful for something like ifconfig, but serious applications will need more precision and should deal with wraps anyway (even on 64-bits, in my opinion..why have to fix bugs in 10 years because we were too lazy to take the 10 minutes to make it right now).

Ben


-- Ben Greear <greearb@xxxxxxxxxxxxxxx> <Ben_Greear AT excite.com> President of Candela Technologies Inc http://www.candelatech.com ScryMUD: http://scry.wanfear.com http://scry.wanfear.com/~greear



<Prev in Thread] Current Thread [Next in Thread>