Re: [ovs-discuss] Queue-Stats command not working

2015-11-30 Thread Bob Lantz
[oops, replied to an old message by mistake - apologies -BL] > On Nov 30, 2015, at 9:56 PM, Bob Lantz wrote: > > Make sure you are not using Mininet’s TCLink (—link tc) — it currently > conflicts with OVS’s use of tc, and vice-versa. > >> On Apr 29, 2015, at 11:52 PM, Haleema Sadia Mahmood >>

Re: [ovs-discuss] Queue-Stats command not working

2015-11-30 Thread Bob Lantz
Make sure you are not using Mininet’s TCLink (—link tc) — it currently conflicts with OVS’s use of tc, and vice-versa. > On Apr 29, 2015, at 11:52 PM, Haleema Sadia Mahmood > wrote: > > Hey everyone, > > So I am trying to configure queues on a mininet topology. The command that I > use is, (

Re: [ovs-discuss] Queue-Stats command not working

2015-05-12 Thread Ben Pfaff
On Tue, May 12, 2015 at 03:18:32PM -0700, Bob Lantz wrote: > I agree with the OVS FAQ entry, and I will add one comment: > > For now, you should configure tc/QoS using either Mininet *or* OVS, but not > both; > if you try to use both of them on the same interface, one will overwrite the > other.

Re: [ovs-discuss] Queue-Stats command not working

2015-05-12 Thread Nicholas Bastin
On Mon, May 4, 2015 at 8:22 AM, Haleema Sadia wrote: > The issue is resolved now.. I was setting up the bandwidth and delay > variable in the mininet custom topology that I created. Once I removed them > the queues starting working. However, if I have different min/max rate for > the queues the m

Re: [ovs-discuss] Queue-Stats command not working

2015-05-12 Thread Bob Lantz
I agree with the OVS FAQ entry, and I will add one comment: For now, you should configure tc/QoS using either Mininet *or* OVS, but not both; if you try to use both of them on the same interface, one will overwrite the other. Probably you want to use ovs-vsctl for OVS data ports, and Mininet’s T

Re: [ovs-discuss] Queue-Stats command not working

2015-05-04 Thread Haleema Sadia
The issue is resolved now.. I was setting up the bandwidth and delay variable in the mininet custom topology that I created. Once I removed them the queues starting working. However, if I have different min/max rate for the queues the min rate threshold is not maintained. For ex, if min-rate is 4

Re: [ovs-discuss] Queue-Stats command not working

2015-05-04 Thread Ben Pfaff
On Mon, May 04, 2015 at 05:22:24PM +0500, Haleema Sadia wrote: > The issue is resolved now.. I was setting up the bandwidth and delay > variable in the mininet custom topology that I created. Once I removed them > the queues starting working. However, if I have different min/max rate for > the queu

Re: [ovs-discuss] Queue-Stats command not working

2015-05-03 Thread Haleema Sadia
Here it is! On Sat, May 2, 2015 at 10:16 AM, Ben Pfaff wrote: > Can you provide the ovs-vswitchd log? > > On Sat, May 02, 2015 at 09:58:34AM -0700, Haleema Sadia wrote: > > My mininet wasn't working before when I type the command, but I restarted > > it and now the command shows this: > > > > qd

Re: [ovs-discuss] Queue-Stats command not working

2015-05-03 Thread Haleema Sadia
It says: qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 On Sat, May 2, 2015 at 9:17 AM, Ben Pfaff wrote: > Check whether the kernel shows the qdisc being configured: "tc qdisc > show". > > On Sat, May 02, 2015 at 05:11:30PM +0500, Haleema Sadia wrot

Re: [ovs-discuss] Queue-Stats command not working

2015-05-03 Thread Haleema Sadia
Hi Ben, Thanks for your response! The ovs-vswitchd log shows shows no error and neither does it says anything about the queue creation. Is that fine? However, I do get the qos id and the queue id when I create them. On Sat, May 2, 2015 at 3:57 AM, Ben Pfaff wrote: > On Thu, Apr 30, 2015 at 11:

Re: [ovs-discuss] Queue-Stats command not working

2015-05-02 Thread Ben Pfaff
It looks like mininet is taking charge of the qdisc on s1-eth1. There can only be one configuration, so if mininet wants to set it one way and OVS the other then only one can win. I suspect you should talk to the mininet folks. On Sat, May 02, 2015 at 10:17:19AM -0700, Haleema Sadia wrote: > Her

Re: [ovs-discuss] Queue-Stats command not working

2015-05-02 Thread Ben Pfaff
Can you provide the ovs-vswitchd log? On Sat, May 02, 2015 at 09:58:34AM -0700, Haleema Sadia wrote: > My mininet wasn't working before when I type the command, but I restarted > it and now the command shows this: > > qdisc pfifo_fast 0: dev eth0 root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 > 1

Re: [ovs-discuss] Queue-Stats command not working

2015-05-02 Thread Ben Pfaff
OK, the linux-htb qdisc isn't really getting configured. We'll have to figure out why. Is the htb kernel module loaded? Is there anything in the kernel log related to htb? On Sat, May 02, 2015 at 09:20:19AM -0700, Haleema Sadia wrote: > It says: > > qdisc pfifo_fast 0: dev eth0 root refcnt 2 b

Re: [ovs-discuss] Queue-Stats command not working

2015-05-02 Thread Ben Pfaff
Check whether the kernel shows the qdisc being configured: "tc qdisc show". On Sat, May 02, 2015 at 05:11:30PM +0500, Haleema Sadia wrote: > Hi Ben, > > Thanks for your response! > > The ovs-vswitchd log shows shows no error and neither does it says anything > about the queue creation. Is that f

Re: [ovs-discuss] Queue-Stats command not working

2015-05-01 Thread Ben Pfaff
On Thu, Apr 30, 2015 at 11:52:45AM +0500, Haleema Sadia Mahmood wrote: > So I am trying to configure queues on a mininet topology. The command that I > use is, (here s1-eth1 is my port 1) > > sudo ovs-vsctl set port s1-eth1 qos=@newqos - - - -id=@newqos create qos > type=linux-htb queues=0=@q0

[ovs-discuss] Queue-Stats command not working

2015-04-30 Thread Haleema Sadia Mahmood
Hey everyone, So I am trying to configure queues on a mininet topology. The command that I use is, (here s1-eth1 is my port 1) sudo ovs-vsctl set port s1-eth1 qos=@newqos - - - -id=@newqos create qos type=linux-htb queues=0=@q0 - - - -id=@q0 create queue other-config:max-rate=1 oth