Page fusion crashing VBox

Discussions related to using VirtualBox on Linux hosts.

Page fusion crashing VBox

Postby MKhaos7 » 20. May 2010, 02:14

Just installed VBox 3.2 final and tried to use Page Fusion.
I had two WindowsXP Sp3 32 bits staying around so I enabled page fusion on both. But then every time i tried to run both machines at the same time they hang.
Running just one at a time is fine, and disabling page fusion all goes Ok as well.

Host: Ubuntu Lucid 64 bits
Guests: Window s XP 32 bits (Sp3)
Guest additions fully instaleld in safe mode.


Attached are the logs for both VMs, the problem happened on logs 2 and 3.
Thanks.
Attachments
Machine2.zip
(45.46 KiB) Downloaded 7 times
Machine1.zip
(37.71 KiB) Downloaded 4 times
MKhaos7
 
Posts: 81
Joined: 6. Apr 2009, 16:19
Location: Brazil - Aracaju/SE
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, BSD

Re: Page fusion crashing VBox

Postby scottford » 21. May 2010, 18:18

Same here. Tried with win7 x64 host and 2008r2 guest. Memory ballooning is working fine, but if I enable page fusion the guest locks up and I have to reboot the host to get it back to normal. I also tried it with Ubuntu 10.04 x64 as the host and I get similar results with the same guest or even a win7 x64 guest. I haven't tried any 32 bit guests.
scottford
 
Posts: 2
Joined: 21. May 2010, 18:14
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows

Re: Page fusion crashing VBox

Postby BrightIdea » 22. May 2010, 17:27

Made the same experience: I was using 2 VMs created some time ago under VBox 3.0.4. Upgraded from 3.1.8 to 3.2.0 and manually ran "/etc/init.d/vboxdrv setup" to rebuild the kernel modules. Both VMs are Windows XP SP3 32bit and run fine (unmodified) under 3.2.0. When I enable Page Fusion on both VMs, the first VM runs fine but 30 seconds after starting the second VM, the first and some times also the second VM locks up.

"VBoxManage controlvm VMNAME poweroff" also hangs but "kill PID" (PID=process ID of the hanging VBoxHeadless process) stops the VMs in a way that they can be reconfigured/restarted (no need to reboot host).

Host system has an Intel Q9400 (Quad) with 8GB RAM running Ubuntu Jaunty (9.04 amd64) and I'm using VBoxHeadless to start the machines. ACPI, IOAPIC, VT-x, VTX-VPID and nested paging are enabled, PAE and large pages are disabled.

Any ideas on what I'm doing wrong here?
Last edited by BrightIdea on 26. May 2010, 13:39, edited 1 time in total.
BrightIdea
 
Posts: 11
Joined: 23. Jan 2010, 14:38
Location: Western Europe
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, OS/2, Chrome

Re: Page fusion crashing VBox

Postby Perryg » 22. May 2010, 17:48

How many processors are dedicated to the guest?
I tried this on a core2duo which is a single processor with 2 cores. Setting the processors to 2 of course gives me SMP but the true processor count was one.
I changed the processor count to one and the guests booted properly. I have not run the tests as yet but hope to later today or tomorrow.
Perryg
Site Moderator
 
Posts: 25942
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Page fusion crashing VBox

Postby BrightIdea » 22. May 2010, 18:05

Processor configuration of both VMs is like this
Code: Select all   Expand viewCollapse view
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None

Only running 1 VM works fine, problems start with the second VM
BrightIdea
 
Posts: 11
Joined: 23. Jan 2010, 14:38
Location: Western Europe
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, OS/2, Chrome

Re: Page fusion crashing VBox

Postby Perryg » 22. May 2010, 18:22

Don't know what to tell you. I have (2) XP pro 32 bit machines running with Page Fusion on.
Host is Ubuntu 10.04_x86-64 Allocated memory to guests is 512MB each
See Screen Shot.

PageFusion-Active.jpg
PageFusion-Active.jpg (146.01 KiB) Viewed 1439 times
Perryg
Site Moderator
 
Posts: 25942
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Page fusion crashing VBox

Postby BrightIdea » 22. May 2010, 18:30

This is good news as it works in your configuration. I plan to create 2 fresh VMs today and re-test. I'll post the results here including the log files.
BrightIdea
 
Posts: 11
Joined: 23. Jan 2010, 14:38
Location: Western Europe
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, OS/2, Chrome

Re: Page fusion crashing VBox

Postby scottford » 23. May 2010, 00:52

Switching to 1 cpu in the guest fixed all my issues. I can run with ballooning and page fusion without any issues.
scottford
 
Posts: 2
Joined: 21. May 2010, 18:14
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows

Re: Page fusion crashing VBox

Postby MKhaos7 » 24. May 2010, 18:44

In my tests I was using one guest with one CPU and the other with two cpus.
As it seens this is the issue I'll test with one cpu in each guest and post the result latter today.

Cheers
MKhaos7
 
Posts: 81
Joined: 6. Apr 2009, 16:19
Location: Brazil - Aracaju/SE
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, BSD

Re: Page fusion crashing VBox

Postby michael55123 » 25. May 2010, 02:05

Having the exact same issue with a linux 2.6.34 host, and Windows 7 guest. If I turn the CPU to 1 it's fine, anymore than 1 and I see a crash.
michael55123
 
Posts: 2
Joined: 25. May 2010, 02:00
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 7, Windows 2003, Linux

Re: Page fusion crashing VBox

Postby Perryg » 25. May 2010, 02:21

@michael55123,

How many processors do you have, (not cores), and how many did you select?
Perryg
Site Moderator
 
Posts: 25942
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX - Other

Re: Page fusion crashing VBox

Postby michael55123 » 25. May 2010, 10:10

I have 1 CPU, with 4 cores. I selected 1 cpu by doing a VBoxManage modifyvm vmname --cpu 1 .

Actually I'm seeing the same issue with just one CPU, it's just not as bad.
michael55123
 
Posts: 2
Joined: 25. May 2010, 02:00
Primary OS: Linux other
VBox Version: PUEL
Guest OSses: Windows 7, Windows 2003, Linux

Re: Page fusion crashing VBox

Postby MKhaos7 » 25. May 2010, 11:52

Yeap,

With just one core in each VM all seens normal.
And using VBoxManage metrics, i cann see that there is shared pages among the VMs.

So the issue is caused when running with more than one vcpu.
MKhaos7
 
Posts: 81
Joined: 6. Apr 2009, 16:19
Location: Brazil - Aracaju/SE
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, BSD

Re: Page fusion crashing VBox

Postby BrightIdea » 26. May 2010, 13:36

As two older WinXP VMs "randomly" hang with page fusion enabled, I created two new VMs and installed WinXP 32bit SP3. For the VM creation and XP installation I used defaults wherever possible. With those newly created VMs I could not reproduce the hang with page fusion enabled.

There are many differences between the new (working) and the old (hanging) XP virtual machines. As time permits, I will try to isolate the problem and post again in this thread.
BrightIdea
 
Posts: 11
Joined: 23. Jan 2010, 14:38
Location: Western Europe
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows, Linux, OS/2, Chrome


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: Google [Bot] and 6 guests