From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shirley Ma Subject: Re: vhost-net patches Date: Tue, 27 Oct 2009 07:46:59 -0700 Message-ID: <1256654819.4753.6.camel@localhost.localdomain> References: <20091022131332.GB6961@redhat.com> <1256232224.6601.17.camel@localhost.localdomain> <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> 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 e1.ny.us.ibm.com ([32.97.182.141]:41362 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753892AbZJ0Oq6 (ORCPT ); Tue, 27 Oct 2009 10:46:58 -0400 Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by e1.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n9REjR3E019401 for ; Tue, 27 Oct 2009 10:45:27 -0400 Received: from d01av01.pok.ibm.com (d01av01.pok.ibm.com [9.56.224.215]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n9REl2iY066458 for ; Tue, 27 Oct 2009 10:47:03 -0400 Received: from d01av01.pok.ibm.com (loopback [127.0.0.1]) by d01av01.pok.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id n9REl2d8024915 for ; Tue, 27 Oct 2009 10:47:02 -0400 In-Reply-To: <20091027064302.GB26914@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Hello Michael, On Tue, 2009-10-27 at 08:43 +0200, Michael S. Tsirkin wrote: > At some point my guest had a runaway nash-hotplug process > consuming 100% CPU. Could you please verify this > does not happen to you? What I have found that the start_xmit stopped and restarted too often. There is no vring descriptor available for adding the new buf. The buf release is not able to keep up after vhost patch? I saw lots of "Unexpected full queue" from dmesg. I haven't had time to debug it yet. You might have some idea here? /* This can happen with OOM and indirect buffers. */ if (unlikely(capacity < 0)) { netif_stop_queue(dev); dev_warn(&dev->dev, "Unexpected full queue\n"); if (unlikely(!vi->svq->vq_ops->enable_cb(vi->svq))) { vi->svq->vq_ops->disable_cb(vi->svq); netif_start_queue(dev); goto again; } return NETDEV_TX_BUSY; } Thanks Shirley