12

Is there much performance difference between Xen and virtual box?

1

2 Answers 2

15

The difference between Xen and Virtualbox is their usage or application. Virtualbox is meant to be used as a desktop virtualization layer. So Virtualbox expects you to have an OS (Windows, Mac, Linux) already installed. In other words, Virtualbox can add virtualization to a desktop host OS.

Xen is quite the opposite. It can be thought of as the host OS even though you wouldn't use it like a desktop environment. In terms of performance, Xen will probably edge out VirtualBox as it is a "bare-metal" hypervisor since the host OS is for Xen is tuned more for virtualization tasks rather than desktop duties.

3
  • 1
    VirtualBox is not designed to run on a headless server. For your workstation it is beautiful. It provides snapshots and a lovely interface. Xen is used by Amazon.com to provide their EC2 service. It's still the most popular tech for providing Virtual Private Servers. It's also a breeze to install on Debian 6 (Squeeze). Ubuntu dropped support for Xen a while ago but I think they'll realise their mistake. Jul 8, 2011 at 16:15
  • 4
    I have run VirtualBox on headless servers with no problem. Starting my vm's from the command line is as easy as: vboxheadless -startvm "win2k3"
    – benathon
    Aug 25, 2011 at 17:05
  • That's fine if you so choose to do so, but virtualbox is really meant to be used for the desktop. If you just want headless servers, your resources would be better served with a bare-metal hypervisor by removing the overhead of the desktop OS, not something like virtualbox which runs on top of an OS like Windows/Mac. Just because you can run a server on virtualbox doesn't mean it's the ideal choice.
    – osij2is
    Aug 25, 2011 at 19:17
3

Unless I've misread the Xen web site that product is a "bare metal" virtualisation layer, whereas Virtualbox sits atop an OS. As such, Virtualbox could not be expected to perform as well as Xen.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .