[ovs-discuss] queue table priority problem

Ben Pfaff blp at nicira.com
Fri Nov 11 21:51:47 UTC 2011


Either way, it doesn't matter.  The question is, can you configure the
Linux kernel qdiscs to do what you want?  If so, then ovs-vswitchd can
(possibly with some work) configure it that way too.  If not, then
you'll have to do some kernel work.

On Fri, Nov 11, 2011 at 03:49:21PM -0600, Shan Hu wrote:
> Ben, you mean i run tc directly under openflow network or normal network?
> 
> 
> ----- Original Message -----
> From: "Ben Pfaff" <blp at nicira.com>
> To: "Shan Hu" <sxh102320 at utdallas.edu>
> Cc: "Shan Hu" <shan.hu at utdallas.edu>, discuss at openvswitch.org
> Sent: Thursday, November 10, 2011 9:39:55 AM
> Subject: Re: [ovs-discuss] queue table priority problem
> 
> Well, can you get it to do what you want by running "tc" directly to
> configure a qdisc?  If so, there is probably a bug in ovs-vswitchd that
> we can fix.   If not, then the priority is not going to work.
> 
> On Thu, Nov 10, 2011 at 12:12:12AM -0600, Shan Hu wrote:
> > So do you mean the priority is not gonna work?
> > 
> > On Nov 9, 2011, at 10:20 PM, Ben Pfaff <blp at nicira.com> wrote:
> > 
> > > On Wed, Nov 09, 2011 at 07:48:38PM -0600, Shan Hu wrote:
> > >> 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.
> > > 
> > > In this setup, OVS just configures the HTB qdisc.  You are probably just
> > > seeing poor shaping by the HTB qdisc.



More information about the discuss mailing list