All of lore.kernel.org
 help / color / mirror / Atom feed
* Virtio xstats problem
@ 2016-02-26 13:56 Igor Ryzhov
  2016-02-26 14:29 ` Van Haaren, Harry
  0 siblings, 1 reply; 5+ messages in thread
From: Igor Ryzhov @ 2016-02-26 13:56 UTC (permalink / raw)
  To: dev

Hello.

I found some problem with virtio xstats counters.

Example:

rx_good_packets: 3
rx_good_bytes: 180
rx_errors: 0

rx_q0_good_packets: 3
rx_q0_good_bytes: 180
rx_q0_errors: 0

rx_q0_multicast_packets: 3
rx_q0_broadcast_packets: 1
rx_q0_undersize_packets: 3

It means that undersize packets are counted as good packets instead of errors. Or maybe size of packet is calculated wrong.
I don't have time now to check it more deeply - I can do it sometime later, but maybe someone want to help.

PS. Is it a common practice to count broadcast packets twice - in broadcast and multicast counters?

Best regards,
Igor

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-26 15:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26 13:56 Virtio xstats problem Igor Ryzhov
2016-02-26 14:29 ` Van Haaren, Harry
2016-02-26 14:35   ` Igor Ryzhov
2016-02-26 15:03     ` Igor Ryzhov
2016-02-26 15:18     ` Kyle Larose

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.