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

RE: [Xen-users] Really slow disk write on Ubuntu

To: "rudi" <rudolone@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Really slow disk write on Ubuntu
From: Jeff Sturm <jeff.sturm@xxxxxxxxxx>
Date: Mon, 24 May 2010 15:31:54 -0400
Cc:
Delivery-date: Mon, 24 May 2010 12:35:02 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BFAB6C6.7040205@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4BFAA750.2080107@xxxxxxxxx><AANLkTik1VCdxj2iWyfJpX6boY7nLt0F9cVPzkFwnzaF4@xxxxxxxxxxxxxx> <4BFAB6C6.7040205@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acr7ZkyN9HQotPV8TjaGQS5/l+jfvQAD0fQA
Thread-topic: [Xen-users] Really slow disk write on Ubuntu
> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-
> bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of rudi
> Sent: Monday, May 24, 2010 1:27 PM
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] Really slow disk write on Ubuntu
> 
> Results were sligthly better but still far from our expectations. Disk
> writes around 10-15 MB/s.

As a data point, I logged into one of our virtual hosts and tried:

$ dd if=/dev/zero of=/var/tmp/junk oflag=direct bs=64k count=1000
1000+0 records in
1000+0 records out
65536000 bytes (66 MB) copied, 0.971217 seconds, 67.5 MB/s

$ dd if=/var/tmp/junk iflag=direct bs=64k of=/dev/null
1000+0 records in
1000+0 records out
65536000 bytes (66 MB) copied, 0.862861 seconds, 76.0 MB/s

The disk array is currently shared by 15 domU's running across 4 dom0's.
Not as fast as dedicated 15k RPM drives would be, but not bad either.
Some of my physical hosts are faster, some are slower.

> My doubt is: should we expect much better results (and by consequence,
> there is a big misconfiguration/mistake somewhere in our stack) or
these
> results are typical and unexceptional for this kind of systems?

Are you using files or direct partitions for the guest image?  What
backend driver?

-Jeff



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