From: Paolo Bonzini <pbonzini@redhat.com>
To: Luigi Rizzo <rizzo@iet.unipi.it>
Cc: qemu-devel <qemu-devel@nongnu.org>, Alex Bligh <alex@alex.org.uk>
Subject: Re: [Qemu-devel] commit b1bbfe72 causes huge slowdown with no kvm
Date: Wed, 20 Nov 2013 10:41:22 +0100 [thread overview]
Message-ID: <528C83C2.2040903@redhat.com> (raw)
In-Reply-To: <CA+hQ2+iknsju27tHW1G=DONGvi0+oRHjGkK56FvcKN=vSdmFWg@mail.gmail.com>
Il 20/11/2013 00:00, Luigi Rizzo ha scritto:
> I recently found out that without kvm enabled, and especially
> with -smp 2 or greater, qemu becomes incredibly slow
> (to the point that you can see kernel messages in the
> quest print one character at a time).
>
> This happens with a Linux host (even with -smp 1)
> and with FreeBSD host (in this case -smp 2 or greater;
> -smp 1 seems to work fine there).
I could not reproduce it; the profile here seems normal, too:
24,69% perf-3281.map [.] 0x00007f4ab5ac9903
14,18% qemu-system-x86_64 [.] cpu_x86_exec
2,67% libglib-2.0.so.0.3800.1 [.] g_source_iter_next
2,63% qemu-system-x86_64 [.] tcg_optimize
2,47% qemu-system-x86_64 [.] helper_pcmpeqb_xmm
2,28% qemu-system-x86_64 [.] phys_page_find
1,92% qemu-system-x86_64 [.] address_space_translate_internal
1,53% qemu-system-x86_64 [.] tcg_liveness_analysis
1,40% qemu-system-x86_64 [.] tcg_reg_alloc_op
1,17% qemu-system-x86_64 [.] helper_psubb_xmm
0,97% qemu-system-x86_64 [.] disas_insn
0,96% qemu-system-x86_64 [.] cpu_x86_handle_mmu_fault
0,92% qemu-system-x86_64 [.] tcg_out_opc
0,92% qemu-system-x86_64 [.] helper_pmovmskb_xmm
0,91% qemu-system-x86_64 [.] tlb_set_page
0,75% qemu-system-x86_64 [.] address_space_translate
0,74% qemu-system-x86_64 [.] ldq_phys
0,61% qemu-system-x86_64 [.] tcg_gen_code
0,58% qemu-system-x86_64 [.] helper_le_ldq_mmu
0,56% qemu-system-x86_64 [.] helper_ctz
This is on Linux, -smp 2, booting a RHEL6.4 guest.
Paolo
next prev parent reply other threads:[~2013-11-20 9:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-19 23:00 [Qemu-devel] commit b1bbfe72 causes huge slowdown with no kvm Luigi Rizzo
2013-11-20 9:41 ` Paolo Bonzini [this message]
2013-11-20 11:00 ` Luigi Rizzo
2013-11-20 11:19 ` Paolo Bonzini
2013-11-20 13:47 ` Alex Bligh
2013-11-20 13:55 ` 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=528C83C2.2040903@redhat.com \
--to=pbonzini@redhat.com \
--cc=alex@alex.org.uk \
--cc=qemu-devel@nongnu.org \
--cc=rizzo@iet.unipi.it \
/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).