[ovs-discuss] QoS problems with ovs , max-rate scale not correct
楊青樺
penolove15 at gmail.com
Fri Nov 4 03:15:57 UTC 2016
Hi all,
I'm trying to get speed limit for specific port in the mininet using ovs
and ryu controller.
but I got some problems:
ovs-vsctl -- set Port s1-eth1 qos=@newqos -- \
--id=@newqos create QoS type=linux-htb other-config:max-rate=1000000
1. while setting max-rate=1000000(1000K), it should be 1Mb/s, but I got
1Gb/s
2. decrease the max-rate from 1000K to 200K the proportion are
strange(1000K->1Gb/s, 600K-> 600Mb/s , 200K-> 16Mb/s).
3. if initial creating topo with bw setting , the ovs-vsctl set port
doesn't change anything in tc.
Here are some experiment details in this doc:
https://docs.google.com/presentation/d/1iSCmkKWkMFwiDDhzQhM_6cMyQ5NV30vVIRphlU76iKs/edit?usp=sharing
--- orders I have run ----
*mininet *:sudo mn --controller remote --link tc
*s1*: ovs-vsctl set Bridge s1 protocols=OpenFlow13
ovs-vsctl -- set Port s1-eth1 qos=@newqos -- \
--id=@newqos create QoS type=linux-htb other-config:max-rate=1000000
*c0*: ryu-manager ryu.app.simple_switch_13
test bandwidth:
iperf h1 h2
==here is my enviorment==
VM ubuntu 14.04 LTS
$ovs-vsctl -V
ovs-vsctl (Open vSwitch) 2.5.1
Compiled Nov 3 2016 16:01:32
DB Schema 7.12.1
mn --version
2.2.1
ryu-manager --version
ryu-manager 4.7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20161104/2bb0ff40/attachment-0002.html>
More information about the discuss
mailing list