I am putting a new server in a datacenter for company use and my company website. I use a lot of VPS accounts and in that world the choices are xen or openvz. I will be using virtualization on my dedicated server. It is difficult to find any information comparing the platforms outside of the VPS service context. We will not be renting out VPS accounts, we only wish to run isolated environments, and avoid the cost of multiple servers. I understand the basic difference of os level virtualization vs. hypervisor paravirtualization. It seems that most big companies are using xen, but in my experience openvz can achive better performance, due to the pooled resources, as many containers are likely to be idle. Does anyone have any experience with openvz or xen in this context?

3 Answers 3


Are there any other people than people who have access to the host using the VPS?

If yes: 

One of the reasons for this is that you might end up rebooting a server. Unfortunately in OpenVZ this command doesn't work and results in a shut down server that needs to be booted from the host. Also have a look at LXC, it's the same as OpenVZ but doesn't use an as heavily patched kernel.

  • thanks! No one else will need to reboot the host or containers. The main reason for virtualization is to isolate environments in case of a security breach. Also to solve versioning issues. I will look into LXC. Would there be any other reasons that I should prefer Xen? Apr 22, 2012 at 20:22
  • Not that I can think off, I use LXC instead of Xen/KVM if it's just about isolation. Apr 22, 2012 at 20:26
  • 1
    Based on some googling it seems LXC is not very secure, in that a compromised container could lead to a compromised host. Any thoughts? Apr 22, 2012 at 20:39
  • I'll gladly take a look at those, can you link me? Apr 22, 2012 at 20:42
  • berrange.com/posts/2011/09/27/… search the page for the word "secure" Apr 22, 2012 at 20:45

My personal favorite is still XEN. We decided to use it in 2007, since it was the best of breed back then with regards to performance and resource (CPU-overhead) usage.

We are using it with Linux in Dom0 and (mostly) Linux in PV-mode as DomUs.

If you need to run different Kernel Versions or different Linux distributions XEN is better - since you have the full Kernel in your VM.

If going for XEN have a look at Oracle VM, SLES11 SP2 or Citrix. It depends on your licensing needs which is the most cost-effective solution for you.

If you are in a pure Linux environment, KVM might be another possible solution nowadays (available in Debian, Ubuntu LTS, RedHat, SLES, ...).

  • KVM in a "pure linux environment". KVM runs W2k8 R2 pretty good. Apr 22, 2012 at 20:39
  • Well - SLES11 runs on Hyper-V, too. ;-)
    – Nils
    Apr 22, 2012 at 20:40

See it for yourself: http://openvz.org/Performance

Executive summary: for pure computational cases there is no or little difference. For any other task the difference can be up to few times (in OpenVZ favor).

  • Welcome to Server Fault! Generally we like answers on the site to be able to stand on their own - Links are great, but if that link ever breaks the answer should have enough information to still be helpful. Please consider editing your answer to include more detail. See the FAQ for more info.
    – slm
    Jun 26, 2013 at 5:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.