SMP failures

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Marian Kechlibar
Posts: 18
Joined: 26. Apr 2009, 12:35
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

SMP failures

Post by Marian Kechlibar »

Hello,

I have a Windows XP guest running on openSuse host (kernel 2.6.30). The processor is Intel Core2Quad.
The Windows XP guest has the correct HAL version (halmacpi.dll). If I setup more than 1 virtual processor
in the System properties of the guest, the Task Manager shows multiple cores, which is OK.

However, as soon as I set more than 1 virtual processor, the guest system starts to behave strangely in the next startup.

1. Every other startup ends abnormally - the Windows startup screen just hangs, and the log is full of messages Async IO thread probably stuck ... I am attaching the log.

2. If Windows manages to start correctly (that is, in 50% of occassions), I try to compile a project in Eclipse, with 2 parallel builds. As the "make" starts, the Windows guest crashes into BSOD, with message MEMORY MANAGEMENT. Therefore, I cannot effectively work with more than 1 processor. I am attaching the log as well, but it does not show anything suspicious.

3. Last night, I tried to move a 600 MB ISO file from a shared folder into the guest's own virtual hard drive, using Explorer in the guest Windows. It took 40 minutes to finish! I read about painful slowness of shared folders before; therefore, I tried to drop the network connection, which did not help at all.

Best regards

Marian
Attachments
VBox.log.2processors.memorymanagementbluescreen_whencompiling.log
The log for the BSOD crash.
(54.31 KiB) Downloaded 7 times
VBox.log.2processors.didnotcompletelystartup.log.gz
This is the log full of ATA errors. It is GZIPped, as it is greater than 128 kB.
(14.58 KiB) Downloaded 5 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: SMP failures

Post by Perryg »

Do you have I/O-APIC turned on?
Marian Kechlibar
Posts: 18
Joined: 26. Apr 2009, 12:35
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: SMP failures

Post by Marian Kechlibar »

Perryg wrote:Do you have I/O-APIC turned on?
Yes, I do.
graysky
Posts: 58
Joined: 14. Apr 2009, 22:44
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: WIndowsXP, Linux64

Re: SMP failures

Post by graysky »

Not to hijack your thread, but I'm running an XP Pro guest OS on my Arch Linux x86_64 (kernel 2.6.30) host and have also observed some really quirky behaviors. Mainly, the guest OS is very choppy and takes much longer to accomplish tasks with 2, 3, or 4 CPUs enabled than it does with just 1. Even booting takes 2-3x longer :(

My host machine is an X3360 (Xeon quad). I don't think SMP is ready for primetime use just yet. Can others post their feedback using it? Are you guys experiencing the same slow down as I am or is it just me :)
Marian Kechlibar
Posts: 18
Joined: 26. Apr 2009, 12:35
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: SMP failures

Post by Marian Kechlibar »

graysky wrote:Mainly, the guest OS is very choppy and takes much longer to accomplish tasks with 2, 3, or 4 CPUs enabled than it does with just 1. Even booting takes 2-3x longer :(
... Are you guys experiencing the same slow down as I am or is it just me :)
Hi, I noticed similar behavior, but I did not measure it exactly. Surely the booting took longer. Could it be that the CPUs are fighting with one another for access to disk drives?

----

Sun VBox developers: anyone interested in the logs I posted?
anblasko
Posts: 6
Joined: 2. Jul 2009, 10:20
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP

Re: SMP failures

Post by anblasko »

I have also same symptoms , linux host, XP guest. On 2 core host, if I enable 2 cores for guest I got 100% per core on host even with guest on idle and guest becomes badly responsive (time on guest moves at least 5 or more times slower). When I revert to 1 core everything becomes normal.
poup99
Posts: 2
Joined: 4. Jul 2009, 23:54
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: WIndows 7, Ubuntu, Debian, Smoothwall, windows 2000, windows xp

Re: SMP failures

Post by poup99 »

I am having the same problem but with a windows 7 64 bits guest in an Ubuntu 64 bits host with VB 3.0. The processor is a phenom x4 940. If i use 1 processor i am having a decent performance but when i select more then 1 processor the performance is slowed to near unusable.
twistedlincoln
Posts: 86
Joined: 17. Dec 2008, 17:08
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: Nexradix
Contact:

Re: SMP failures

Post by twistedlincoln »

I'm having similar problems. Guest takes ~ten minutes to boot with multiple CPUs, but only ~20 seconds when only a single CPU. Both the guest and the host are GNU/Linux.

Running VB 3.0 final.
nbi
Posts: 19
Joined: 6. Jul 2009, 07:24
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP32, XP64, WIN7-64

Re: SMP failures

Post by nbi »

My XP guest under Debian Lenny hard-locks with more than one CPU. XP is very choppy which is most noticeable with the audio. All problems disappear when configured for one CPU.
mobrien118
Posts: 4
Joined: 22. Jul 2009, 15:40
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Fedora, FreeBSD, OpenSolaris, OpenSUSE, PC-BSD, Windows Server 2003,2008 beta

Re: SMP failures

Post by mobrien118 »

I agree with all of these posts, and am trying to find a way to switch my XP kernel back to the uniprocessor one. The (virtual) system is unusable in its current state.
graysky
Posts: 58
Joined: 14. Apr 2009, 22:44
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: WIndowsXP, Linux64

Re: SMP failures

Post by graysky »

@mobrien118 - you can try the method described in this thread to do it. Your second option is to just reinstall the guest which w/ windows blows since you have to reinstall/reconfigure all your software.
Post Reply