All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Barrett <dbarrett@quinthar.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] AMD 100% CPU bug; patch available?
Date: Tue, 12 Aug 2008 09:36:08 -0700	[thread overview]
Message-ID: <48A1BBF8.30407@quinthar.com> (raw)

Can anybody confirm that qemu works on an AMD processor with a Linux 
host and Linux guest (ideally Ubuntu 8.04 in both cases) without using 
100% CPU?  (qemu process on the host uses 100% CPU despite all processes 
on the guest being idle.)

Or is there a known bug that qemu with a Ubuntu guest always uses 100% 
CPU on AMD Ubuntu hosts?  If so, is there a patch or workaround for it?

I don't know this for certain, but it's the only pattern I can see: I've 
run qemu on a bunch of laptops and servers over the past 12 months -- 
often with the exact same image and exact same commands -- and some 
hosts see the guest VM use limited CPU, and others a solid 100%.  This 
seems to be the case whether or not -kernel-kqemu is used.

At first I thought it was an Ubuntu/Fedora Core issue, as I was running 
Ubuntu on laptops and FC4 on servers (and I only saw this problem on 
servers).  But I just got a new Ubuntu server and the problem remains.

Now I realize there's another commonality: my servers have been 
AMD-based, whereas laptops were Intel based.  With this theory I looked 
through the user forum and saw a strong correlation between reports of 
100% CPU and AMD processors.

Is this old news or a debunked theory?

Is there some tool like CPUIdle I should be running?  Any suggestions 
for how to start debugging the issue?

Thanks!

-david

             reply	other threads:[~2008-08-12 16:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 16:36 David Barrett [this message]
2008-08-12 17:19 ` [Qemu-devel] AMD 100% CPU bug; patch available? Rick Vernam
2008-08-12 20:31   ` David Barrett
2008-08-12 18:17 ` Anthony Liguori

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=48A1BBF8.30407@quinthar.com \
    --to=dbarrett@quinthar.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 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.