All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Ross Boylan <ross@biostat.ucsf.edu>
Cc: kvm@vger.kernel.org
Subject: Re: XP smp using a lot of CPU
Date: Wed, 13 May 2009 09:56:18 +0300	[thread overview]
Message-ID: <4A0A6F12.9000909@redhat.com> (raw)
In-Reply-To: <1242175298.15140.12.camel@iron.psg.net>

Ross Boylan wrote:
> I just installed XP into a new VM, specifying -smp 2 for the machine.
> According to top, it's using nearly 200% of a cpu even when I'm not
> doing anything.
>
> Is this real CPU useage, or just a reporting problem (just as my disk
> image is big according to ls, but isn't really)?
>
> If it's real, is there anything I can do about it?
>
> kvm 0.7.2 on Debian Lenny (but 2.6.29 kernel), amd64.  Xeon chips; 32
> bit version of XP pro installed, now fully patched (including the
> Windows Genuine Advantage stuff, though I cancelled it when it wanted to
> run).  
>
> Task manager in XP shows virtually no CPU useage.
>
> Please cc me on responses.
>
>   

I'm guessing Windows uses a pio port to sleep, which kvm doesn't 
support.  Can you provide kvm_stat output?

-- 
Do not meddle in the internals of kernels, for they are subtle and quick to panic.


  parent reply	other threads:[~2009-05-13  6:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13  0:41 XP smp using a lot of CPU Ross Boylan
2009-05-13  1:05 ` Elias Probst
2009-05-13  6:56 ` Avi Kivity [this message]
2009-05-14 14:10   ` Kevin Shanahan
2009-05-14 20:01   ` Ross Boylan
     [not found]     ` <20090515145651.GB6304@amt.cnet>
2009-05-15 15:41       ` Ross Boylan
2009-05-15 20:24         ` XP smp using a lot of CPU [SOLVED] Ross Boylan
2009-05-15 23:00           ` Brian Jackson
2009-05-13 20:23 ` XP smp using a lot of CPU Erik Rull
2009-05-17 21:35   ` Avi Kivity
2009-05-19 17:35     ` Erik Rull
2009-05-20 12:01       ` Avi Kivity
2009-05-20 20:00         ` Erik Rull
2009-05-24 11:42           ` Avi Kivity
2009-05-25 10:01             ` Erik Rull
2009-05-25 10:46               ` Avi Kivity
     [not found] ` <fupb74dtcl3kru3oo7UYAxe124vaj_firegpg@mail.gmail.com>
2009-05-14 10:25   ` Johannes Schlatow
2009-05-14 15:40   ` Ross Boylan

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=4A0A6F12.9000909@redhat.com \
    --to=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=ross@biostat.ucsf.edu \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.