关于RHEL5 Xen kernel上的性能下降
最近偶然发现在RHEL5下只要用了xen的kernel,在同样的硬件平台下,即使虚拟机不启动,也会有20%到40%的performance loss,请问大家这里有人遇到类似的问题吗?编译相同的软件,原先需要195分钟的,现在成了230分钟;linux版super PI时间所需时间如下: Testingobjects Kernel 1st 2nd 3rd Average Loss software building (minutes) standard 194 193 193 193.3333333 19.22% xen 231 230 230.5 super pi1m (seconds) standard 13.422 13.158 13.469 13.34966667 44.23% xen 19.933 18.497 19.333 19.25433333 super pi2m (seconds) standard 32.544 32.261 32.495 32.43333333 47.64% xen 47.811 47.451 48.387 47.883 问了redhat的support,证明用xen的kernel是会有性能下降:在使用了xen的kerenl后,传统意义上的host本身也是virtualized了,访问部分硬件资源(cpu,memory,etc)的时候是需要由hypervisor给它分配的,所以在不同应用下会遇到不同等级的性能下降。同理,少了OS的束缚,PVM会比HVM要快。
最后这里有些xen的benchmark,可以参考下:
http://www.bullopensource.org/xen/benchs.html
http://www.xensource.com/Documen ... 5_with_esx-data.pdf
页:
[1]