<div dir="ltr"><div><div>Hello everyone,<br><br></div>I have created a very simple topology of one OVSwitch and 3 hosts in Mininet (latest version from Github on Ubuntu 16.04 LTS) connected to a remote OpenDaylight controller. All links are TCLinks with bw=10mbps.</div><div><br></div><div>h1 and h2 are sending udp packets (with iperf) to h3, in different ports. h1-&gt;h3 (flow 1) is in queue 1 and h2-&gt;h3 (flow 2) is in q0. I understand that if I set the min-rate correctly flow 1 should not drop under min-rate. Instead flow 2 should only experience packet losses.<br><br></div>Nonetheless, I see both flows 1 and 2 experience packet losses.<br><div><br>Inside my Python script there&#39;s the following:<br><br>s1 = net.get(&#39;s1&#39;)</div><div>#I clear all queues and qos from the switch, otherwise every change stays there<br></div><div>print s1.cmd(&#39;ovs-vsctl -- --all destroy QoS -- --all destroy Queue&#39;)<br>print s1.cmd(&#39;sudo ovs-vsctl -- set Port s1-eth3 qos=@newqos -- \<br>                --id=@newqos create qos type=linux-htb other-config:max-rate=10000000 queues=0=@q0,1=@q1 -- \<br>                --id=@q0 create queue  other-config:min-rate=5000000 other-config:max-rate=5000000 -- \<br>                --id=@q1 create queue  other-config:min-rate=3000000 other-config:max-rate=3000000&#39;)</div><div><br></div><div>I test using iperf with:<br></div><div>h1: iperf -u -c 10.0.0.3 -p 40001 -b 2m -t 20, h3: iperf -u -s -p 40001<br></div><div>h2: iperf -u -c 10.0.0.3 -p 40002 -b 9m -t 20, h3: iperf -u -s -p 40002</div><div><br></div><div>and get:</div><div>flow 1: 4.19 Mbytes 1.66Mbits/sec 0.332 ms 406/3403 (12%)</div><div>flow 2: 4.19 Mbytes 8.08Mbits/sec 0.332 ms 736/15314 (4.8%)</div><div><br></div><div>ovs-ofctl dump-flows s1 shows:</div><div>priority=950, udp, nw_src=10.0.0.1,nw_dst=10.0.0.3,tp_dst=44441 actions=set_queue:1,output:3</div><div><div>priority=1000, udp, nw_src=10.0.0.2,nw_dst=10.0.0.3,tp_dst=44442 actions=set_queue:0,output:3</div><div><br></div><div>Does anybody have an idea why this is happening? I&#39;m quite new to OVS so I might not be able to see the obvious.<br></div><div><br></div><div>Thank you in advance,</div><div>Kostas<br></div></div></div>