Xen 和 KVM的比较,那个更好呢?

转载 2011年01月25日 11:24:00

How does Xen compare to KVM? Which one is better?

At Xen Summit last week, several community members and I discussed the issues around the recent launch of RHEL without Xen and its implications for Xen and the Xen.org community. I thought that I would share my opinions with a wider audience via this blog and hopefully get feedback from the Xen community on this important topic. So, feel free to comment on this post or send me mail privately if you wish to express your opinion to just me.

Firstly, I would like to offer my congratulations to the KVM community for the successful launch of their solution in Red Hat 6 shipping later this year. We in the Xen.org community are very supportive of all open source projects and believe that innovations made in the Linux kernel for virtualization can equally be shared by KVM and Xen developers to further improve open source virtualization hypervisors. I look forward to KVM and Xen working together to ensure interoperability, common formats, and management interfaces to provide customers with the maximum flexibility in moving virtual machines between hypervisors as well as simplifying overall virtualization management infrastructure. Xen.org is currently promoting the DMTF management standard for virtualization and cloud computing and welcome the KVM community to join with us by leveraging our OVF and DMTF SVPC implementations.

Many Linux community members and technology press have been busy the past few weeks writing off Xen as no longer relevant based on the launch of KVM. I have enjoyed reading the many articles written about this and thought I would add some insight to help customers, companies, and journalists better understand the differences between KVM and Xen. KVM is a type-2 hypervisor built into the Linux kernel as a module and will ship with any Linux distribution moving forward as no work is required for the Linux distributions to add KVM. Having a virtualization platform built-in to the Linux kernel will be valuable to many customers looking for virtualization within a Linux based infrastructure; however these customers will lose the flexibility to run a bare-metal hypervisor, configure the hypervisor independent of the host operating system, and provide machine level security as a guest can bring down the operating system on KVM. Xen, on the other hand is a type-1 hypervisor built independent of any operating system and is a complete separate layer from the operating system and hardware and is seen by the community and customers as an Infrastructure Virtualization Platform to build their solutions upon. In fact, the Xen.org community is not in the business of building a complete solution, but rather a platform for companies and users to leverage for their virtualization and cloud solutions. In fact, the Xen hypervisor is found in many unique solutions today from standard server virtualization to cloud providers to grid computing platforms to networking devices, etc.

To get a better understanding of how Xen.org operates, you must understand what the mission and goal of the Xen.org community is:

    * Build the industry standard open source hypervisor
          o Core “engine” in multiple vendor’s products
    * Maintain Xen’s industry leading performance
          o First to exploit new hardware virtualization features
    * Help OS vendors paravirtualize their OSes
    * Maintain Xen’s reputation for stability and quality
    * Support multiple CPU types for large and small systems
    * Foster innovation
    * Drive interoperability

This mission statement has been in place for many years in Xen.org and is an accurate reflection of our community.  It is our most important mission to create an industry standard open source hypervisor that is a core engine in other vendor’s products. Clearly, Xen.org has succeeded in this mission as many companies including Amazon, GoGrid, RackSpace, Novell, Oracle, Citrix, Avaya, Fujitsu, VA Linux, and others are leveraging our technology as a core feature in their solutions. It is not the intention of Xen.org to build a competitive packaged solution for the marketplace, but rather create a best of breed open source technology that is available for anyone to leverage.  This distinction is critical to understand as many people are confused as to why Xen.org does not compete or market against other technologies such as VMWare, HyperV, and KVM. Our goal is to create the best hypervisor possible without any focus on creating a complete packaged solution for customers. We embrace the open model of allowing customers to choose from various solutions to create their optimal solution.

Xen.org also spends a great deal of developer effort in performance testing as well as ensuring that we leverage efforts from hardware companies such as AMD and Intel to support the latest available hardware technologies. For example, Xen 4.0 supports the latest in SR-IOV cards which are just now being shipped to customers.

