Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 879287

Summary: [rhevm-backend] - Database - VM Interface transmit rate % values are higher than 100%
Product: Red Hat Enterprise Virtualization Manager Reporter: David Botzer <dbotzer>
Component: ovirt-engineAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: dyasny, iheim, lpeer, pstehlik, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-22 15:15:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
NICtXrX-values none

Description David Botzer 2012-11-22 14:36:29 UTC
Created attachment 649853 [details]
NICtXrX-values

Description of problem:
The values for VM Interface Transmit rate in percentage exceeds 100%
thus it is calculated incorrectly / false data

Version-Release number of selected component (if applicable):
3.1/si24.4

How reproducible:
always

Steps to Reproduce:
1.install rhevm+dwh+reports
2.Run iperf traffic between two VMs
e.x 
python loadUtils.py net -s L@ip:usr:pass -c L@ip:usr:pass -p 55598 -- -- -a 1K
3.check the values in history db View -> 
v3_1_vm_interface_samples_history_view
  
Actual results:
Values in "transmit_rate_percent" & "receive_rate_percent"
are higher than 100%
Graphs and calculated fields are incorrect/false

Expected results:
Values in "transmit_rate_percent" & "receive_rate_percent"
Should exceed 100% 

Additional info:

Comment 1 lpeer 2012-11-22 15:15:05 UTC
The way percentage is calculated is tx or rx rate  related to speed.

For para-virtual drivers speed is not something we can measure, it's all copies in memory, so we have 'heuristic' that reports the VM speed for para-virtual driver is 1000 (and for e1000 the speed is 100).

This means that if tx or rx > 1000 you'll get more than 100% which the expected behaviour.