From: P@draigBrady.com
To: Jesse Brandeburg <jesse.brandeburg@intel.com>
Cc: netdev@vger.kernel.org, e1000-devel@lists.sourceforge.net
Subject: Re: Re: drop counts
Date: Tue, 26 Jul 2005 09:36:34 +0100 [thread overview]
Message-ID: <42E5F612.2010405@draigBrady.com> (raw)
In-Reply-To: <Pine.WNT.4.63.0507251041150.832@jbrandeb-desk.amr.corp.intel.com>
Jesse Brandeburg wrote:
> On Thu, 21 Jul 2005, P@draigBrady.com wrote:
>
>> In 2.6.12 this changed to:
>>
>> packets = gprc
>> dropped = mpc
>> fifo = mpc
>> missed = mpc
>>
>> I think there still is a problem. Notice that /proc/net/dev
>> reports rx_dropped + rx_missed_errors for the drop column,
>> and so will be double counting drops currently.
>> Therefore I think we should be doing:
>>
>> packets = gprc
>> dropped = 0
>> fifo = rnbc
>> missed = mpc
>
>
> Double counting drops may be an issue, and I believe we should make that
> change.
great.
> but I don't think its the right thing to report rnbc in fifo
> errors (there was actually no error).
>
>> I'm putting rnbc in fifo as it's not accumulated into
>> anything else in the kernel. Also it's good to have
>> it reported as one can see when there is pressure on
>> the e1000 driver buffer. This is useful for tuning its size
>> to protect against drops and latency.
>
>
> Whenever I want the RNBC numbers I simply look into ethtool -S eth0, and
> that allows me to tune. I see no reason to "reuse" the fifo errors stat
> with misleading data.
Fair enough if rnbc is actually reported.
ethtool -S doesn't report it with my driver,
but I see this stat has been added to the
latest driver at least.
So I agree on both points.
thanks!
--
Pádraig Brady - http://www.pixelbeat.org
--
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click
next prev parent reply other threads:[~2005-07-26 8:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <42DCDCAF.1060005@draigBrady.com>
[not found] ` <42DCF0F7.6000704@draigBrady.com>
[not found] ` <Pine.WNT.4.63.0507201505370.1936@jbrandeb-desk.amr.corp.intel.com>
2005-07-21 13:36 ` Re: drop counts P
2005-07-25 17:47 ` Jesse Brandeburg
2005-07-26 8:36 ` P [this message]
2005-07-20 23:23 Brandeburg, Jesse
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=42E5F612.2010405@draigBrady.com \
--to=p@draigbrady.com \
--cc=e1000-devel@lists.sourceforge.net \
--cc=jesse.brandeburg@intel.com \
--cc=netdev@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.