OVS 2.5.0 on Xenial, doesn't support its "options:n_rxq"...

Christian Ehrhardt christian.ehrhardt at canonical.com
Wed Apr 13 18:52:05 UTC 2016


Hi Thiago,
everything all right here - just misreadable words.

I'll translate a bit:
Openvswitch <=2.5
ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=<queues_nr, the same
as QEMU>

Openvswitch >2.5
ovs-vsctl set Interface vhost-user1 options:n_rxq=<queues_nr, the same as
QEMU>

In Xenial we have Openvswitch 2.5 (there is no 2.6 yet and even 2.5 is just
a 6.5 weeks old).
So it is right that the first usage applies.
The more evolved is for OpenVswitch 2.6 whenever that will be
I also ran some tests with the first and it works for me.

Did the change from words to clear <=> signs help to clarify it?


Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd

On Wed, Apr 13, 2016 at 8:44 PM, Martinx - ジェームズ <thiagocmartinsc at gmail.com>
wrote:

> Hey guys,
>
>  I'm curious about something, at the QEmu Wiki (
> http://wiki.qemu.org/Features/vhost-user-ovs-dpdk) page, we have this
> info:
>
> ---
> Enabling multi-queue
> Enable multi-queue
>
>    - OVS setup
>
> In OVS 2.5.0 or older version: (It only supports setting up same number of rx queues for all of PMD netdevs.)
>     ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=<queues_nr, the same as QEMU>
>     ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=<cpu mask for rx queues, say 0xff00>
>
> In post OVS 2.5.0:
>     ovs-vsctl set Interface vhost-user1 options:n_rxq=<queues_nr, the same as QEMU>
>     ovs-vsctl set Interface vhost-user2 options:n_rxq=<queues_nr, the same as QEMU>
>     ovs-vsctl set Open_vSwitch . other_config:pmd-cpu-mask=<cpu mask for rx queues, say 0xff00>
>
>
>
> ---
>
> However, OpenvSwitch 2.5.0 available on Xenial, does not support
> "options:n_rxq", like the second above example... It says that this option
> isn't available and multiqueue doesn't get enabled, while the first options
> works...
>
> Looks like that the second option is more evolved... Am I missing
> something here?
>
> Cheers!
> Thiago
>
> --
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20160413/af281911/attachment.html>


More information about the ubuntu-server mailing list