<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi</div><div>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.<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">My setup is as follows:</div><ol><li>Two machines connected back-to-back via 10G NICs</li><li>Both machines running RHEL 6.4/ wKVM; Two VMs on each, both running
 CentOS 6.4</li><li>OVS 1.10 installed on both;&nbsp;</li><li>Created bridge (ovsbr0) and connected the VMs via macvtap (<span style="font-style: italic;">bridge mode -allegedly; VMM says bridge mode, but the host cannot VM and vice-versa; VMs can communicate with external hosts/VM</span>s)<ol><li>I also have linux bridges (br0 &amp; br1) on these VMs but they bridge the VMs to different physical ports (p4p1 and em1)<br></li></ol></li><li>Ran netperf (and netserver) between host1-vm1 and host2-vm1successfully; got stats from neperf</li></ol><div>I have attached the stats outputs from ovs-dpctl, ifconfig -a and&nbsp; ip -s link and I cannot reconcile these:</div><div>- The port numbers do not match across these, but I can ignore that for now</div><div>- The Rx packets and bytes from ovs-dpctl (port 2: p4p2) does not match (or come close to) the ipconfig -a p4p2&nbsp; or 'ip -s link' (for p4p2)</div><div>- 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)</div><div>-&nbsp;</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Is all traffic going through OVS bridge (ovsbr0)? Does ovs-dpctl count show something? Do I need to enable statistics somewhere?</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">thx,</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Kishore</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0,
 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: italic;"><span></span></div></div></body></html>