kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tomasz Chmielewski <mangoo@wpkg.org>
To: kvm@vger.kernel.org
Subject: 0.11: SMP guests using one host CPU only?
Date: Tue, 20 Oct 2009 11:03:59 +0200	[thread overview]
Message-ID: <4ADD7CFF.1080003@wpkg.org> (raw)

On a 8 CPU host, I created a guest with 4 CPUs (-smp 4).

Unfortunately, the guest only uses one host CPU.
For example, running "cat /dev/urandom | gzip -9 >/dev/null &" several 
times on this guest causes load on only one host CPU.

Is it expected?

The host is running 2.6.32-rc5 and qemu-kvm-0.11. I also tried 2.6.31.5 
with qemu-kvm-0.11 with the same result.


I have another machine, running 2.6.24 kernel, where it works just fine 
(running several CPU-intensive tasks on a guest result in several host 
CPUs being loaded).



-- 
Tomasz Chmielewski
http://wpkg.org

             reply	other threads:[~2009-10-20  9:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-20  9:03 Tomasz Chmielewski [this message]
2009-10-20  9:41 ` 0.11: SMP guests using one host CPU only? Avi Kivity
2009-10-20 10:17   ` Tomasz Chmielewski
2009-10-20 13:16     ` Avi Kivity
2009-10-20 13:19       ` Tomasz Chmielewski
2009-10-20 13:21         ` Avi Kivity
2009-10-20 13:48           ` Tomasz Chmielewski
2009-10-22  7:05             ` Avi Kivity
2009-10-22  9:28               ` Tomasz Chmielewski
2009-10-22 10:51                 ` Avi Kivity

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=4ADD7CFF.1080003@wpkg.org \
    --to=mangoo@wpkg.org \
    --cc=kvm@vger.kernel.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).