Archive for February, 2010

Monday, February 22nd, 2010, 7:06 pm | Computer, Hardware, Information, Software, Virtual Machines, Windows

Assessing Virtual Machine Performance

If you want to try a new operating system, but don’t want to put your computer and data to the risk of being corrupted, virtual machines can come in handy. They are small programs simulating to be a completely independent system with CPU, GPU, memory, HDD, DVD drive and so on and can run another operating system parallel to the one you’re actually using.

There are three major virtual machines out there: VMware Player, Sun VirtualBox and Microsoft VirtualPC. I took a look at all of them and compared their strengths and weaknesses. If you want to read the full review, have a look at the posts below:

Assessing Virtual Machine Performance: #1 Microsoft Virtual PC

Assessing Virtual Machine Performance: #2 Sun Virtual Box

Assessing Virtual Machine Performance: #3 VMware Player

I will also write a short summary of each VM in this post, but for now the detailed reviews should be enough.

VN:F [1.0.7_345]
Rating: 9.0/10 (1 vote cast)



No Comments »


Sunday, February 21st, 2010, 1:53 pm | Computer, Experiments, Gaming, Hardware, Software, Virtual Machines, Windows

Assessing Virtual Machine Performance: #3 VMware Player

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 VMware Player.

VMware Player is quite similar to Sun Virtual Box. You can also configure almost everything, from CPU count over memory to graphics acceleration. VMware Player can’t assign more cores than the computer actually has to the VM, but features better hardware graphics acceleration and up to 256MB of video memory. This also enables Windows 7 to run Aero and the glass effects smoothly.

vmware_window

I installed Windows 7 64-bit in the VM and compared the performance to my native Windows 7 64-bit. Like in VirtualBox, hardware acceleration is supported, but not required. The installation is even easier than in VirtualBox: Tell VMware Player which OS you plan to install, and it automatically suggests hardware configuration and manages the installation process by clicking the right buttons. After installation, it will install the VMware tools that include 3D driver support and other programs that make using the VM more comfortable.

A nice function that both VirtualBox and VMware Player support is the option to assign devices either to the host OS or the virtual one. This enables the user to connect two mice and keyboards and assign them to host and virtual OS. Now the virtual OS can be moved to a second screen and both users can use the computer simultaneously.

Performance:

Settings:

CPU count: 2

RAM: 1500MB

GPU acceleration: yes, 256MB, DirectX 9

First of all, the Windows 7 System Rating shows that both CPU and GPU performance in the VM are quite good, only the memory is a bit too slow:

vmware_windowsrating

To test how strong the VM really is, I ran SuperPI and got these results: It took the VM 0.773 seconds longer to complete the calculation, which equals a performance loss of 3.3%. This is a quite good result, similar to Microsoft Virtual PC, but not as good as VirtualBox.

vmware_superpi

Since the graphics acceleration really seems to work here, I tried some games to prove it. Older games such asCall of Duty, Couter-Strike 1.6 and Civilization were running nicely, Warcraft 3 had some texturing problems, and quite new games like Call of Duty 5 – World at War didn’t really run (I got around 4 FPS).

vmware_cod1 vmware_civ4

All in all, VMware Player is quite good in all fields: CPU performance, GPU performance and ease of use (installation and VMware tools). Moreover, working with it felt smoother than in VirtualBox or Virtual PC, but that may be due to Aero. This means one can work with VMware Player and even play older games. Regarding the possibility to connect keyboard and mouse to the VM and moving it to a second screen basically enables you to create a second, virtual computer that allows another user to work, play or watch movies on the same hardware at the same time.

VN:F [1.0.7_345]
Rating: 10.0/10 (1 vote cast)



1 Comment »


Sunday, February 21st, 2010, 12:28 pm | Computer, Experiments, Gaming, Hardware, Software, Tutorials, Virtual Machines, Windows

Assessing Virtual Machine Performance: #2 Sun Virtual Box

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 Sun VirtualBox.

For these tests, I used a quite uncommon configuration: I ran a virtual Windows 7 on my native Windows 7. Most users probably won’t do this, but there is a reason why I chose this OS configuration: Sun VirtualBox allows you to use more CPU cores than you actually have.

virtualbox_window

The OS installation with Virtual Box is quite easy, just insert your install DVD into the real drive, create a new VM with the hardware configuration you like and tell VirtualBox which OS you’re planning to install. Then allocate your DVD to the VM and start the installation. Worked greatly with Linux, Windows XP and Windows 7 and VirtualBox automatically installed its tools to enable automatic mouse grabbing and this kind of stuff.

In contrast to Microsoft Virtual PC, VirtualBox comes with GPU acceleration, but only allows you to use up to 128MB of video memory. Moreover, the drivers are still beta, so the performance is not as good as you would like it to be.

Performance:

For this test, I didn’t choose settings that any serious user would try, but decided to test the option of using 8 cores.

virtualbox_settings

