|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] RHEL xen vs kvm
On Thu, Apr 22, 2010 at 6:22 AM, Dustin Henning <Dustin.Henning@xxxxxxxxxxx> wrote:
The other
mode with Xen is HVM which is full virtualization and is necessary to
virtualize Windows. KVM does a better job of this then Xen and is faster for
full virt. However KVM isn't as fast as Xen PV even with KVM PV drivers. It
It might look like I lean toward KVM from this list but I still prefer Xen in
most cases because of category 2.
Grant McWilliams
I don’t
spend the majority of my time messing with this, but I do follow the list, and
I can share my thoughts and experience. My thoughts are that yes, a hypervisor
should be better, it is compact and shouldn’t have as many potential security
flaws, so shouldn’t need upgraded as often. Simple or not, each upgrade brings
potential new problems, so stick with a stable hypervisor unless you need to
fix a security issue, are seeking new features, or are squashing a bug. Agreed.
I was able to get better performance in Windows out
of Xen using the GPLPV drivers, and unless additional drivers have been
developed for KVM in the past few years, I don’t see how fully virtualized KVM
machines could be faster than Xen HVM machines using PV drivers.
KVM uses PV drivers as well in addition to taking advantage of newer versions of qemu then Xen. Xen always seems to merge qemu slower. Xen also has other architecture problems in that data has to travel from DomU to the hypervisor to Dom0 to pass through the drivers and then out. With KVM each guest acts like an application running and has more direct access to hardware. I see a fairly large DomU to DomU network performance hit too but only in one direction in Xen. I don't think we've ever really tracked that down.
However, KVM uses virtio which has a performance hit over the Xen rebased kernel. Xen will inherit this performance hit though when we move to the pvops kernal. At that point the optimizations done to virtio will effect both hypervisors. It's not known how big this hit is quite yet but Intel was throwing around 5% numbers.
One thing that hasn't been addressed though is security. Xen is the most secure Virtualization platform out there. There are still vulnerabilities but it's in the lead for security. In order to get KVM to be anywhere near as secure you will need to rely heavily on SELinux.
I think in the coming two years none of this will matter and we'll be focusing on how you manage VMs, this change is already happening in the industry as Citrix is supporting XenServer and HyperV with their software.
Grant McWilliams
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|