From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40923) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Utnpa-00048g-Az for qemu-devel@nongnu.org; Mon, 01 Jul 2013 19:48:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtnpX-0007Kz-7Y for qemu-devel@nongnu.org; Mon, 01 Jul 2013 19:48:26 -0400 Received: from cantor2.suse.de ([195.135.220.15]:51059 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtnpW-0007Km-Un for qemu-devel@nongnu.org; Mon, 01 Jul 2013 19:48:23 -0400 Message-ID: <51D21541.5070707@suse.de> Date: Tue, 02 Jul 2013 01:48:17 +0200 From: =?ISO-8859-1?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Significant slowdown after qemu-kvm-1.2.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jinho hwang Cc: Paolo Bonzini , qemu-devel Hi, Am 02.07.2013 00:24, schrieb jinho hwang: > Thank you for your reply. I tried qemu-1.5.0 with --enable-kvm, but > there is still a big difference between qemu-kvm-1.2.0 and qemu-1.5.0. > They both use the same command line to create VM. Am I missing somethin= g > in the command-line? >=20 > sudo qemu-system-x86_64 -name vm -m 1g -hda /home/jinho/virt/vms/vm1.im= g > -device e1000,netdev=3Dnet0,mac=3D00:0c:29:f0:bc:33 -netdev tap,id=3Dne= t0 -vnc :1 Yes, you are still missing -enable-kvm on the QEMU command line, or alternatively the more modern -machine accel=3Dkvm. Regards, Andreas P.S. Please avoid top-posting and HTML on the mailing list. > On Mon, Jul 1, 2013 at 5:54 PM, Paolo Bonzini > wrote: >=20 > Il 01/07/2013 23:51, jinho hwang ha scritto: > > Hi Guys, > > > > I am new to kvm development (used to work on Xen). I used > qemu-kvm-1.2.0 > > first, and then due to pci memory size (x64 bit support), I switc= hed > > from 1.2.0 to qemu-kvm-1.5.0 (same for 1.3.0~). >=20 > There is no qemu-kvm 1.5.0. You are using qemu 1.5.0. >=20 > > After that, my VM slows > > down significantly including booting and execution. Also, sometim= es > > kernel messages "CPU stuck for x seconds" show in dmesg. I think = CPU > > scheduling has been changed or should be set up properly, but I > have no > > clue for now. Can anyone help me to figure out this? I really nee= d > some > > fast VMs as I used to run with qemu-kvm-1.2.0. > > > > I am currently running ubuntu-12.10_64 in VM, and my configure wa= s > > > > ./configure --prefix=3D/usr > --target-list=3Dx86_64-linux-user,x86_64-softmmu > > > > sudo qemu-system-x86_64 -name vm -m 1g -hda > /home/jinho/virt/vms/vm1.img > > -device e1000,netdev=3Dnet0,mac=3D00:0c:29:f0:bc:33 -netdev > tap,id=3Dnet0 -vnc > > 135.207.127.181:1 > >=20 > You are not using kvm. Add --enable-kvm to the command line. >=20 > Paolo >=20 --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg