Comparing VirtualBox and VMware Workstation Player
Guest Extensions
Both VirtualBox and VMware Workstation Player provide guest extensions for Windows and Linux. These extensions include specially adapted drivers that better integrate the guest system into the virtual machine. In addition, the extensions provide advanced features such as drag and drop between guest and host.
In VirtualBox, you can find these extensions in the launched system under Devices | Insert Guest Additions CD image. If you select this item, the software mounts an ISO image with the drivers included and makes it available as a CD drive. VMware Workstation Player has a similar approach, but the package is called VMware Tools, and it is available in the menu under Virtual Machine.
With Player, the boot time increased from around 16 seconds to almost 30 seconds after installing the extensions – no comparable effect occurred in VirtualBox.
Virtual Systems
Bootable CDs or DVDs, as well as locally stored ISO images, are suitable for setting up a new virtual system in both applications. VirtualBox and VMware Workstation Player also support booting via Preboot Execution Environment (PXE) on the local network. However, both candidates fail when booting from a USB drive.
You can add support for USB boot with the Plop Boot Manager [6], for which you will find a detailed description on YouTube [7].
As an alternative to manual configuration for a virtual machine, fully configured guest images are available for download at various sources on the web. Many of these preconfigured guest images are equipped with special features, such as Nextcloud, WordPress, or Joomla [8]. But you will also find plenty of classical systems [9].
Both applications support the Open Virtualization Format (OVF, OVA), an open format for packaging software in virtual images. To open a virtual machine, click on Open a Virtual Machine in Player; under VirtualBox, navigate to Import Appliance in the File menu. Only VirtualBox allows the export of installed virtual machines.
Data Exchange
Both programs offer a range of possibilities for exchanging data between the guest and host. Both use the network or CIFS/SMB, and shared directories are mounted accordingly in the host.
The transmission rate for VirtualBox was over 60MBps on average from the mapped directory to the host system – and more than 100MBps in the opposite direction. The transfer in Player ran a tad faster; I copied the file in both directions at over 100MBps in the test.
Another way of exchanging data is to connect to a USB drive. Both programs support the 1 to 3 defaults and allow devices to be mounted and unmounted during operation. With VirtualBox, an important detail should be taken into account, because otherwise the system will not detect any USB devices at all (see the box titled "USB in VirtualBox").
USB in VirtualBox
VirtualBox creates the vboxusers
group, but it does not add any users to the group, which means you cannot access USB devices under the basic settings. Use the command in Listing 4 to add users to the group. Logging into the system again will activate the changes.
Listing 4
Adding Users to the vboxusers Group
The 2.5-inch removable drive from Western Digital used in the test has a capacity of 2TB and supports USB 3.0. Transfers to the host system can be done in both directions at about 30MBps. In Player, the measured speed was about 20MBps when transmitting in both directions. In the VirtualBox, the drive reads and writes at the same transfer rate, however, the rate was significantly behind the Player rate at 14MBps (see the box titled "Benchmark" and Table 1.)
Benchmark
The virtual machines used identical parameters for the tests: A CPU, 2GB of RAM and 30GB of disk space. To rule out the influence of activity on the network, such as the automatic download of updates, the network interfaces were disabled. The tests revealed a fairly balanced picture: Both programs performed at roughly the same speed. However, Player's launch time significantly increased after installing the guest extensions, which was not the case with VirtualBox.
Table 1
Comparing Values
Discipline | VirtualBox | VMware Workstation Player |
---|---|---|
Installation (operational and logged in) |
11:41 min. |
9:03 min. |
Boot time until login (without extension*) |
25 sec. |
16 sec. |
Boot time until login (with extension*) |
18 sec. |
27 sec. |
Shutdown |
11 sec. |
17 sec. |
Reading USB |
20MBps |
20MBps |
Writing USB |
14MBps |
20MBps |
Shared folder (reading) |
60MBps |
100MBps |
Shared folder (writing) |
100MBps |
100MBps |
* Extensions: VirtualBox guest extension/VMware tools |
Both VirtualBox and VMware Workstation Player support the use of a shared clipboard for the guest and the host, which makes it easy to copy text passages or URLs back and forth between the systems.
Player even goes a step further and allows the transfer of arbitrary data via copy and paste. You can also transfer data using drag and drop: Files of any type can easily be transferred from the guest to the host and back.
VirtualBox struggled with some significant clipboard issues: It only copied snippets of text from the clipboard but no files. When moving files from the guest to the host using drag and drop, a dialog opened with the options to unpack or link the file. The unpacking option had a tendency to crash the Dolphin file manager, but creating a link seemed to work.
Moving files from host to guest worked without any issues in the test.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 47.1 Released with a Few Fixes
The latest release of the Gnome desktop is all about fixing a few nagging issues and not about bringing new features into the mix.
-
System76 Unveils an Ampere-Powered Thelio Desktop
If you're looking for a new desktop system for developing autonomous driving and software-defined vehicle solutions. System76 has you covered.
-
VirtualBox 7.1.4 Includes Initial Support for Linux kernel 6.12
The latest version of VirtualBox has arrived and it not only adds initial support for kernel 6.12 but another feature that will make using the virtual machine tool much easier.
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.