Bug 1064489 - do not report negative rx/tx rate when Linux counters wrap
Summary: do not report negative rx/tx rate when Linux counters wrap
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: vdsm
Version: 3.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.3.5
Assignee: Dan Kenigsberg
QA Contact: Meni Yakove
URL:
Whiteboard: network
: 1115596 (view as bug list)
Depends On: 1062166
Blocks: 1047459
TreeView+ depends on / blocked
 
Reported: 2014-02-12 17:20 UTC by Dan Kenigsberg
Modified: 2016-02-10 19:36 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1062166
Environment:
Last Closed: 2014-03-31 12:23:18 UTC
oVirt Team: Network
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 24152 0 None None None Never
oVirt gerrit 24322 0 None None None Never
oVirt gerrit 26091 0 None MERGED vm iface stats: fix arithmetic Never

Description Dan Kenigsberg 2014-02-12 17:20:49 UTC
+++ This bug was initially created as a clone of Bug #1062166 +++

+++ This bug was initially created as a clone of Bug #1047459 +++

When /sys/class/net/vnet0/statistics/tx_bytes reaches its 32 bit maximum value, it wraps back to 0. Vdsm must take this into account when calculating the txRate of vnics. Otherwise, a negative value may pollute the data warehouse.

Comment 1 Dan Kenigsberg 2014-03-31 12:23:18 UTC
It's safe enough to verify only the 3.4 clone of this bug (bug 1062166).

Comment 2 Shirly Radco 2014-07-03 08:47:36 UTC
*** Bug 1115596 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.