[ovs-discuss] QoS HTB queue prioritization

Zhangxilong zhangxilong at h3c.com
Tue Nov 25 00:55:35 UTC 2014

Hi, Ricado,

I’m sure that HTB can work well in OVS. Could you please paste your HTB parameters and flow configurations? Then I might know what is the problem.

And another question, how long is your queues (queue size) of HTB? Thanks.

Best regards,
Xilong Zhang

From: Ricardo Santos [mailto:rrsantos at student.dei.uc.pt]
Sent: 2014年11月25日 6:50
To: discuss at openvswitch.org
Cc: Andreas Kassler; Ognjen Dobrijević
Subject: [ovs-discuss] QoS HTB queue prioritization


I'm setting up a scenario in Open vSwitch where I have multiple flows that can be differentiated by 2 groups with different QoS configurations.

Each flow from the first group has a low bandwidth requirement and should be prioritized over the traffic from the second group flows. Each flow from the second group needs a higher amount of bandwidth.

So far my configuration consists in creating a HTB QoS entry in each used node with OVS for all the ports used to route the traffic. Then I create 2 queues, one for each group of traffic and add flow rules with the appropriate enqueue options.

In order to prioritize the traffic from one queue to another, I'm configuring the queues with the "priority" option, having the first group queue with priority 1 and the second with priority 2.

However, I still experience packet loss in flows from the first group with this setup (the required bandwidth from these flows is short). Do you maybe know what's causing it? Shouldn't this configuration theoretically work?

I was playing with the available HTB options in Open vSwitch and so far the only way to avoid packet loss in group 1 flows was to create a max-rate value in the other queue, limiting the available bandwidth, but I want to avoid limiting the queues' bandwidth, only prioritize the respective traffic.

I am using Open vSwitch 2.3.0 with Ubuntu Server 14.04.1.

Any help is appreciated. Thank you.

Best regards,
Ricardo Santos
This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20141125/5e4625f9/attachment-0002.html>

More information about the discuss mailing list