From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj1c9-0003yC-J1 for qemu-devel@nongnu.org; Thu, 24 Mar 2016 05:31:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aj1c6-0007rZ-Cm for qemu-devel@nongnu.org; Thu, 24 Mar 2016 05:31:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51594) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aj1c6-0007rR-7e for qemu-devel@nongnu.org; Thu, 24 Mar 2016 05:31:34 -0400 References: <56F0391F020000620005249B@prv-mh.provo.novell.com> From: Marcel Apfelbaum Message-ID: <56F3B3F3.1000703@redhat.com> Date: Thu, 24 Mar 2016 11:31:31 +0200 MIME-Version: 1.0 In-Reply-To: <56F0391F020000620005249B@prv-mh.provo.novell.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] wiki: update missing info on "Enabling multi-queue" section of vhost-user List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lin Ma , qemu-devel@nongnu.org On 03/21/2016 12:10 PM, Lin Ma wrote: > Hi Marcel, > I found that the information on "Enabling multi-queue" in http://wiki.qemu.org/Features/vhost-user-ovs-dpdk > are inaccurate. > In ovs 2.5 or older, The option 'other_config:n-dpdk-rxqs' is used and there is no options:n_rxq. > The n_rxq is available since post 2.5.0. > But when setup an interface's option using ovs-vsctl, It doesn't check whether the option is valid or not. > So if a user follows the instruction of above wiki page to setup the vhost-user multi queues in ovs 2.5-, > The user wont get any error information but the vms which have vhost-user multi queues nics dont work and the user > gets confused. > I think that we should mentioned on wiki: > In ovs 2.5 or older version: The usage is: > ...... > ovs-vsctl set Open_vSwitch . other_config:n-dpdk-rxqs= > //BTW: It only supports setting up same number of rx queues for all of PMD netdevs. > ...... > In post ovs 2.5, The usage is: > ...... > ovs-vsctl set Interface vhost-user1 options:n_rxq= > ovs-vsctl set Interface vhost-user2 options:n_rxq= > ...... > Moreover, For vhost-user live migration support, Because qemu needs vhost-user backend providing > VHOST_USER_PROTOCOL_F_LOG_SHMFD feature bit since commit 1be0ac2. > The dpdk commit d639996 provides this feature bit but it isn't available in dpdk 2.2.0, It may be merged into 2.3.0. > In this case, If a user uses qemu 2.5+dpdk 2.2+ovs, The vhost-user live migration wont succeed. > Should it be mentioned on wiki as well? I dont have permissions to update wiki pages, So sending the information to list. > Lin Hi Lin, Thank you for the important update, would you want update the wiki yourself? If you have the time, please reply me on a private thread with the desired username and I'll supply a temporary password. Thanks, Marcel