Page 1 of 1

100% CPU with Windows XP on Debian Lenny Linux Host

PostPosted: 2. Aug 2010, 13:36
by chammers
Hello

My VirtualBox process constantly uses 100% CPU on the host system even if it is supposed to be idle.

I've migrated a vmware server 1 guest system .vdsk using qemu-img and "VBoxManage convertdd" to a VirtualBox OSE .vdi (after applying the Heise c't mergeIde Tool). Then I created a similar guest system with the VirtualBox GUI and bootet. The Windows XP Professional guest system boots fine and I could login and re-activate the Windows license. Everything works fine, just far to slow :-(

I'm using:
Host System: Debian Lenny with 2.6.18-6-686-bigmem kernel
Host Hardware: Sun Fire(tm) V65 with DualCore Xeon 2.8GHz and HyperThreading enabled
VirtualBox Version: 3.2.4-dfsg-1~bpo50+1 from Debian Backports
Guest System: Windows XP Professional
Configs: are attached

For testing I moved the guest.xml and .vdi to my Desktop with Debian Lenny, a more recent 2.6.32-bpo.5-686 kernel and the latest non-free VirtualBox binaries. The guest still sucked up 100% CPU.

I tried disabling IO ACPI but then Windows won't boot anymore (black screen).

Please don't suggest "reinstall Windows" as I'd rather continue using Windows under VMware then.
Except from that I'm open to any debugging hints! :)

thanks in advance,

-christian-

Re: 100% CPU with Windows XP on Debian Lenny Linux Host

PostPosted: 9. Aug 2010, 11:53
by vbox4me2
Check the HAL version used in XP, when it hits 100% cpu you often have the wrong HAL.

Re: 100% CPU with Windows XP on Debian Lenny Linux Host

PostPosted: 11. Aug 2010, 09:07
by MarkCranness
A link to HALu (used to change the HAL, if setting the driver in Device Manager doesn't work), and info here:
http://forums.virtualbox.org/viewtopic.php?f=1&t=24823&hilit=halu&start=15#p111502

These HALs require IO APIC enabled and may have host CPU usage problems:
ACPI Multiprocessor PC (HALu=ACPI Multiproccesor PC)
ACPI Uniprocessor PC (HALu=ACPI Uniproccesor PC)

This HAL doesn't care about IO APIC and will not have host CPU usage problems:
Advanced Configuration and Power Interface (ACPI) PC (HALu=ACPI PC)

If changing the HAL works for you, then please add your details to this bug ticket: Huge IO-APIC/guest SMP overhead with 32 bits guests (you will need to register a new account: Use the 'Register' link at the top-right of the bug ticket page.)