[ovs-discuss] queue table priority problem
shan.hu at utdallas.edu
Thu Nov 10 01:48:38 UTC 2011
I try to reserve bandwidth and limit rate with the queue table, it works great with pyswitch module,but it doesnt work with routing module[nox controller], actually im wondering should i post this question to nox-dev mailing list since it does work in one case.
But i still have one problem with the queue table,i tried to set priority to two queues i had, but seems it doesnt work, and i could not find any cookbook for this priority part,my configuration is as below,is there something wrong with it?
./ovs-vsctl set port eth2 qos=@newqos -- --id=@newqos create qos type=linux-htb queues=0=@q0,1=@q1 -- --id=@q0 create queue other-config:min-rate=600000000 other-config:max-rate=700000000 other-config:priority=50 -- --id=@q1 create queue other-config:min-rate=400000000 other-config:max-rate=500000000 other-config:priority=100
this setting does limit rates of two queues to 600Mbps~700Mbps and 400Mbps~500Mbps,respectively. But when i tried to use two queues at the same time,their rates both slow down.
----- Original Message -----
From: "Ben Pfaff" <blp at nicira.com>
To: "Shan Hu" <shan.hu at utdallas.edu>
Cc: discuss at openvswitch.org
Sent: Monday, October 31, 2011 12:24:44 PM
Subject: Re: [ovs-discuss] precedence of QoS
I think that you could get that effect with the HTB qdisc if you set a
small min-rate for each queue, a high max-rate, and then use the
priority setting to control precedence.
You can use other qdiscs that support precedence, if you like, too,
it's just that OVS doesn't have built-in support for configuring them.
On Mon, Oct 31, 2011 at 12:20:45PM -0500, Shan Hu wrote:
> In the description,it is like this:
> Strict Precedence:
> * A flow is assigned a precedence level. (Default: four levels?). A queue at a given precedence level is only served if all the queues with higher precedence are empty.
> ----- Original Message -----
> From: "Ben Pfaff" <blp at nicira.com>
> To: "Shan Hu" <shan.hu at utdallas.edu>
> Cc: discuss at openvswitch.org
> Sent: Monday, October 31, 2011 12:14:02 PM
> Subject: Re: [ovs-discuss] precedence of QoS
> On Mon, Oct 31, 2011 at 12:11:40PM -0500, Shan Hu wrote:
> > Is there a way to implement the Strict Precedence of QoS primitives
> > in current verison kernel ovs?
> Will you define "Strict Precedence of QoS", please?
More information about the discuss