Sunday, February 21st, 2010, 11:07 am | Computer, Experiments, Tutorials, Virtual Machines

Assessing Virtual Machine Performance: #1 Microsoft Virtual PC

In this series, I’m going to focus on comparing different Virtual Machines running Windows and their performance regarding different tasks such as single-threaded CPU-only applications, multi-threaded programs or even games requiring hardware 3D acceleration.

This article will show you when and for what to use Microsoft Virtual PC and the XP mode that comes with Windows 7.

The first thing to mention is the fact that Virtual PC requires hardware-assisted virtualization which must be supported by both CPU and mainboard. Many older and mainstream mainboards do not include this function and thus render the user unable to use Virtual PC. Most other Virtual Machines can profit from virtualization, but do not require it.

xpmode_window

A nice feature Virtual PC has is that it can be directly embedded into the host OS (Windows 7). Like in other VMs, you can launch XP Mode normally in its own window with its own desktop and stuff, but all the programs you installed in XP Mode will be directly available from the Windows 7 start menu. Just click the shortcut, wait a few seconds for the VM to boot, and you will see your application running in an Windows XP environment, but the window is on your normal Windows 7 desktop.

Performance:

Settings:

CPU count: 1 (not adjustable)

RAM: 512MB (not adjustable)

GPU acceleration: no

Basically, Virtual PC doesn’t leave you the option to change any settings for your Virtual Machine, but if you really want to do so, you can edit the configuration file manually. Just open it with notepad and change the settings: C:\Users\Lennart\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines\Windows XP Mode.vmc

Since there is just one CPU and no graphics acceleration, I decided to test the only thing I can, CPU performance. I ran SuperPI first on the VM and then on my native Windows 7 and here is what you get:

xpmode_superpi

The virtual Windows XP took just 0,848 longer than the native Windows 7, meaning a performance loss of 3.9%. This are really good values that basically enable you to work with applications running in the virtual machine as if they were running natively and you shouldn’t feel any slowdown (except for multi-threaded work such as video encoding).

All in all, Microsoft Virtual PC enables you to run old programs that can’t run on Windows 7 for some reason without any major loss in performance. Since there is no GPU support, you can’t use it for gaming, not even some very old games I tried were running. But if you just want to work, XP Mode will be a  good choice.

VN:F [1.0.7_345]
Rating: 8.5/10 (2 votes cast)



Comments

Click here to read or write comments