From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPplh-0002WL-Lh for qemu-devel@nongnu.org; Wed, 10 Apr 2013 03:48:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPplg-0000Qc-Lr for qemu-devel@nongnu.org; Wed, 10 Apr 2013 03:48:33 -0400 Received: from mail-bk0-x22e.google.com ([2a00:1450:4008:c01::22e]:52524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPpgl-0006so-7o for qemu-devel@nongnu.org; Wed, 10 Apr 2013 03:43:27 -0400 Received: by mail-bk0-f46.google.com with SMTP id je9so65864bkc.5 for ; Wed, 10 Apr 2013 00:43:25 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51651817.1050703@redhat.com> Date: Wed, 10 Apr 2013 09:43:19 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <51645345.60005@linux.vnet.ibm.com> In-Reply-To: <51645345.60005@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 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: "Michael R. Hines" Cc: "qemu-devel@nongnu.org" 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