Hi
         I read FAQ about qos, the link is 
https://raw.githubusercontent.com/openvswitch/ovs/master/FAQ.
         I find something wrong with qos rate limiting.
         The FAQ said is about :

        ovs-vsctl -- \
           add-br br0 -- \
           add-port br0 eth0 -- \
           add-port br0 vif1.0 -- set interface vif1.0 ofport_request=5 -- \
           add-port br0 vif2.0 -- set interface vif2.0 ofport_request=6 -- \
           set port eth0 qos=@newqos -- \
           --id=@newqos create qos type=linux-htb \
               other-config:max-rate=1000000000 \
               queues:123=@vif10queue \
               queues:234=@vif20queue -- \
           --id=@vif10queue create queue other-config:max-rate=10000000 -- \
           --id=@vif20queue create queue other-config:max-rate=20000000


        vs-ofctl add-flow br0 in_port=5,actions=set_queue:123,normal

       ovs-ofctl add-flow br0 in_port=6,actions=set_queue:234,normal

         I tested , this is OK but I modify queue NO ,such as


        ovs-vsctl -- \
           add-br br0 -- \
           add-port br0 eth0 -- \
           add-port br0 vif1.0 -- set interface vif1.0 ofport_request=5 -- \
           add-port br0 vif2.0 -- set interface vif2.0 ofport_request=6 -- \
           set port eth0 qos=@newqos -- \
           --id=@newqos create qos type=linux-htb \
               other-config:max-rate=1000000000 \
               queues:20000=@vif10queue \
               queues:200000=@vif20queue -- \
           --id=@vif10queue create queue other-config:max-rate=10000000 -- \
           --id=@vif20queue create queue other-config:max-rate=20000000


        vs-ofctl add-flow br0 in_port=5,actions=set_queue:20000,normal

       ovs-ofctl add-flow br0 in_port=6,actions=set_queue:200000,normal



    the result is : queues:20000 is ok, the queues:200000 is not working on 
rate limiting。 So  why?



    Any help in this regard will be appreciated.



Thanks.





_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to