[ovs-dev] OVS and macvtap - statistics

K.R Kishore krkishore at yahoo.com
Fri Jun 7 18:46:29 UTC 2013


Hi
I am trying to understand the statistics from ovs-dpctl and reconcile that with stats from other tools. I am finding it difficult to make sense of the numbers, perhaps someone can point me to some documentation about how this works? There are numerous links on the web and it is quite confusing as I am not sure which is authoritative.


My setup is as follows:
	1. Two machines connected back-to-back via 10G NICs
	2. Both machines running RHEL 6.4/ wKVM; Two VMs on each, both running CentOS 6.4
	3. OVS 1.10 installed on both; 
	4. Created bridge (ovsbr0) and connected the VMs via macvtap (bridge mode -allegedly; VMM says bridge mode, but the host cannot VM and vice-versa; VMs can communicate with external hosts/VMs)
	1. I also have linux bridges (br0 & br1) on these VMs but they bridge the VMs to different physical ports (p4p1 and em1)

	5. Ran netperf (and netserver) between host1-vm1 and host2-vm1successfully; got stats from neperf
I have attached the stats outputs from ovs-dpctl, ifconfig -a and  ip -s link and I cannot reconcile these:
- The port numbers do not match across these, but I can ignore that for now
- The Rx packets and bytes from ovs-dpctl (port 2: p4p2) does not match (or come close to) the ipconfig -a p4p2  or 'ip -s link' (for p4p2)
- The macvtap ports do show the traffic coming out of the VMs (I see the increments in the same ballpark when I run netperf and observe through ip -s link and ipconfig -a)
- 

Is all traffic going through OVS bridge (ovsbr0)? Does ovs-dpctl count show something? Do I need to enable statistics somewhere?
thx,
Kishore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130607/376e03fb/attachment-0004.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: stats.txt
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20130607/376e03fb/attachment-0005.txt>


More information about the dev mailing list