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] tap:aio Performance

To: Peter <p.lists.xensource.com@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] tap:aio Performance
From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Date: Fri, 16 Feb 2007 02:12:30 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Feb 2007 18:12:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45D50679.80508@xxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <45D24928.7080804@xxxxxxxxxxxxxxx> <20070214120621.GA4534@xxxxxxxxxx> <45D50679.80508@xxxxxxxxxxxxxxx>
Reply-to: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Fri, Feb 16, 2007 at 02:18:49PM +1300, Peter wrote:
> Hi.
> 
> We have hit bugs with 3.0.3 with blktap, so can't use it there.  (I saw 
> some fixes on the devel list that I think address these problems in 3.0.4).
> 
> 3.0.4 has crashed within a hour to a day after enabling any loop back 
> mounted file systems.  So we can't use loop back mounted devices on 
> 3.0.4.  3.0.3 is fine.  We'd reported this via bug tracker but we don't 
> have a reproducible test case for it.
> 
> The performance on 3.0.4 (with sparse blktap files) is a lot slower 
> (unusably so) compared to 3.0.3 (with sparse loopback mounted files).

As I said in my previous mail - it is meaningless to compare performance
of  tap:aio with file: One writes data to disk when you ask it to (blktap)
the other postpones the writes indefinitely (file).  Of course the one which 
doesn't actually write your data to disk is faster - but that's not useful 
because upon crash you can say goodbye to your data.

It is doubly meaningless to compare the performance when using sparse
files. Every write to a sparse file which requires extra blocks to be
allocated will hit the journal - this destroys performance. If you want
to look at performance, use non-sparse files with blktap, and compare 
against phy:    Any comparison against file: is completely bogus.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

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

<Prev in Thread] Current Thread [Next in Thread>