The third bullet on the mission statement can now be checked off as Xen.org has been instrumental in the efforts to upstream DomU paravirtualization software into the Linux kernel so all Linux distributions are now available for paravirtualization with no user changes required.  Xen.org is also working to upstream changes for our Dom0 kernel  to Linux and is being led by Jeremy Fitzhardinge and Konrad Wilk who recently updated the community on their work at Xen Summit; slides here. As Xen is not written as a Linux module or specially for Linux only deployments, it takes additional efforts to properly include Xen dom0 support into the Linux kernel. The community is always open to new contributors to assist Jeremy and Konrad on their development project and can contact me for next steps.  Finally, it is worth remembering that a Dom0 for Xen can run on NetBSD, FreeBSD, Solaris, or other operating system and is not a Linux only solution. Xen continues to embrace the customer choice model in Dom0 operating system selection which is part of our core mission.

The remaining bullets also reflect what you see in Xen.org as we look to support customer choice in all computing elements as well as ensuring that Xen.org leads the industry in pushing the envelope in new features for hypervisors.

As you can see, Xen.org’s mission is not to create a stand-alone, Linux-only competitive product that is a single packaged offering for end-users. Instead, we focus exclusively on building the best open source hypervisor technology in the marketplace and allow others to leverage our technology in any manner they wish with a maximum amount of flexibility for processor choice, Dom0 operating system , DomU virtualization, management tools, storage tools, etc. This flexibility along with  technology capability is a competitive advantage for customers and companies that choose Xen. Going forward, the Xen.org community will continue to focus on these goals as we include our new Xen Cloud Platform project  and Xen Client Initiative into the technology deliverables from our open source community.

Posted in Community , Xen.org Promotion .

Tagged with , , , , .

By Stephen Spector May 7, 2010


Qemu是一套独立的虚拟化解决方案,KVM是另一套虚拟化解决方案,不过因为这个方案实际上只实现了内核中对处理器(Intel VT, AMDSVM)虚拟化特性的支持,换言之,它缺乏设备虚拟化以及相应的用...
  • YSBJ123
  • YSBJ123
  • 2016年04月16日 10:14
  • 13128

OpenStack、Xen、lxc 、kvm、qemu与Hadoop(Yarn),Mesos 与Spark,Hadoop

  • shenlin2011
  • shenlin2011
  • 2014年04月28日 21:21
  • 2734


  • u011886490
  • u011886490
  • 2013年08月30日 14:45
  • 7534

Xen 和 KVM 的性能对比

Xen 和 KVM 的性能对比2009年09月23日 | 标签: kvm , virtualization , xen | 作者:vpsee最近出现提供 KVM/Qemu VPS 的服务商 ...
  • anghlq
  • anghlq
  • 2011年05月25日 11:43
  • 4358


点评:本文就VPS采用的几种常见技术OpenVZ、Xen、KVM做简单介绍和对比,以备你选购自己合适的VPS 很多人看到同样配置的VPS价格相差很大,甚是不理解,其实VPS使用的虚拟技术种类有很多,...
  • English0523
  • English0523
  • 2016年10月24日 11:30
  • 8247


国内外vps主机提供商所提供的主机大多是基于Xen、OpenVZ、KVM、Hyper-V、VMWare五种虚拟化技术。 一、Xen 官网:http://xen.org/ Xen 由剑桥大学开发,它是基...
  • myweishanli
  • myweishanli
  • 2014年04月20日 15:37
  • 12368


目前市面上常用的虚拟机技术主要有KVM、xen、vmware。 KVM是指基于Linux内核(Kernel-based)的虚拟机(Virtual Machine)。KVM最大的好处就在于它是与L...
  • fanren224
  • fanren224
  • 2017年02月26日 22:53
  • 679

KVM,Xen与VirtualBox在Intel Haswell上的Linux虚拟化性能比较

转载自https://linux.cn/article-2363-1-rel.html 在上周,我们对 KVM 和 Xen 近几年里在性能上的改进进行了一些有趣的探讨后,我打算自己做一些...
  • qq_15983061
  • qq_15983061
  • 2017年12月05日 09:27
  • 554


Kvm安装 1. KVM 经过两天的安装,终于搞定了kvm,KVM的全称是“基于内核的虚拟机”,最先由Qumranet公司开发而成。2008年,红帽公司收购了Qumranet,将KVM作为服务器版...
  • huangjianxiang1875
  • huangjianxiang1875
  • 2014年10月16日 20:12
  • 5297

虚拟化技术性能总结:Zones, KVM, Xen

  • babyfacer
  • babyfacer
  • 2014年04月29日 16:52
  • 5531
您举报文章:Xen 和 KVM的比较,那个更好呢?