From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:43980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPuNQ-0007OB-LJ for qemu-devel@nongnu.org; Wed, 10 Apr 2013 08:43:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPuNN-0007oc-SY for qemu-devel@nongnu.org; Wed, 10 Apr 2013 08:43:48 -0400 Received: from e7.ny.us.ibm.com ([32.97.182.137]:56752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPuNN-0007oU-OQ for qemu-devel@nongnu.org; Wed, 10 Apr 2013 08:43:45 -0400 Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 10 Apr 2013 08:43:44 -0400 Received: from d01relay03.pok.ibm.com (d01relay03.pok.ibm.com [9.56.227.235]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 5E43A38C801C for ; Wed, 10 Apr 2013 08:43:42 -0400 (EDT) Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r3AChg5b287974 for ; Wed, 10 Apr 2013 08:43:42 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r3AChgP1018051 for ; Wed, 10 Apr 2013 09:43:42 -0300 Message-ID: <51655E7D.2000308@linux.vnet.ibm.com> Date: Wed, 10 Apr 2013 08:43:41 -0400 From: "Michael R. Hines" MIME-Version: 1.0 References: <51645345.60005@linux.vnet.ibm.com> <51651817.1050703@redhat.com> In-Reply-To: <51651817.1050703@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] latest master: major slowdown (something spinning?) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: "qemu-devel@nongnu.org" Yes, it still happens at that commit string. Is there a specific test or trace I can provide to help track it down? - Michael On 04/10/2013 03:43 AM, Paolo Bonzini wrote: > Il 09/04/2013 19:43, Michael R. Hines ha scritto: >> *Here's the commit that causes the problem:* >> >> $ git checkout d185c094b404b4ff392b77d1244c0233da7d53bd >> qemu-char: eliminate busy waiting on can_read returning zero > Can you stil reproduce it after > > commit 1e885b25275fb6763eb947b1e53b2d6911b967a8 > Author: Paolo Bonzini > Date: Mon Apr 8 15:03:15 2013 +0200 > > qemu-char: really fix behavior on can_read = 0 > > ? > > Paolo > >> *Symptoms:* >> >> When the VM boots everything crawls and the host CPU is at 100%, >> messages are printing extremely slowly on the VM console >> and the VM is not making any boot progress......... printing kernel >> messages once a second or so....... >> >> Something in QEMU appears to be spinning. >> >> Here's my command line: >> >> qemu-system-x86_64 -enable-kvm -m 2048 -smp >> 2,sockets=1,cores=1,threads=1 -nodefconfig -rtc base=utc -no-shutdown >> disk.img -serial pty -monitor unix:/tmp/devguest,server,nowait -netdev >> type=tap,vhost=on,id=hostnet0,script=kvmifup.sh,downscript=kvmifdown.sh >> -device virtio-net-pci,netdev=hostnet0,mac=12:34:36:00:00:02 -usb >> -device usb-tablet,id=input0 -device >> virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 >> >> - Michael Hines >