KeyWords: (see the KeyWords page for guidelines on what to put here.)

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.
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

VMWare

The test is done over /root, where the disk is a file on the host's filesystem. Raid1 over two disks is behind.
[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

Compile kernel

Xen

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

VMWare

[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

HEPSPEC06

Xen

SPEC2006 results for pub.lcg.cscs.ch: 11.65

VMWare

Readers' comments

 
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r2 - 2010-12-06 - PabloFernandez
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 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