[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: HVM Linux DomU with PV Drivers - Performance


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Emre ERENOGLU" <erenoglu@xxxxxxxxx>
  • Date: Mon, 24 Mar 2008 03:15:08 +0100
  • Delivery-date: Sun, 23 Mar 2008 19:15:44 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=sKj6zLRU4cQ+V2/Ozbl3TYAJxulcAIM9bQ01gdb10eLyWOnA1mrZRMDpVzqCixCmrGEsulU7KV0yQQixFfhb+jqAEO7r4/EwIwDzQjgoNG5BS+Lz0isY6q5tgJyEu9LIUVwZoRM9XgMEWTUV+ZJI55Ysiy88d3UI4AR3hwZbXwc=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi again, this time with disk benchmark.

I forgot to mention that this system is a Core2Duo E6300 1.83 Ghz running at 2.8 Ghz overclocked.

For the disk benchmark, I used Bonnie 1.4 (not bonnie++).

Machine: Pardus HVM DomU with PV drivers for root disk
Test Disk:  /dev/xvda1 --> a LVM volume in Dom0 on RAID stripe set (2 disks)
emre@voyager bonnie $ ./Bonnie -d /tmp -s 1500  -m Pardus
Bonnie 1.4: File '/tmp/Bonnie.4911', size: 1572864000, volumes: 1
Writing with putc()...         done:  74270 kB/s  87.8 %CPU
Rewriting...                   done:  43062 kB/s   4.9 %CPU
Writing intelligently...       done:  81596 kB/s  10.0 %CPU
Reading with getc()...         done:  51825 kB/s  68.4 %CPU
Reading intelligently...       done:  95262 kB/s   5.3 %CPU
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              ---Sequential Output (nosync)--- ---Sequential Input-- --Rnd Seek-
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --04k (03)-
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU   /sec %CPU
Pardus 1*1500 74270 87.8 81596 10.0 43062  4.9 51825 68.4 95262  5.3  221.2  0.1

Machine: Ubuntu - Dom0
Test Disk:  Same DomU disk, /dev/mapper/os-pardus but mounted on /mnt in Dom0 after DomU is shut down.

emre@xenroot:/tmp/bonnie$ ./Bonnie -d /mnt/tmp/ -s 1500 -m Ubuntu

Bonnie 1.4: File '/mnt/tmp//Bonnie.26707', size: 1572864000, volumes: 1
Writing with putc()...         done:  65001 kB/s  93.1 %CPU
Rewriting...                   done:  48770 kB/s   3.7 %CPU
Writing intelligently...       done: 158724 kB/s  27.1 %CPU
Reading with getc()...         done:  41054 kB/s  70.4 %CPU
Reading intelligently...       done: 107393 kB/s   3.4 %CPU
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              ---Sequential Output (nosync)--- ---Sequential Input-- --Rnd Seek-
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --04k (03)-
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU   /sec %CPU
Ubuntu 1*1500 65001 93.1158724 27.1 48770  3.7 41054 70.4107393  3.4  290.5  0.1


Machine: Ubuntu - Dom0
Test Disk:  /dev/mapper/os-data mounted on /d with a lot of free disk space
emre@xenroot:/tmp/bonnie$ ./Bonnie -d /d -s 1500 -m Ubuntu
Bonnie 1.4: File '/d/Bonnie.26712', size: 1572864000, volumes: 1
Writing with putc()...         done:  64011 kB/s  90.9 %CPU
Rewriting...                   done:  50202 kB/s   3.4 %CPU
Writing intelligently...       done: 183438 kB/s  28.2 %CPU
Reading with getc()...         done:  40139 kB/s  69.5 %CPU
Reading intelligently...       done: 111579 kB/s   3.9 %CPU
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              ---Sequential Output (nosync)--- ---Sequential Input-- --Rnd Seek-
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --04k (03)-
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU   /sec %CPU
Ubuntu 1*1500 64011 90.9183438 28.2 50202  3.4 40139 69.5111579  3.9  314.7  0.0

Machine: Ubuntu - Dom0
Test Disk:  Native partition, no RAID, /dev/sdb2 mounted on /mnt (lower results due to non-RAID)
emre@xenroot:/tmp/bonnie$ sudo ./Bonnie -d /mnt -s 1500 -m Ubuntu
Bonnie 1.4: File '/mnt/Bonnie.26738', size: 1572864000, volumes: 1
Writing with putc()...         done:  59680 kB/s  83.8 %CPU
Rewriting...                   done:  22911 kB/s   1.3 %CPU
Writing intelligently...       done: 108945 kB/s  16.0 %CPU
Reading with getc()...         done:  31999 kB/s  52.6 %CPU
Reading intelligently...       done:  51561 kB/s   0.9 %CPU
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              ---Sequential Output (nosync)--- ---Sequential Input-- --Rnd Seek-
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --04k (03)-
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU   /sec %CPU
Ubuntu 1*1500 59680 83.8108945 16.0 22911  1.3 31999 52.6 51561  0.9  283.6  0.1

Conclusion:
The HVM Linux DomU running with unmodified_drivers (PV drivers for HVM guest, xen-vbd) seems to perform as good as Dom0 itself for disk I/O.

Best regards,

Emre

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.