RE: [E1000-devel] [PATCH] catch up device stats when multicast >total frames

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Neil Horman <nhorman@...>, Ben Hutchings <bhutchings@...>
Cc: <e1000-devel@...>, <netdev@...>, Allan, Bruce W <bruce.w.allan@...>, Ronciak, John <john.ronciak@...>, Kirsher, Jeffrey T <jeffrey.t.kirsher@...>
Date: Tuesday, August 5, 2008 - 12:43 pm

Neil Horman wrote:
device

We changed the driver to do real time updates based on user feedback
that updating the stats every two seconds was not fast enough.  It was
the simplest solution at the time.


There are counters at the end of the ethtool -S output called
   tx_smbus: 0
   rx_smbus: 0
   dropped_smbus: 0

that are indicating when the SMBUS is active. (SMBUS is used to tx / rx
BMC packets)  Those at least tell you when IPMI is active.


There doesn't seem to be much of a middle ground, you either count in
real time or you update every two seconds.


I guess this comes down to a question of "how big a problem is this" as
we can really do it either way.  And in fact we had recently developed a
patch that allowed ethtool to control the stats update frequency (the
rate the hw counters are read)  I'm not sure, but reverting the change
that removed the hardware byte counters, and adding this "stats
frequency update" would kind of fix both issues.  The only reason I'm
not fond of the real-time updates up until this point is the hot path
cache misses.

Jesse
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RE: [E1000-devel] [PATCH] catch up device stats when multica..., Brandeburg, Jesse, (Tue Aug 5, 12:43 pm)