Lousy VM performance depending on host OS?

Discussions about using Windows guests in VirtualBox.
Post Reply
Objekt
Posts: 21
Joined: 27. Sep 2010, 06:03
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP & 7

Lousy VM performance depending on host OS?

Post by Objekt »

Why are there huge VM performance differences with the same guest OS on different host OS's?

The best example is Netflix streaming. It is absolutely unwatchable when I try to use it through my Windows XP guest on an Ubuntu 10.04 host. Video skips and the audio stutters.

How is that possible?

Netflix streaming works fine on a Windows XP guest, as long as I use a Windows 7 host.

In all cases, I am running Virtualbox 4.0.4, and I have the 4.0.4 Guest Additions installed to the guest OS. Both VMs are set up with 128 MB video RAM, 2D and 3D acceleration enabled, 1 GB of system RAM assigned. So the only difference is the host OS. I don't get it.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Lousy VM performance depending on host OS?

Post by vbox4me2 »

Eventhough guests run virtualized they still use indirectly resources from the host, so it also depends how well a host deals with the real hardware including bugfree video drivers/gui.
Objekt
Posts: 21
Joined: 27. Sep 2010, 06:03
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP & 7

Re: Lousy VM performance depending on host OS?

Post by Objekt »

If that's the case, the Nvidia Linux drivers must be absolute crap.

Rendering a 2D video stream at roughly DVD quality is not something that should challenge today's hardware.

update:

Looks like this is fixed! I just upgraded to the latest Linux Nvidia drivers (260.19.44), and now Silverlight plays smoothly on my virtual Windows XP machine.

It's still a little wonky. For example, if I put the XP machine in "Fullscreen" mode while the Silverlight content is already playing, the VM promptly crashes. But I'll take what I can get.
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Lousy VM performance depending on host OS?

Post by vbox4me2 »

With nvidia its a different case, they keep 3 release platforms, 1 for os venders (MS), 1 for common flow and 1 for the CAD world, its best to use google with a release version to check if the 'beta' works for others.
Objekt
Posts: 21
Joined: 27. Sep 2010, 06:03
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP & 7

Re: Lousy VM performance depending on host OS?

Post by Objekt »

"CAD world?" You must be thinking of the Quadro drivers. Why would I want those?

And beta drivers? Again, I don't understand what you're getting at.

FWIW, my small triumph was short-lived. Ubuntu 10.04 has a long-standing inability to deal with current Nvidia drivers. Manually install newest Nvidia drivers = GUI crash on next boot. I had to go back to the 195.something Linux drivers.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Lousy VM performance depending on host OS?

Post by Perryg »

I don't have issues with nvida and Ubuntu. Never have.
I even run the latest and greatest from the PPA.
http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu
nvidia-270.29.png
nvidia-270.29.png (125.85 KiB) Viewed 2663 times
As for playing a stream in the guest, something that I am sure you have realized is you are really using the hosts RAM for memory instead of the GPU memory. I find that tweaking this helps some. 128MB is not always the best for the guest, One of my guests works at 32MB better than => 64MB
Also streaming is CPU intensive on a guest since the 3D/2D is software rendered. It should be a lot better once WDDM is released in VBox.
FrodoHobbits
Posts: 237
Joined: 18. Apr 2009, 08:20
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, QNX & Linux
Location: Radstock, UK

Re: Lousy VM performance depending on host OS?

Post by FrodoHobbits »

Perryg wrote:It should be a lot better once WDDM is released in VBox.
When?? :D
Objekt
Posts: 21
Joined: 27. Sep 2010, 06:03
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP & 7

Re: Lousy VM performance depending on host OS?

Post by Objekt »

Perryg wrote:I don't have issues with nvida and Ubuntu. Never have.
I even run the latest and greatest from the PPA.
http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu
Thanks, that turned out to be the key.

I used the PPA install method (add PPA to source, run apt-update, install from there) and I've been able to reboot with no GUI problems. Now using the 270.29 drivers as well.

What didn't work was, downloading a Linux drivers package from the Nvidia website (e.g. NVIDIA-Linux-x86-260.19.44.run) and attempting to install it at the command line. I would always get some kind of error during the install, then the GUI would pretend to work..until the next time I rebooted, in which case I'd have to choose either console login or low-graphics mode.

update:
Well, so much for that. I keep having random lockups. Didn't have those before installing the 270.29 drivers. Guess that's why they're "beta" drivers.

Is there some way I can roll back to the 260.something drivers?
Post Reply