From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shirley Ma Subject: Re: vhost-net patches Date: Tue, 27 Oct 2009 09:36:18 -0700 Message-ID: <1256661378.6745.2.camel@localhost.localdomain> References: <20091022174344.GA10821@redhat.com> <1256234420.27706.5.camel@w-sridhar.beaverton.ibm.com> <20091023110438.GA20229@redhat.com> <1256310168.4443.2.camel@localhost.localdomain> <1256310765.4443.4.camel@localhost.localdomain> <1256315020.4443.12.camel@localhost.localdomain> <20091026200513.GA26623@redhat.com> <1256592889.10142.8.camel@localhost.localdomain> <20091027064302.GB26914@redhat.com> <1256654819.4753.6.camel@localhost.localdomain> <20091027152753.GA4622@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Sridhar Samudrala , Shirley Ma , David Stevens , kvm@vger.kernel.org, sri@linux.vnet.ibm.com, mashirle@linux.vnet.ibm.com To: "Michael S. Tsirkin" Return-path: Received: from e9.ny.us.ibm.com ([32.97.182.139]:46875 "EHLO e9.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752446AbZJ0QgR (ORCPT ); Tue, 27 Oct 2009 12:36:17 -0400 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by e9.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n9RGW25B005525 for ; Tue, 27 Oct 2009 12:32:02 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n9RGaLMp1237062 for ; Tue, 27 Oct 2009 12:36:21 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id n9RGaKtS031237 for ; Tue, 27 Oct 2009 12:36:21 -0400 In-Reply-To: <20091027152753.GA4622@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hello Michael, On Tue, 2009-10-27 at 17:27 +0200, Michael S. Tsirkin wrote: > Possibly GFP_ATOMIC allocations in vring_add_indirect are failing? > Is there a chance you are tight on guest memory for some reason? > with vhost, virtio does currently consume a bit more memory than > with userspace backend. I did see memory leak on host every time after exiting guest. I don't know where. Do you see it? Anyway after I reboot host and restart guest with large memory allocation, I do see performance improves to 3xxxMb/s, and occasionally reaches 40xxMb/s. But "queue full" still exists, I can avoid the problem by increasing send queue size from qemu. I will apply deferring skb allocation patch on guest to see any performance gain after your vhost patch. Thanks Shirley