Hi Ciara, thanks that clarified it, i got confused by > Also this does NOT set the multiqueues the guest shall get i read the Install md from here http://openvswitch.org/support/dist-docs/INSTALL.DPDK.md.txt i thought this is related to the download on the same site (http://openvswitch.org/releases/openvswitch-2.5.0.tar.gz), but it seems not to. With the n-dpdk-rxqs=2 option i was able to get 2 queues inside the vm and working communication, too. After testing i will try to get the latest (post 2.5) version of ovs to get a more fine grained control over the queues. Thanks all!
Best regards Felix -----Ursprüngliche Nachricht----- Von: Loftus, Ciara [mailto:ciara.lof...@intel.com] Gesendet: Montag, 4. April 2016 18:11 An: Felix Brucker <fbruc...@xantaro.net>; Christian Ehrhardt <christian.ehrha...@canonical.com> Cc: Daniele Di Proietto <diproiet...@vmware.com>; discuss@openvswitch.org Betreff: RE: [ovs-discuss] [OVS-DPDK] vhost-user with multiple queues does not work > yes that part works, but for communication to work between the guest > and host OVS has to use 2 queues as well, which currently does not work. > So how does one set multiple queues for vhostuser in OVS 2.5.0 or below? > Im not talking about libvirt or qemu regarding the above question, but OVS. Hi Felix, As we've mentioned before, you need to use the following command: ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=2 ... to assign two rx queues to the vhost-user ports in OVS. This is clearly stated in INSTALL.DPDK.md on the 2.5 branch. I suspect you were previously looking at the latest INSTALL guide which pointed you to use the n_rxq option, which is not available on the older branch-2.5. Essentially, if your bridge has two vhost-user ports eg. vhost-user-0 and vhost-user-1, the effect of ' ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs=2' is the same as ovs-vsctl set Interface vhost-user-0 options:n_rxq=2 ovs-vsctl set Interface vhost-user-1 options:n_rxq=2 On branch-2.5, you need to use the former command. Thanks, Ciara > > Grüße > Felix > > Von: Christian Ehrhardt [mailto:christian.ehrha...@canonical.com] > Gesendet: Montag, 4. April 2016 17:35 > An: Felix Brucker <fbruc...@xantaro.net> > Cc: Daniele Di Proietto <diproiet...@vmware.com>; Loftus, Ciara > <ciara.lof...@intel.com>; discuss@openvswitch.org > Betreff: Re: [ovs-discuss] [OVS-DPDK] vhost-user with multiple queues > does not work > > Hi Felix, > here you already do the right thing: > > <interface type='vhostuser'> > [...] > <driver queues='2'/> > > Given you have the recent libvirt and qemu versions that translates to > the right qemu parameters as you have seen in my initial posts. > > You can then log into the guest and check with "ethtool -l" if the > guest really "sees" its multiple queues (also shown in my first mail > that this fails for me) > > Kind Regards, > Christian _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss