mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@zmailer.org>
To: Mark J Roberts <mjr@znex.org>, linux-kernel@vger.kernel.org
Subject: Re: Annoying /proc/net/dev rollovers.
Date: Mon, 17 Feb 2003 12:35:53 +0200	[thread overview]
Message-ID: <20030217103553.GH1073@mea-ext.zmailer.org> (raw)
In-Reply-To: <20030217042156.GA2759@f00f.org>

On Sun, Feb 16, 2003 at 08:21:56PM -0800, Chris Wedgwood wrote:
> On Sun, Feb 16, 2003 at 08:46:05PM -0600, Mark J Roberts wrote:
> > When the windows box behind my NAT is using all of my 640kbit/sec
> > downstream to download movies, it takes a little over 14 hours to
> > download four gigabytes and roll over the byte counter.
> 
> Therefore userspace needs to check the counters more often... say ever
> 30s or so and detect rollover.  Most of this could be simply
> encapsulated in a library and made transparent to the upper layers.

  Some of my colleques complained once, that at full tilt
  the fiber-channel fabric overflowed its SNMP bitcounters
  every 2 seconds.

  "we need to do polling more rapidly, than the poller can do"

  The SNMP pollers do handle gracefully 32-bit unsigned overlow,
  they just need to get snapshots in increments a bit under 2G...
  (Hmm.. perhaps I remember that wrong, a bit under 4G should be ok.)

>   --cw

/Matti Aarnio

  reply	other threads:[~2003-02-17 10:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-16 22:16 Mark J Roberts
2003-02-17  1:41 ` Chris Wedgwood
2003-02-17  2:46   ` Mark J Roberts
2003-02-17  3:24     ` Jeff Garzik
2003-02-17  4:21     ` Chris Wedgwood
2003-02-17 10:35       ` Matti Aarnio [this message]
2003-02-18  4:58         ` David Lang
2003-02-18 13:28           ` Matti Aarnio

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030217103553.GH1073@mea-ext.zmailer.org \
    --to=matti.aarnio@zmailer.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mjr@znex.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®