设为首页 收藏本站
查看: 779|回复: 0

[经验分享] Xen, KVM Compare

[复制链接]
YunVN网友  发表于 2015-10-10 13:54:57 |阅读模式
Xen the most established of the two, is a type-one bare metal hypervisor that is also the foundation of several commercial offerings, including Citrix Systems XenServer and Oracle VM. Proponents argue that Xen is robust, enjoys a broad ecosystem of managementtools and delivers excellent performance, among other virtues.
But recently, several Linux vendors -- including Red Hat and Canonical, which makes Ubuntu -- have thrown their weight behind the Kernel-based Virtual Machine (KVM),a lightweight hypervisor module that comes with the mainline Linux kernel. KVM is a relative newcomer, but the strength and simplicity of its implementation, plus continued support of Linux heavyweights, make it worthy of serious consideration.
In this face-off, two IT experts make Xen-KVM comparisons and take sides in the Xen vs. KVM Linux virtualizationhypervisor debate.
Six reasons to choose Xen vs KVM
Andi Mann: Six reasons to chooseXen vs. KVM
Sander van Vugt: KVM over Xen for better Linux integration
By Andi Mann, Contributor
When comparing Xen to KVM for open source virtualization, Xen wins out for six compelling reasons: Better resources, platform support, manageability, implementation, live migration and performance benchmarks.

  • Resources: Xen has been in the public domain for four years longer than KVM (2003 vs. 2007). With implementations from Citrix, Novell, Oracle, Sun, Red Hat and Virtual Iron, it is easier to find IT professionals with Xen skills, easier forthose professionals to get Xen training, easier to locate Xen consultants and obtain Xen certification. These are critical issues for 60% of enterprises who say they lack essential virtualization resources and skills, according to research from a 2008 reporton virtualization and management trends by Enterprise Management Associates (EMA).

  • Platform Support: Xen currently supports more host and guest environments, including paravirtualized, hardware assisted and both modified and unmodified guests; UNIX, Linux and explicit support from Microsoft for Windows; multiple chipsetsincluding x86, IA64, and ARM from AMD, Fujitsu, IBM, Sun and embedded support from x86/64 CPU vendor, Intel.

  • Manageability: For 83% of all enterprises, says 2009 research on virtual systems management from EMA, management is a criticalor important factor in choosing virtualization technology. In the comparing Xen vs. KVM comparison, Xen has a much broader third-party ecosystem for provisioning, backup, storage management, P2V, capacity planning, performance monitoring, process automation,security and other management disciplines from Citrix, IBM, CA, Novell/Platespin, Enomaly, Microsoft, HP, Quest/Vizioncore, Sun, Oracle, Symantec -- and even VMware (via Hyperic). Even Red Hat has no sophisticated tools available for KVM today, and its promisedKVM management will lag for the foreseeable future.

  • Implementation: Whether KVM is 'type 1' or 'type 2' is mostly semantic. Xen is run and managed at a lower level (ring 0), even for new virtual machine creation, and guests do not share memory blocks, CPU instructions or any of the underlying(albeit occasionally de-privileged) Linux operating system like KVM does. This means KVM suffers performance, latency, security, scalability, isolation and other issues that do not affect a true bare-metal hypervisor like Xen.

  • No live migration with KVM: Most of the arguments used in the past to show VMware ESX superiority over Microsoft Hyper-V, also apply to Xen in comparison to KVM today. But this is the big one. Unlike KVM, Xen supports uninterrupted live migrationto allow dynamic workload balancing and routine maintenance with near-zero downtime. KVM comes with an inherent downtime penalty.

  • Performance: Most Xen vs. KVM performance benchmarks show Xen has better (near-native) processing performance, and only marginally underperforms KVM in disk I/O. Moreover, independent tests have shown that KVM performance suffers as more workloadsare added, and it consistently crashed trying to support any more than four guests. Xen supported a linear increase to over 30 concurrent workloads.
A more comprehensive Xen-KVM comparison would also show that Xen outperforms KVM with virtual network support, virtual storage support, enhanced security, high availability, fault tolerance, power management, HPC/real-time support, virtual CPU scalability,cross-vendor compatibility, VM portability, virtual appliance marketplace and an established cloud services ecosystem. So while KVM is technologically impressive and has some excellent use cases, it is still far-inferior to Xen as an enterprise-class servervirtualization technology.
Andi Mann is the vice president of research, systems and storage management at the IT analyst firm Enterprise Management Associates (EMA). Mann has over 20 years of IT experience in both technical and management roles, working with enterprise systems andsoftware on mainframes, midrange, servers and desktops. Mann leads the EMA Systems Management research practice, with a personal focus on data center automation and virtualization. For more information, visit EMA'swebsite.
KVM over Xen for better Linux Integration
By Sander van Vugt, Contributor
Even without performing an extensive Xen vs. KVM performance benchmark study, there are very solid reasons to follow Linux leaders like Red Hat and Ubuntu to KVM. The most obvious and important factor is that KVM is a part of the Linux kernel, while Xen isa product that is installed beneath a Linux kernel.
Why is this important? It's important because, in the past, patches to the Xen environment have proven to be incompatible to the Linux kernel. By implementing KVM, this problem is easily solved. Another reason to select KVM is because KVM is implemented inthe Linux kernel itself. Consequently it is easier to control virtualization processes.
Xen advocates argue that KVM is not as mature as Xen and lacks key features such as live migration and paravirtualization. It's true that paravirtualization in a Xen environment makes machines operate more efficiently since they can address hardware directly.However, to use paravirtualization, you need a modified operating system. A default Windows installation just doesn't work in a paravirtualization environment. About Live Migration, that does work. You just need the right KVM version to do that. Yes, therewas a problem with live migration in the past, but that is fixed now.
KVM, on the other hand, is more flexible. Since the operating systems are communicating to a hypervisor that is integrated in the Linux kernel, they can address hardware directly in all cases, without the need to modify the virtualized operating system. Thisis significant because it makes KVM a faster solution for your virtual machines. The fact that KVM needs the Pacifica (AMD) or Vanderbilt (Intel) virtualization CPU is hardly a limitation because the majority of server CPU's currently have these processors.
The one credible argument not to choose KVM virtualization is that Xen has been around longer and is a more mature product. Long term, however, Xen will become more and more a burden for your Linux kernel, because it lacks good integration -- and neverwill -- despite the fact that Xen developers are actively working on the integration problem.
The bottom line is that KVM is a part of Linux and Xen can, at best, only be integrated with Linux. Over time, Red Hat, the number one player in the Linux enterprise market (which currently owns KVM technology) will make sure that up-and-comer KVM is as fully-featuredas Xen. The future belongs to KVM.
Sander van Vugt is an independent trainer and consultant based in the Netherlands. Van Vugt is an expert in Linux high availability, virtualization and performance and has completed several projects that implement all three. He is also the writer of variousLinux-related books, such as Beginning the Linux Command Line, Beginning Ubuntu Server Administration and Pro Ubuntu Server Administration.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-125152-1-1.html 上篇帖子: OpenStack、Docker、KVM被评为最火的云开源项目 下篇帖子: kernel hacker修炼之道之内核虚拟化KVM——overview
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表