OpenSource For You

The Ultimate Virtualisa­tion Face-off Between

Qemu, Virtualbox, Vmware Player and Parallels Workstatio­n

-

In this article, we take a look at four of the most well known and commonly used virtualisa­tion software for Linux.

When it comes to virtualisa­tion, Linux unarguably has more prowess and offers better performanc­e as the host OS than most other operating systems. Mac does indeed allow you to run MS Windows in a virtualise­d environmen­t, but it is only Linux that offers allencompa­ssing support for most popular operating systems.

And talking about virtualisa­tion products for Linux devices, the options are plenty. However, in this article, we will focus on four major options—qemu, Virtualbox, Vmware Player and Parallels Workstatio­n. Before comparing these, let’s rst look at each of them in isolation.

Qemu

Qemu can be used both as a machine emulator and as virtualisa­tion software. It lets you run Windows programs on your Linux machine, as well as execute guest code directly on host devices. And the best part is that Qemu is open source software.

Virtualbox

Oracle VM Virtualbox, or just Virtualbox as it is popularly called, is full-blown virtualisa­tion software typically meant for the x86 architectu­re. Even though Oracle primarily projects it as a product for enterprise use, Virtualbox can and does suffice for general computing enthusiast­s who would like to try their hands at virtualisa­tion. In fact, Virtualbox is so neatly laid out and simple in operation that it should be your first pick if you aren’t already familiar with virtualisa­tion. It supports numerous operating systems apart from Linux and Windows, including the

likes of BSD, Solaris and even DOS or Windows 3.x. Like Qemu, Virtualbox is also open source software.

Vmware Player

Vmware Player is a commercial virtualisa­tion product that lets you run multiple operating systems on your computer. The product is free (as in free beer) for personal use, and paid enterprise versions are available, but sadly, none of the offerings are open source. Beyond that, Vmware Player offers excellent support for multiple operating systems, and binary downloads are available for both RHEL and Ubuntu users (32-bit and 64-bit).

Parallels Workstatio­n

Parallels Workstatio­n is paid-for, commercial, closed source virtualisa­tion software available for Windows, Mac and Linux. A cheaper, non-enterprise version by the name of Parallels Desktop is also available. If you are compelled to compromise with closed source software, it is likely that you have a good ‘business’ reason behind it, and so we will review Parallels Workstatio­n in this article.

With that general introducti­on out of the way, let us now compare each option’s performanc­e under separate heads.

Installati­on

Beginning with Qemu, the installati­on process is pretty simple. In fact, Qemu is nowadays offered in the repositori­es of almost every major distro and so, installati­on is just a matter of a few clicks. Also, Kernel Virtualiza­tion Machine (KVM), which is supported by Qemu, is nowadays a part of the standard installati­on of most notable distros, including Ubuntu.

Similarly, Virtualbox, too, forms a part of the repositori­es of many distros. However, just in case your distro does not offer Virtualbox, you can always download the binaries from https://www.virtualbox.org/wiki/downloads

The installati­on of Parallels Workstatio­n, on the other hand, is outright complex. You can either add custom repositori­es for third party software in your distro’s software manager, or you can download it from the Parallels’ website itself. If you are downloadin­g it from the website, you’ll need to register for a user account (yes, that’s how it is with closed source software—you have to register). And speaking of registrati­on, you will be required to give a plethora of informatio­n about yourself—your name, work informatio­n, address, and so on.

Thereafter, the URL to the download location will be sent to you via e-mail. Since the software is paid for, you’ll have a 30-day trial period during which you can use the software without paying the licence fee, following which, you have to either purchase a license key or remove the software. During the installati­on process, you will also be presented with the End User License Agreement (EULA) which you need to agree to conform to, before carrying on with the installati­on.

Speaking of Vmware Player, the installati­on is more or less similar to that of Parallels Workstatio­n – you have to register for an account on the website (though in this case, you’re required to give only your name and e-mail address),

following which you can download the software’s installer. The installati­on process is self-explanator­y, and yes, there is a EULA that you need to abide by.

Modus operandi

Beginning with Qemu—its interface, though clean, can be confusing for the beginner. If you are a KDE user, you can use qtemu, which serves as a handy emulator. However, if, just like me, you are not a KDE and/or GNOME user, using Qemu’s emulator can be quite annoying at times – it simply refuses to blend with your DE. However, once you get accustomed to it, you’ll realize that Qemu is one of the best tools for virtualisa­tion. You can enable or disable Full Accelerati­on, decide which processes to log, specify arguments for start-up, and so on. In fact, Qemu offers a much greater level of customisat­ion than most other alternativ­es.

When it comes to the user interface and mode of operation, Virtualbox emerges as the clear winner. The interface is slick and resembles more of a media player (say, Banshee, for instance). For almost all the operations, there are set-up wizards and the procedures are selfexplan­atory. The program offers all the abilities that you’d seek in a virtualisa­tion tool, and is well backed by excellent documentat­ion.

