KVM or OpenVZ

GarthK

Member
Feb 7, 2009
58
0
6
Is there ever a time when KVM is preferred over OpenVZ when either is an option?

Just curious...
Garth
 
Hi,
kvm or openvz depends on your usecase.

kvm
cons:
performance-penalty (io and cpu)
more resources needed for the host
pros:
easy and fast (live-) migration with external storage
usability of new kernel
flexible - you can migrate a virtual machine also to real hardware, or to another virtualisation platform and vice versa.

openvz
cons:
only "old" kernel 2.6.18 and 2.6.24
only local storage
migration to other platforms (true hardware, kvm...) not easy - it's a new install with transfer the config and data-files
no kernel-modules can be loaded by the guest
pros:
good performance
less resources needed for the host

Perhaps thats not all points...

Udo
 
Typically I prefer to use OpenVZ for everything because it has the best native speed, especially for hard drive access and great RAM/space sharing system. Unfortunately OpenVZ can not run everything: Windows, Java, complicated iptables firewall and etc., that's where KVM comes in. Isnt obvious?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!