WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: poor domU VBD performance.

To: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: poor domU VBD performance.
From: Nicholas Lee <emptysands@xxxxxxxxx>
Date: Tue, 5 Apr 2005 10:35:30 +1200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 04 Apr 2005 22:35:28 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ZYZOFW22/Qv0H/82T9c7b/YZ7Ci+zlz+J4+bjNiXnpCqcKIkH+ml8PhILFMPDhaXnKw43ZosIHZD/7j+AGFNGOMf47FmYysaWD7xPrk1kKxcWIIP3y+WezS9d1x8+Qof54bKWRWL/8u+GFhZo+C55a4ceywYC9R1qaedlq1030g=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3A0F@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <A95E2296287EAD4EB592B5DEEFCE0E9D1E3A0F@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Nicholas Lee <emptysands@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Some simple non-scientific additions to the performance numbers. IBM
x335/MPT SCSI.

Previously on 2.0.5/Testing on 2.6.10:

[nic@stateless:~/sys/xen] sudo hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2884 MB in  2.00 seconds = 1442.00 MB/sec
 Timing buffered disk reads:  100 MB in  3.05 seconds =  32.79 MB/sec

Not completely happy with the buffered read figure of 34Mb.  I'm
putting together a new x205 server with Xen later today. I'll try do
some native vs Xen testing while I'm at it.

dom0:
[nic@stateless:~/tmp] time sudo  cp db-svn.tgz db-svn-bak.tgz

real    0m13.058s
user    0m0.030s
sys     0m0.530s

domU:
[nic@base:/export/bak] time sudo  cp db-svn.tgz db-svn-bak.tgz

real    0m23.574s
user    0m0.010s
sys     0m0.060s


[nic@stateless:~/tmp] ls -l db-svn.tgz
-rw-r--r--  1 nic nic 188247603 2005-04-04 21:06 db-svn.tgz

With todays 2.0.6/Testing on 2.6.11.6:

[nic@stateless:~] sudo hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   2748 MB in  2.00 seconds = 1374.00 MB/sec
 Timing buffered disk reads:  102 MB in  3.00 seconds =  34.00 MB/sec

[nic@stateless:~/tmp] time sudo  cp db-svn.tgz db-svn-bak.tgz

real    0m10.468s
user    0m0.010s
sys     0m0.070s


[nic@base:/export/bak] time sudo  cp db-svn.tgz db-svn-bak.tgz

real    0m11.243s
user    0m0.000s
sys     0m0.040s

Both filesystems based on XFS/LVM2. These numbers are based on one-run
right after boot, with in the domU case just one domU running.

So definite improvement.

Nicholas

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