Thread (1 message) 1 message, 1 author, 2016-02-21

Re: Tools for sampling ethtool --statistics

From: Rana Shahout <hidden>
Date: 2016-02-21 19:03:24

Hi All,

I wrote a small tool[1] to extract ethtool --statistics|-S, sample and
present it in a more human readable manor.  You might also find this
useful...

https://github.com/netoptimizer/network-testing/blob/master/bin/ethtool_stats.pl

The reason I wrote this script is that the mlx5 driver (Mellanox 100 Gbit/s)
does not report correct ifconfig stats.  It reports the HW counters,
not what the network stack is able to handle.  I/we obviously need the
stack number when working on improving the stack.
mlx5 drive does not report correct counters also in ethtool statistics
(ethtool -S).
ethtool statistics reports also the HW counters, so all counters
except counters per channel are wrong.
We are working on fix. It will be available soon.
--
Best regards,
  Jesper Dangaard Brouer
  MSc.CS, Principal Kernel Engineer at Red Hat
  Author of http://www.iptv-analyzer.org
  LinkedIn: http://www.linkedin.com/in/brouer
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help