qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Bug 1236809 <1236809@bugs.launchpad.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [Bug 1236809] [NEW] qemu-system-x86_64 takes 100% CPU
Date: Thu, 10 Oct 2013 11:04:42 +0200	[thread overview]
Message-ID: <20131010090442.GE10516@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <20131008115119.31036.81576.malonedeb@wampee.canonical.com>

On Tue, Oct 08, 2013 at 11:51:19AM -0000, chenlidong wrote:
> chenlidong@linux-0rsg:~/develop/qemu> ps -ef | grep qemu
> root     19030     1 14 19:00 ?        00:04:24 /usr/local/bin/qemu-system-x86_64 -name rhel6 -S -M pc-i440fx-1.6 -m 2048 -smp 1,sockets=1,cores=1,threads=1 -uuid 1925a96a-54b9-3c4a-dda0-6b42fdd0af2c -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/rhel6.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/libvirt/images/rhel6.img,if=none,id=drive-ide0-0-0,format=raw,cache=directsync -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 -drive if=none,id=drive-ide0-1-0,readonly=on,format=raw -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=21,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:b3:b8:53,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -device usb-tablet,id=input0 -vnc 127.0.0.1:0 -vga cirrus -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
> 
> i used perf top, the result is below:
> Samples: 57K of event 'cycles', Event count (approx.): 26336443124                                                                                                                           
>  15.38%  perf-22465.map                   [.] 0x00007f143b99c9c6
>   5.90%  qemu-system-x86_64               [.] phys_page_find
>   4.48%  qemu-system-x86_64               [.] address_space_translate_internal
>   3.30%  qemu-system-x86_64               [.] compute_all_subw
>   3.15%  qemu-system-x86_64               [.] check_regs
>   2.56%  qemu-system-x86_64               [.] tb_find_fast
>   2.34%  qemu-system-x86_64               [.] tb_find_slow

KVM is disabled - you are not using hardware virtualization extensions.
Add -enable-kvm to the command-line or make sure libvirt is using "kvm"
mode.

Stefan

      parent reply	other threads:[~2013-10-10  9:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-08 11:51 [Qemu-devel] [Bug 1236809] [NEW] qemu-system-x86_64 takes 100% CPU chenlidong
2013-10-09  0:50 ` [Qemu-devel] [Bug 1236809] " chenlidong
2013-10-09  1:05 ` chenlidong
2013-10-10  9:04 ` Stefan Hajnoczi [this message]

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=20131010090442.GE10516@stefanha-thinkpad.redhat.com \
    --to=stefanha@gmail.com \
    --cc=1236809@bugs.launchpad.net \
    --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).