<!-- keep this as a security measure: * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.LCGAdminGroup * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.LCGAdminGroup #uncomment this if you want the page only be viewable by the internal people #* Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.LCGAdminGroup --> KeyWords: _(see the KeyWords page for guidelines on what to put here.)_ %TOC% ---+ Comparison between Xen and VMWare ---++ Disk performance ---+++ Xen The test is done over /root, where the disk is a *logical volume* specially for the virtual machine. Raid1 over two disks is behind. <verbatim>Dec 06 13:34 [root@pub:~]# dd if=/dev/zero of=/root/thing bs=1024 count=1024k 1048576+0 records in 1048576+0 records out 1073741824 bytes (1.1 GB) copied, 12.9547 seconds, 82.9 MB/s Dec 06 11:55 [root@pub:~]# bonnie++ -u root -s 7000 -r 0 -b -d /root/ Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP pub.lcg.cscs. 7000M 451 98 53494 11 29537 1 807 66 94265 2 257.5 0 Latency 23957us 2261ms 2977ms 648ms 1330ms 1754ms Version 1.96 ------Sequential Create------ --------Random Create-------- pub.lcg.cscs.ch -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 55 0 +++++ +++ 61 0 65 0 +++++ +++ 64 0 Latency 6000ms 499us 3115ms 2426ms 15us 3305ms Dec 06 14:08 [root@pub:~]# dd if=/root/thing of=/dev/null 2097152+0 records in 2097152+0 records out 1073741824 bytes (1.1 GB) copied, 9.39562 seconds, 114 MB/s</verbatim> ---+++ VMWare The test is done over /root, where the disk is a *file* on the host's filesystem. Raid1 over two disks is behind. <verbatim>[root@ppwn01 ~]# dd if=/dev/zero of=/root/thing bs=1024 count=1024k 1048576+0 records in 1048576+0 records out 1073741824 bytes (1.1 GB) copied, 9.29409 seconds, 116 MB/s [root@ppwn01 ~]# bonnie++ -u root -s 5000 -r 0 -b -d /root/ Version 1.96 ------Sequential Output------ --Sequential Input- --Random- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP ppwn01.lcg.cs 5000M 1208 91 17624 3 49144 3 3918 95 113098 5 368.3 2 Latency 6520us 6915ms 287ms 8979us 41605us 120ms Version 1.96 ------Sequential Create------ --------Random Create-------- ppwn01.lcg.cscs.ch -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 80 0 +++++ +++ 80 0 80 0 +++++ +++ 80 0 Latency 137ms 498us 84625us 149ms 16us 89699us [root@ppwn01 ~]# dd if=/root/thing of=/dev/null 2097152+0 records in 2097152+0 records out 1073741824 bytes (1.1 GB) copied, 9.67018 seconds, 111 MB/s</verbatim> ---++ Compile kernel ---+++ Xen <verbatim>Dec 06 13:28 [root@pub:~]# time tar -xf linux-2.6.36.1.tar real 0m33.963s user 0m0.124s sys 0m1.600s Dec 06 13:39 [root@pub:linux-2.6.36.1]# make defconfig Dec 06 13:39 [root@pub:linux-2.6.36.1]# time make [...] real 10m11.454s user 6m28.432s sys 2m12.040s </verbatim> ---+++ VMWare <verbatim>[root@ppwn01 ~]# time tar -xf linux-2.6.36.1.tar real 0m14.374s user 0m0.113s sys 0m1.707s [root@ppwn01 linux-2.6.36.1]# make defconfig [root@ppwn01 linux-2.6.36.1]# time make [...] real 9m41.033s user 6m59.439s sys 2m39.054s</verbatim> ---++ HEPSPEC06 ---+++ Xen ---+++ VMWare ---++ Readers' comments %COMMENT{type="below"}%
This topic: LCGTier2
>
WebHome
>
PhoenixClusterBlog
>
ComparisonXenVsVMWare
Topic revision: r1 - 2010-12-06 - PabloFernandez
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback