Hello again,

I figure it out. The problem is that i use TCLink in my topology. Does
anyone know how to make queues work alongside with TCLink? i found this
https://github.com/mininet/mininet/pull/132 but i do something wrong. I
just pasted the  code to my mininet/node.py file but i get an import error
for OVSHtbQosSwitch. Does anyone knows how should i properly apply this
patch?

Thanks


On Fri, Aug 8, 2014 at 2:26 PM, Savvas Zannettou <[email protected]>
wrote:

> Hi all,
>
> I am trying to create a QoS mechanism using Mininet and OVS. More
> specifically i have 2 flows with different DSCP values and i want to
> prioritize the one over the other. I executed the following commands:
>
> sudo ovs-vsctl set port s2-eth2 qos=@newqos -- --id=@newqos create qos
> type=linux-htb queues=0=@q0,1=@q1 -- --id=@q0 create queue
> other-config:min-rate=0 -- --id=@q1 create queue
> other-config:min-rate=7000000
>
> sudo ovs-ofctl add-flow s2 tcp,nw_tos=0,actions=enqueue=2:0,normal
>
> sudo ovs-ofctl add-flow s2 tcp,nw_tos=184,actions=enqueue=2:1,normal
>
> The idea is when a flow have tos value equal to 184 to get at least
> 7Mbits/s out of 10Mbits/s.
>
> In my test i execute 2 iperfs (almost simultaneously), the one with tos=0
> and the other with tos=184 and the results are inconsistent. The results
> are shown in the attached image(left is the host with tos=184 and right the
> host with tos=0)
>
> Does anyone knows why i don't get the desired results? Do i have to do
> something different in order to achieve my goal?
> Note that the 2 queues are used because when i dump the flows of s2 i see
> that the n_packets field of the 2 queues are greater than 0.
>
> Thanks in advance,
> Savvas
>
>
>
>
>
>
>
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to