Received: from eggs.gnu.org ([2001:4830:134:3::10]:38384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxP3p-00050h-3w for qemu-devel@nongnu.org; Thu, 20 Oct 2016 21:55:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxP3k-0004d1-AV for qemu-devel@nongnu.org; Thu, 20 Oct 2016 21:55:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36090) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxP3k-0004cg-5X for qemu-devel@nongnu.org; Thu, 20 Oct 2016 21:55:48 -0400 References: <37d9f6f8.cbc6.157d239377c.Coremail.kvmluck@163.com> From: Jason Wang Message-ID: <540735ea-c5a8-91da-a6b8-8d2defa84a82@redhat.com> Date: Fri, 21 Oct 2016 09:55:42 +0800 MIME-Version: 1.0 In-Reply-To: <37d9f6f8.cbc6.157d239377c.Coremail.kvmluck@163.com> Content-Type: text/plain; charset=gbk; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] is there a way to optimize vhost of virtio-net List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: yue , qemu-devel On 2016=C4=EA10=D4=C217=C8=D5 18:39, yue wrote: > hi, jasowang: > according to my test , the vm's network performance is just 20% o= f physical ethernet, the thread of vhost easily eat up 100% cpu when und= er pressure. What's you configuration (e.g qemu cli, host and guest kernel versions=20 and network setups). And how do you measure the performance? > when using multi queue(two queues) the performance goes up by 50%, but = it uses more threads. > if we can come to a conclusion that vhost is bottomneck? or do you hav= e any idea to improve , first we do not need to care how violent the id= ea is. We notice the small packet TCP stream performance was bad in the past,=20 but not sure it was your case. > > > > thanks