Hi, When I set two priority queues in OVS and use two TCP flows from different , I find that the TCP flow with high priority queue cannot enjoy priority in forwarding its packet, but just fairly share the available bandwidth with another TCP flow. I use the topology in the below, each link bandwidth is 10Mbps. Two TCP flows f1 (host1-->host3, tos=4, queue=7) and f2 (host2-->host4, tos=1, queue=0). host1----(port1)OVS1(port3)---------OVS2------------------host3 | | host2 host4
I set up two priority in each OVS port like this: sudo ovs-vsctl -- set Port OVS-port3 qos=@newqos -- --id=@newqos create QoS type=linux-htb other-config:max-rate=10000000 queues=0=@q0, 7=@q7 -- --id=@q0 create Queue other-config:priority=1 -- --id=@q7 create Queue other-config:priority=1 I firstly send f2 with iperf with set tos=0, and send f1 in 20s later with set tos=4. I think when f1 is sent, f2 will slow down. However, each flow's transmitting rate is around 4.7Mbps, which doesn't reflect the function of priority queues. Moreover, when I set f2 to be UDP flow (host2-->host4, tos=1, queue=0) with sending bandwidth=10Mbps, the UDP flow's transmitting rate is still around 3.25Mbps, which doesn't accord with priority queue principle. I don't know what's the matter? I find some information in ovs-vswitchd.conf.db(5), and it says: Configuration for linux-htb QoS: other_config : min-rate optional string, containing an integer, at least 1 other_config : max-rate optional string, containing an integer, at least 1 other_config : burst optional string, containing an integer, at least 1 other_config : priority optional string, containing an integer, in range 0 to 4,294,967,295 which mean I can set priority queues in OVS? Thanks for any help. Bo Liu
_______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss