Hi , Ben

Thanks for your reply.

I configured the bond0 using linux bond then the result is not good for minimum 
guaranteed bandwidth.
But if I use ovs-vsctl add-bond to configure the bond0 interface, the result is 
good.
If I use linux bond with linux tc, the tc works well also.

  However, most problems with QoS on Linux are not bugs in Open
  vSwitch at all.  They tend to be either configuration errors
  (please see the earlier questions in this section) or issues with

Could you send  me the section link?

Thanks.



在 2016年7月2日,上午8:31,Ben Pfaff <b...@ovn.org<mailto:b...@ovn.org>> 写道:

On Fri, Jul 01, 2016 at 03:40:30AM +0000, Xiao Ma (xima2) wrote:
I want to use the QoS feature of OpenvSwitch to control the bandwidth based on 
the vlan id(Scene 1) or port id(Scene 2).
So I deployed it as showed bellow,and configured the qos rules,the flows,and 
used iperf tool to test it.
But the result is disappointment.

Are you confident that this is actually an OVS problem and not a problem
with the Linux kernel HTB code?  The FAQ says:

### Q: I configured QoS, correctly, but my measurements show that it isn't
  working as well as I expect.

A: With the Linux kernel, the Open vSwitch implementation of QoS has
  two aspects:

  - Open vSwitch configures a subset of Linux kernel QoS
    features, according to what is in OVSDB.  It is possible that
    this code has bugs.  If you believe that this is so, then you
    can configure the Linux traffic control (QoS) stack directly
    with the "tc" program.  If you get better results that way,
    you can send a detailed bug report to 
b...@openvswitch.org<mailto:b...@openvswitch.org>.

    It is certain that Open vSwitch cannot configure every Linux
    kernel QoS feature.  If you need some feature that OVS cannot
    configure, then you can also use "tc" directly (or add that
    feature to OVS).

  - The Open vSwitch implementation of OpenFlow allows flows to
    be directed to particular queues.  This is pretty simple and
    unlikely to have serious bugs at this point.

  However, most problems with QoS on Linux are not bugs in Open
  vSwitch at all.  They tend to be either configuration errors
  (please see the earlier questions in this section) or issues with
  the traffic control (QoS) stack in Linux.  The Open vSwitch
  developers are not experts on Linux traffic control.  We suggest
  that, if you believe you are encountering a problem with Linux
  traffic control, that you consult the tc manpages (e.g. tc(8),
  tc-htb(8), tc-hfsc(8)), web resources (e.g. http://lartc.org/), or
  mailing lists (e.g. http://vger.kernel.org/vger-lists.html#netdev).

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to