Win7 host - 4.2.* - any x64 guest OS runs very slow

Discussions related to using VirtualBox on Windows hosts.
Post Reply
fiatpandas
Posts: 4
Joined: 30. Oct 2012, 20:17

Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by fiatpandas »

Hi All,

I'm having some performance issues with using x64 guests on my Win7 machine. Any VBox 4.2.* install has performance issues with x64 guests (they run around 4x-8x, maybe even 10x, slower than normal). I've tried Windows 7 x64, Ubuntu Server x64, and Linux Mint x64 guests, all running multiple times slower than 4.1.* install. PAE, VT extensions, paging all enabled. These performance issues do not occur when using at least version 4.1.22.

If it makes a difference, my processor is an i7-3612QM.

Anyone experiencing similar issues?

Edit: host is Windows 7 Professional 64 bit. 1 core enabled on the VM.
Last edited by fiatpandas on 30. Oct 2012, 20:45, edited 2 times in total.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by mpack »

fiatpandas wrote:If it makes a difference, my processor is an i7-3612QM.
No, that shouldn't make much difference. What may make a difference is whether your host OS is 32bit or 64bit. 64bit guests tend to run slower on a 32bit host. You should try assigning only one core.
fiatpandas
Posts: 4
Joined: 30. Oct 2012, 20:17

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by fiatpandas »

mpack wrote:
fiatpandas wrote:If it makes a difference, my processor is an i7-3612QM.
No, that shouldn't make much difference. What may make a difference is whether your host OS is 32bit or 64bit. 64bit guests tend to run slower on a 32bit host. You should try assigning only one core.
Should have said, my host is 64 bit, Windows 7 Professional. All the above tests I performed were with a single core, 100% execution cap.
gigalith
Posts: 4
Joined: 6. Nov 2012, 02:41

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by gigalith »

Sorry that I don't have any solution, but I am also experiencing the same or similar problem. I have Windows 7 Pro 64 bit running on a gigabyte GA-X58A-UD3R motherboard with an Intel Core i7 930 processor, 12 gigs ram. After updating Virtualbox from 4.1.22 to 4.2.2 and now to 4.2.4, my linux guests (xubuntu 12.04, LinuxMint 12 kde, and Archlinux kde (latest update) all run extremely slow. Also, tranferring files to shared folders on the host is also very slow - maybe a megabyte per minute or less. Curiously, a Windows 2000 guest does not seem to be affected; it may be a little slower, but nothing like the linux guests. The extension pack for each upgrade was installed and the guest additions for each guest also installed. I have not yet tried removing 4.2.4 and re-installing 4.1.22. Hardware virtualization is enabled in the host bios. So far, I am stumped. Thought perhaps the update from 4.2.2 to 4.2.4 would help, but didn't notice much, if any improvement. The Archlinux guest does seem to be better than the Mint guest, however, if that means anything.

Should have mentioned, all the linux guests are 64 bit. All worked great prior to the update. I have noticed no change in the performance of the Windows host system.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by Perryg »

Post the guests log file (as an attachment)
See Online Users Manual for the location of the file.
gigalith
Posts: 4
Joined: 6. Nov 2012, 02:41

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by gigalith »

My virtualbox log from the Linux Mint 12 guest is attached. The guest was shut down, started, and then shut down again, if it matters.
Attachments
VBox.log
(98.81 KiB) Downloaded 3 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: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by Perryg »

IOAPIC <integer> = 0x0000000000000000 (0)
What happens if you enable ioapic on this guest?
fiatpandas
Posts: 4
Joined: 30. Oct 2012, 20:17

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by fiatpandas »

gigalith wrote:Curiously, a Windows 2000 guest does not seem to be affected; it may be a little slower, but nothing like the linux guests.
Was it 32 or 64 bit? If 32bit, I wouldn't be surprised that it ran much faster than 64bit OSes. The dramatic speed reduction issue in 4.2.x seems to only affect 64bit OSes.
gigalith wrote:I have not yet tried removing 4.2.4 and re-installing 4.1.22.
I think that if you did downgrade to 4.1.x, you will experience normal speed with both 32 and 64bit OSes, speaking from experience. The problem seems to happen with any release in the 4.2.x series.

Also, for the record I've attached a log of Ubuntu Server 64 bit guest with 4.2.0 (I don't have one from the latest version because I was trying various 4.2.x releases to see if I could find where the issue originated). In any event, all 4.2 versions experience the same speed issues.
Attachments
VBox-1.log
(87.98 KiB) Downloaded 2 times
gigalith
Posts: 4
Joined: 6. Nov 2012, 02:41

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by gigalith »

[/quote]
Perryg wrote:IOAPIC <integer> = 0x0000000000000000 (0)
What happens if you enable ioapic on this guest?
That solved the problem! All three linux guest vms are back to normal, maybe even faster than before. Can't thank you enough. :D
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by mpack »

I'm surprised that a 64bit guest ran at all, without an IO APIC. Machines without an IO APIC have not been common AFAIK since 64bit started being pushed.
fiatpandas
Posts: 4
Joined: 30. Oct 2012, 20:17

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by fiatpandas »

Perryg wrote:What happens if you enable ioapic on this guest?
Cool, just enabled this with 4.2.4 and the x64 guests are back to normal.
gigalith
Posts: 4
Joined: 6. Nov 2012, 02:41

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by gigalith »

mpack wrote:I'm surprised that a 64bit guest ran at all, without an IO APIC. Machines without an IO APIC have not been common AFAIK since 64bit started being pushed.
All three of my linux x64 guests worked great under Virtualbox 4.1.22. I assume that IO APIC must have been enabled before. Strange that an upgrade to 4.2.* would change that setting. Nevertheless, I am very grateful for the advice that allowed me to get it all working again.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Any and all
Contact:

Re: Win7 host - 4.2.* - any x64 guest OS runs very slow

Post by michaln »

gigalith wrote:I assume that IO APIC must have been enabled before. Strange that an upgrade to 4.2.* would change that setting.
It wouldn't.

If it did change in either direction, we'd be getting tons of complaints from people whose Windows XP VMs suddenly stopped working.
Post Reply