12

Is there much performance difference between Xen and virtual box?

yazz.com
  • 6,743
  • 14
  • 37
  • 38
  • Isn't this kind of a revisit [of this question](https://serverfault.com/questions/4028/xen-vs-virtualbox-under-heavy-load) on Serverfault? – Bart Silverstrim Feb 06 '10 at 11:45

2 Answers2

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.

osij2is
  • 3,875
  • 2
  • 23
  • 31
  • 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. – Mike Bailey Jul 08 '11 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 '11 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 '11 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.

John Gardeniers
  • 27,262
  • 12
  • 53
  • 108