Send_linux 发表于 2012-07-24 10:59

基于英特尔Ivy Bridge架构的Linux虚拟化评测

英特尔Ivy Bridge架构方面的最新数字业已发布,本文介绍了基于酷睿i73770K处理器的Linux虚拟化性能,并且将原始/裸机性能与LinuxKVM(基于内核的虚拟机)虚拟化和基于Ubuntu 12.04LTS的甲骨文VM VirtualBox进行了一番比较。
本文只是给出了英特尔酷睿i7 3770K测试系统上Ivy   Bridge的虚拟化方面的一些基本数字;在过去的两个月,该测试系统在我们Phoronix网站接受了广泛的基准测试。这些数字侧重于KVM和 VirtualBox的性能,顺便提到了Ubuntu12.04 LTS   x86_64。这一次没有测试VMware虚拟化的性能,是由于许可证问题,但是这里(http://www.phoronix.com /scan.php?page=article&item=vmware_vmwgfx_g3d&num=1)提供了之前的VMware   Linux虚拟化测试结果。之所以没有测试Xen虚拟化,是由于能够支持Xen的内核在该硬件上未能启动。
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105928940.jpg
裸机测试结果是指在没有采用任何虚拟化的主机i7-3770K上运行基准测试时得到的结果。通过QEMU和virt-manager虚拟系统管理器 运行KVM,然后运行VirtualBox时,虚拟化方面的设置处于默认状态。每个虚拟机可以访问16GB   DDR3系统内存中的12GB。VirtualBox安装了额外的访客系统。
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105930706.jpg

http://pub.chinaunix.net//uploadfile/2012/0724/20120724105930855.jpg
KVM虚拟化仍没有为访客系统的三维加速提供任何支持,所以对这些为数不多的三维测试而言,这归结为裸机与VirtualBox的比较。不过,来自 甲骨文虚拟化平台的访客OpenGL加速性能相当差。Phoronix的这篇文章(http://www.phoronix.com /scan.php?page=article&item=virtualbox_41_3d&num=1)提到了使用 VirtualBox的更多三维测试。就传送到主机上的访客三维加速功能而言,VMware提供的基于Gallium3D的驱动程序架构其表现要好得多。
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105930249.jpg
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105930222.jpg

http://pub.chinaunix.net//uploadfile/2012/0724/20120724105930111.jpg
与之前在Phoronix上发布的Linux虚拟化基准测试相似的是,英特尔酷睿i7 Ivy Bridge系统上的KVM其运行速度往往比使用甲骨文的VMVirtualBox 4.1软件快得多。
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105930862.jpg

http://pub.chinaunix.net//uploadfile/2012/0724/20120724105931112.jpg

http://pub.chinaunix.net//uploadfile/2012/0724/20120724105931473.jpg
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105931540.jpg
在通常在Phoronix上基准测试的任何虚拟化方法当中,KVM的性能往往最接近非虚拟化裸机性能。
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105932274.jpg
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105932154.jpg

http://pub.chinaunix.net//uploadfile/2012/0724/20120724105932658.jpg
对希望将KVM虚拟化技术用于桌面虚拟化的那些人来说,KVM虚拟化方面的主要缺点就是,访客桌面缺少二维/OpenGL/三维/视频加速功能。 KVM/QEMU上的SPICE(http://www.phoronix.com/scan.php?page=news_item& px=MTA1NTQ)在这个方面取得了进展,但是我们仍然远远没有看到它成为现实。
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105932689.jpg

http://pub.chinaunix.net//uploadfile/2012/0724/20120724105932556.jpg

http://pub.chinaunix.net//uploadfile/2012/0724/20120724105932212.jpg
KVM还是开源技术,与virt-manager虚拟系统管理器或新的GNOME Boxe实用程序配合使用时,很容易使用。
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105933592.jpg

http://pub.chinaunix.net//uploadfile/2012/0724/20120724105933335.jpg
虽然KVM和VirtualBox都可以访问八个逻辑核心(四个物理核心加超线程技术),但是VirtualBox在处理器密集型任务方面常常远远落在后面。
http://pub.chinaunix.net//uploadfile/2012/0724/20120724105933684.jpg

http://pub.chinaunix.net//uploadfile/2012/0724/20120724105933119.jpg
KVM在磁盘密集型工作负载方面的表现也常常胜过VirtualBox。
http://www.phoronix.com/scan.php?page=article&item=intel_ivy_virtualization&num=1

本文来自ChinaUnix新闻频道,如果查看原文请点:http://news.chinaunix.net/opensource/2012/0724/2292589.shtml
页: [1]
查看完整版本: 基于英特尔Ivy Bridge架构的Linux虚拟化评测