[ovs-discuss] Queue stats don't appear

álvaro alvaricono at hotmail.com
Mon Jul 25 21:05:55 UTC 2016


I've just checked the logs and i didn't see nothing weird.

I thing that maybe I've not added queues in the qos.

When I check with ovs-vsctl list queue appears this:

mininet at mininet-vm:~$ sudo ovs-vsctl list queue

_uuid               : 5dcd4bc4-4706-4e30-86b1-dc2c2a13f499

dscp                : []

external_ids        : {}

other_config        : {max-rate="1000000000", min-rate="1000000000"}


_uuid               : 4f688828-a5e7-4d15-8aed-9193b0742610

dscp                : []

external_ids        : {}

other_config        : {max-rate="4000000", min-rate="4000000"}


_uuid               : a8546246-3b5f-40b1-8433-0733203740bf

dscp                : []

external_ids        : {}

other_config        : {max-rate="4000000", min-rate="4000000"}


_uuid               : f7a521ce-0031-47e3-8412-25b5babde47e

dscp                : []

external_ids        : {}

other_config        : {max-rate="20000", min-rate="5000"}

but when I put ovs-ofctl queue-stats s1 it says that there are 0 queues maybe because I didn't add.
I don't know very well how to configure a queue, how would you do from scratch?
Thanks again

________________________________
From: Ben Pfaff <blp at ovn.org>
Sent: Monday, July 25, 2016 8:18 PM
To: álvaro
Cc: discuss at openvswitch.org
Subject: Re: [ovs-discuss] Queue stats don't appear

That looks OK to me.  You might check your OVS logs for related
warnings.

On Mon, Jul 25, 2016 at 07:06:42PM +0000, álvaro wrote:
>
> Yes I did, with this command:
>
> ovs-vsctl -- set Port s1-eth1 qos=@newqos --
>
> --id=@newqos create QoS type=linux-htb other-config:max-rate=1000000000 queues=0=@q0 --
>
> --id=@q0 create Queue other-config:min-rate=4000000 other-config:max-rate=4000000
>
>
> and when I check with:
>
> sudo ovs-vsctl list queue
>
> appears the uuid of the queues and the configuration that I've chosen, but when I try to get the stats either with the:
>
> ova-ofctl queue-stats or with the QueueStatsReceived method from POX nothing appears.
>
> I don't know if I've configured the queue in the correct way, if you can tell me how should I configure the queue of a port switch to get the stats like tx_byte, tx_packet, tx_error I would appreciate.
>
>
> ________________________________
> From: Ben Pfaff <blp at ovn.org>
> Sent: Monday, July 25, 2016 4:24 PM
> To: álvaro
> Cc: discuss at openvswitch.org
> Subject: Re: [ovs-discuss] Queue stats don't appear
>
> On Mon, Jul 25, 2016 at 10:17:19AM +0000, álvaro wrote:
> > Hi, I'm trying to get the queue stats of the network, I make a request to the controller and use the QueueStatsReceived with a handler, but when I print the stats nothing appears(even saturating switch ports), with the FlowStats and PortStats works normally.
> >
> > Anyone knows why always appear "[]" without stats in?
>
> Did you configure queues?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20160725/26afde6d/attachment-0002.html>


More information about the discuss mailing list