<div dir="ltr"><div dir="ltr">Hi!<div><br></div><div>I have 2 virtual machines on VMware.  VM one has ovs 2.9.4 installed with DPDK version 17.11.4. VM one has open vSwitch br0. br0 has IP:10.0.0.5 and eth0 of VM two has IP: 10.0.0.14  I have following entries installed on switch br0:</div><div><br></div><div>ovs-ofctl -O OpenFlow15 add-meter br0 meter=1,kbps,band=type=drop,rate=500</div><div><br></div><div>ovs-ofctl -O OpenFlow15 add-flow br0 arp,in_port=1,actions=output:LOCAL</div><div>ovs-ofctl -O OpenFlow15 add-flow br0 arp,in_port=LOCAL,actions=output:1</div><div>ovs-ofctl -O OpenFlow15 add-flow br0 ip,ip_dst=<a href="http://10.0.0.5/255.255.255.255,actions=output:LOCAL">10.0.0.5/255.255.255.255,actions=output:LOCAL</a></div><div>ovs-ofctl -O OpenFlow15 add-flow br0 ip,ip_dst=<a href="http://10.0.0.14/255.255.255.255,actions=meter=1,output:1">10.0.0.14/255.255.255.255,actions=meter=1,output:1</a></div><div> </div><div>Now I was experimenting with rate-limiting (metering) feature in OVS. When I give rate of 500 I get bandwidth of 600Mbps for TCP traffic from VM one to VM two (done vie iperf). For rate 5000 I get 4.92Mbps. Both of these are fine. When I change rate to 50000 I get bandwidth of 30Mbps, whereas expected bandwidth is around 48-49Mbps. Please let me know what is going wrong here.<br></div><div><br></div><div>One more question. I just need to use metering feature of ovs. Do I need to add interfaces to VIFO for that? I am asking this because adding interfaces to VIFO gave errors.  <br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><br></div></div></div></div></div></div></div>