Settings:

CPU count: 8

RAM: 2048MB

GPU acceleration: yes, 128MB video memory

I searched for a benchmarking program that can use any number of threads and found wPrime. Since it can be scaled to 4 or 8 cores, it was capable of running on both my real quad-core and on the virtual octo-core and still using all the cores.

wprime_4cores

wprime_8cores

The virtual octo-core was 0.303 seconds slower, which equals 1.9% performance loss. This is quite surprising when you consider that four of the cores are just simulated and the real OS and processor have to split up the work somehow. These results are even better than the ones I got from Microsoft Virtual PC where the performance loss was about 3.9%.

Hardware graphics acceleration should be there, but don’t expect too much. The drivers are still beta, the video memory is just 128MB and the graphics performance of VMs has never been close to the CPU performance. Unfortunately, I couldn’t get the DirectX acceleration to work, neither on Windows 7 64-bit nor on Windows XP 32-bit. That’s a pity because the only VM supporting graphics acceleration is VMware Player then.

All in all, VirtualBox is a really nice tool due to its possiblities of configuration such as using 8 cores, its easy installation and the CPU performance. There is no such feature as direct integration into the host OS as with Virtual PC, but nobody would expect such a feature, and the graphics power isn’t that awesome either, but still better than other VMs supplying just a standard VGA adapter without hardware acceleration or DirectX support.

VN:F [1.0.7_345]
Rating: 0.0/10 (0 votes cast)



1 Comment »


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: 0.0/10 (0 votes cast)



2 Comments »


Sunday, February 14th, 2010, 3:55 pm | Computer, Experiments, Google, Internet, Software

Opera 10.50b claims to be fastest browser on Earth

Opera claims on its own website that its latest beta  version, Opera 10.50b, is the fastest browser the world has seen so far. This statement is based on test results from different browser benchmarks published on the official Opera blog.

opera_01

As Google Chrome has been the fastest browser for a while and the alpha version of Opera 10.50 caught up quite well with Chrome’s performance but didn’t beat it yet, I decided to check the benchmark results given in the blog post by Opera. I ran all the benchmarks with the same settings as Opera did and also tested all four browsers. The only difference is that I used Chrome 5 (alpha) instead of Chrome 4 which is justified since Opera is also using non-stable builds of their browser. I summed up all the benchmark results in a diagram quite similar to the one used by Opera in order to make comparison easier:

opera_02_new

The diagram published by Opera looks like this:

opera_03

As you can see, the latest version of Opera really beats Chrome in Peacekeeper and Dromaeo, but Chrome is far ahead in both Sunspider and V8. I ran all the benchmarks several times to verify my test results and they are perfectly valid, but still differ from the ones published by Opera somehow. Now one has to ask why there is such a big difference regarding Sunspider and whether Opera faked its scores or the latest version of Chrome really improved in this sector.

All in all, it’s quite clear that Opera is really trying to beat all other browsers when concerning JavaScript performance and manages to catch up with Chrome. It will be interesting to see whether the final version of Opera 10.50 will beat Chrome in all tests or not.

In contrast to Opera, I want my  benchmark results to be rock-solid and not to be challenged, so I took screenshots of each result and also created an Excel file that contains all results and the calculations made to create the diagram. You can download the screenshots and the Excel file to check my results.

VN:F [1.0.7_345]
Rating: 0.0/10 (0 votes cast)



6 Comments »


Saturday, February 6th, 2010, 8:57 pm | Computer, Download, Google, Software

Google Chrome 5 comes with automatic page translation

The latest version of Google Chrome, build 5.0.317.2, brings a new feature to improve the browsing experience when visiting foreign websites. It includes an automatic page translation tool which detects the page language and, if it differs from your browser language, offers to translate it to your language using Google Translate.

When Chrome offers you to translate a site, a blue bar will show up in your Chrome window:

chrome_translate01

When you click the Translate button, it takes a few seconds, and your page should appear in another language. I tried this on several websites with several languages, but it never really worked. Always some parts, like links and headlines were translated, but most of the text stayed in its original language.

chrome_translate02

Other languages are working, though:

chrome_translate03

As you can see, this feature is still very experimental, but since I’m using the alpha (dev) version of Google Chrome, I can’t expect every new feature to work perfectly. Google will surely fix this issue until the release of Google Chrome 5 final, and it will make browsing easier, as you will be able to view a lot more websites in languages you don’t understand, without having to mess with pasting the text to your favorite translation tool or guessing what it may say.

If you want to try the new feature (and thus have Chrome dev version), switch to the Dev channel here. Also check out the AdThwart extension to block ads in Google Chrome or my tutorial on how to make Google Chrome anonymous.

VN:F [1.0.7_345]
Rating: 0.0/10 (0 votes cast)



No Comments »


ss_blog_claim=c7d0757dcb48491268e39569f229169b ss_blog_claim=c7d0757dcb48491268e39569f229169b