Parallels Workstatio­n, on the other hand, is neither as sleek as Qemu nor as polished as Virtualbox. A good portion of it is written in QT, so again, KDE users can feel at home. Speaking of the mode of operation, there is a Virtual Machine Wizard, but since the product itself is more geared towards workstatio­n use rather than home use, the Wizard begins with questions regarding networking, rather than storage. You can set up Ethernet networks, and share host devices from within the wizard. However, such functional­ity is available in both Virtualbox and Qemu, so it doesn’t really make sense why one would opt for a closed source option.

Now, let us take a look at the nal option, Vmware Player. Unlike its Workstatio­n version, the free Player version does not ask us to connect to a remote or local server upon start-up. Instead, the interface simply offers you a set-up wizard that lets you create virtual machines. Vmware Player

does offer two unique things – the guest OS runs within the console, instead of a separate instance, and the support for audio devices and video cards is terrific. For example, in this screenshot, Ubuntu is being run within Vmware Console, rather than a separate window, as would have been the case with Virtualbox. This gives the product an organised appeal.

General use

Before we proceed any further to each product’s performanc­e levels, it is worth noting that Parallels Workstatio­n is a software meant essentiall­y for the server environmen­t, whereas Vmware Player is meant for nonenterpr­ise use. The other two, Qemu and Virtualbox, however, can double up for both scenarios.

Qemu, strictly speaking, does not project itself as virtualisa­tion software. It is more of an emulation mechanism for the x86 architectu­re. Thus, there are certain scenarios where it does perfectly well, and beats all others. For instance, you will not need to tweak sound profiles to make them work on the guest OS. The downside, however, is that Qemu’s guest machines, even when idle, tend to consume a good deal of memory.

Virtualbox, on the other hand, strikes a great balance between memory consumptio­n and hardware detection. You will need to make a few extra tweaks at times to get the audio working, but overall, the software is wonderful. Even when running memory hogging operating systems such as Windows Vista, you will rarely see a performanc­e lag (assuming that you have a decent RAM in place).

Parallels Workstatio­n, since it is basically meant for workstatio­n use, detects any Internet connection that you may have, by default (if you do not wish to share the host connection with the guest machine, you will have to disable it manually). The detection of sound devices is ordinary, and running videos is a pain. The program itself eats up a good deal of memory.

Vmware Player is, by far, one of the most impressive virtualisa­tion tools when it comes to performanc­e. In my experience, there has rarely ever been a performanc­e lag. It automatica­lly detects many hardware devices, and memory management is great!

Now, going beyond features, here is a quick view on the performanc­e levels of each option: I attempted to install Mandriva LXDE under each virtualisa­tion tool (the host OS being Sabayon 8, the RAM available to the guest OS was 256 MB, and storage space was 6 GB). In Qemu, the entire installati­on process took roughly 20 minutes; Virtualbox was around 15 minutes; Vmware Player, too, stayed closer to 20; whereas Parallels Workstatio­n took a little over half an hour. Seems comparable, doesn’t it?

Appraisal

So, we began this article comparing four separate virtualisa­tion tools. While you may have your personal preference­s, in my opinion, Parallels Workstatio­n, the costliest of the lot, fared in the most unimpressi­ve manner (comparativ­ely). On the other hand, Vmware Player is a decent choice for virtualisa­tion. And once you get used to using Qemu, it will serve you well. However, in terms of a combinatio­n of speed, ease of use and performanc­e, Virtualbox ranked ahead of the lot. For all general purposes, Virtualbox will easily suffice, and just in case you need slightly advanced functional­ity, you should consider opting for Vmware Player.

 ??  ?? Figure 7: A deeper look at BIOS in Vmware
Figure 7: A deeper look at BIOS in Vmware
 ??  ?? Figure 4: Vmware Player runs the guest OS within the Console
Figure 4: Vmware Player runs the guest OS within the Console
 ??  ?? Figure 5: Qemu running FREEDOS on Ubuntu as the host OS
Figure 5: Qemu running FREEDOS on Ubuntu as the host OS
 ??  ?? Figure 6: Virtualbox running Fedora 13 as the guest OS
Figure 6: Virtualbox running Fedora 13 as the guest OS
 ??  ?? Figure 2: Customisin­g Qemu (Enabling Full Accelerati­on)
Figure 2: Customisin­g Qemu (Enabling Full Accelerati­on)
 ??  ?? Figure 1: The Parallels Workstatio­n Installati­on Wizard (Registrati­on Process)
Figure 1: The Parallels Workstatio­n Installati­on Wizard (Registrati­on Process)
 ??  ?? Figure 3: Virtualbox running Kubuntu as the guest OS
Figure 3: Virtualbox running Kubuntu as the guest OS
 ??  ??
 ??  ??

Newspapers in English

Newspapers from India