qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: jinho hwang <hwang.jinho@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Significant slowdown after qemu-kvm-1.2.0
Date: Tue, 02 Jul 2013 01:48:17 +0200	[thread overview]
Message-ID: <51D21541.5070707@suse.de> (raw)
In-Reply-To: <CAPQGAnG-BDqdy5q7G3o8TG050rvt4+ue5AQTw6Qf+sTaB--Ucw@mail.gmail.com>

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 something
> in the command-line?
> 
> sudo qemu-system-x86_64 -name vm -m 1g -hda /home/jinho/virt/vms/vm1.img
> -device e1000,netdev=net0,mac=00:0c:29:f0:bc:33 -netdev tap,id=net0 -vnc :1

Yes, you are still missing -enable-kvm on the QEMU command line, or
alternatively the more modern -machine accel=kvm.

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 <pbonzini@redhat.com
> <mailto:pbonzini@redhat.com>> wrote:
> 
>     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 switched
>     > from 1.2.0 to qemu-kvm-1.5.0 (same for 1.3.0~).
> 
>     There is no qemu-kvm 1.5.0.  You are using qemu 1.5.0.
> 
>     > After that, my VM slows
>     > down significantly including booting and execution. Also, sometimes
>     > 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 need
>     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 was
>     >
>     > ./configure --prefix=/usr
>     --target-list=x86_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=net0,mac=00:0c:29:f0:bc:33 -netdev
>     tap,id=net0 -vnc
>     > 135.207.127.181:1 <http://135.207.127.181:1>
>     <http://135.207.127.181:1>
> 
>     You are not using kvm.  Add --enable-kvm to the command line.
> 
>     Paolo
> 


-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2013-07-01 23:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-01 22:24 [Qemu-devel] Re: Significant slowdown after qemu-kvm-1.2.0 jinho hwang
2013-07-01 23:48 ` Andreas Färber [this message]
2013-07-02 12:47   ` [Qemu-devel] " jinho hwang
  -- strict thread matches above, loose matches on Subject: below --
2013-07-01 21:51 jinho hwang
2013-07-01 21:54 ` Paolo Bonzini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51D21541.5070707@suse.de \
    --to=afaerber@suse.de \
    --cc=hwang.jinho@gmail.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).