[ovs-discuss] Problem with OVS QoS

Seyyed Hesamoddin Ghasemi s.hesam.ghasemi at gmail.com
Sun Oct 11 00:51:10 UTC 2015


Hi,
I used script below to add three queues with different QoS requirements.
First I en-queue packets to queue 0. In this case the max rate is 128Mbps
as I expected. but unfortunately when I en-queue packets in queue 1 or
queue 2, yet the max rate is 128Mbps! It seems that only queue 0 is working!
 Also when I want get queue stats for queue 0, the result is not zero. but
for queue 1 and queue 2, txBytes and rxBytes are equal
to 0x0000000000000000! What could be the problem?


s-vsctl set port s1-eth1 qos=@newqos -- --id=@newqos \
create qos type=linux-htb other-config:max-rate=1000000000 \
queues:0=@newqueue0  queues:1=@newqueue1 queues:2=@newqueue2 \
-- --id=@newqueue0 create queue other-config:min-rate=128000000 \
other-config:max-rate=128000 \
-- --id=@newqueue1 create queue other-config:min-rate=256000000 \
other-config:max-rate=256000 \
-- --id=@newqueue2 create queue other-config:min-rate=1024000000 \
other-config:max-rate=1024000


sudo ovs-vsctl set port s1-eth2 qos=@newqos -- --id=@newqos \
create qos type=linux-htb other-config:max-rate=1000000000 \
queues:0=@newqueue0  queues:1=@newqueue1 queues:2=@newqueue2 \
-- --id=@newqueue0 create queue other-config:min-rate=128000000 \
other-config:max-rate=128000 \
-- --id=@newqueue1 create queue other-config:min-rate=256000000 \
other-config:max-rate=256000 \
-- --id=@newqueue2 create queue other-config:min-rate=1024000000 \
other-config:max-rate=1024000



-- 
Seyyed Hesamoddin Ghasemi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20151011/9e554e21/attachment-0002.html>


More information about the discuss mailing list