* [Qemu-devel] AMD 100% CPU bug; patch available?
@ 2008-08-12 16:36 David Barrett
2008-08-12 17:19 ` Rick Vernam
2008-08-12 18:17 ` Anthony Liguori
0 siblings, 2 replies; 4+ messages in thread
From: David Barrett @ 2008-08-12 16:36 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] AMD 100% CPU bug; patch available?
2008-08-12 16:36 [Qemu-devel] AMD 100% CPU bug; patch available? David Barrett
@ 2008-08-12 17:19 ` Rick Vernam
2008-08-12 20:31 ` David Barrett
2008-08-12 18:17 ` Anthony Liguori
1 sibling, 1 reply; 4+ messages in thread
From: Rick Vernam @ 2008-08-12 17:19 UTC (permalink / raw)
To: qemu-devel
I'm not so sure there is such a bug - I've been running qemu on AMD 3700
laptop for years w/o that, or much of any other issue (except once upon a
time an ACPI issue w/ windows guest causing host cpu to peg 100%).
I run gentoo host + various windows/linux guests.
points of interest may (or may not) be details such as host kernel
configuration? qemu version? qemu options used? built yourself or
pre-packaged?
I don't claim to be able to help you solve the problem, but there's not much
here to work with...
On Tuesday 12 August 2008 11:36:08 am David Barrett wrote:
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] AMD 100% CPU bug; patch available?
2008-08-12 16:36 [Qemu-devel] AMD 100% CPU bug; patch available? David Barrett
2008-08-12 17:19 ` Rick Vernam
@ 2008-08-12 18:17 ` Anthony Liguori
1 sibling, 0 replies; 4+ messages in thread
From: Anthony Liguori @ 2008-08-12 18:17 UTC (permalink / raw)
To: qemu-devel
David Barrett wrote:
> 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.
Do you still see this if you use -no-kqemu?
Regards,
Anthony Liguori
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] AMD 100% CPU bug; patch available?
2008-08-12 17:19 ` Rick Vernam
@ 2008-08-12 20:31 ` David Barrett
0 siblings, 0 replies; 4+ messages in thread
From: David Barrett @ 2008-08-12 20:31 UTC (permalink / raw)
To: qemu-devel
Aha, figured it out. The tip was in dmesg on the guest:
> DMI not present or invalid.
> ACPI: RSDP signature @ 0xC00FB010 checksum 0
> ACPI: RSDP 000FB010, 0014 (r0 QEMU )
> ACPI: RSDT 07FF0000, 002C (r1 QEMU QEMURSDT 1 QEMU
> 1)
> ACPI: FACP 07FF002C, 0074 (r1 QEMU QEMUFACP 1 QEMU
> 1)
> ACPI: DSDT 07FF0100, 0832 (r1 BXPC BXDSDT 1 INTL 20061
> 109)
> ACPI: FACS 07FF00C0, 0040
> ACPI: APIC 07FF0938, 0040 (r1 QEMU QEMUAPIC 1 QEMU
> ACPI: no DMI BIOS year, acpi=force is required to enable ACPI
> ACPI: Disabling ACPI support
Adding acpi=force to the kernel boot line fixed it up.
(Though strangely, even after adding acpi=force to the kernel boot line,
it still dumps this exact same message -- odd. At least the problem
went away.)
Thanks for the help!
-david
Rick Vernam wrote:
> I'm not so sure there is such a bug - I've been running qemu on AMD 3700
> laptop for years w/o that, or much of any other issue (except once upon a
> time an ACPI issue w/ windows guest causing host cpu to peg 100%).
> I run gentoo host + various windows/linux guests.
>
> points of interest may (or may not) be details such as host kernel
> configuration? qemu version? qemu options used? built yourself or
> pre-packaged?
> I don't claim to be able to help you solve the problem, but there's not much
> here to work with...
>
> On Tuesday 12 August 2008 11:36:08 am David Barrett wrote:
>> 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
>
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-08-12 20:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-12 16:36 [Qemu-devel] AMD 100% CPU bug; patch available? David Barrett
2008-08-12 17:19 ` Rick Vernam
2008-08-12 20:31 ` David Barrett
2008-08-12 18:17 ` Anthony Liguori
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).