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] Xen hard-disk performance regression?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Xen hard-disk performance regression?
From: Fabiano Francesconi <fabiano.francesconi@xxxxxxxxx>
Date: Mon, 12 Apr 2010 01:06:09 +0200
Delivery-date: Sun, 11 Apr 2010 16:07:34 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=y3jhDileMhz2Jp3NDasOyPZoRHjJinJ3IW677NSUMOk=; b=SEest2WJDIo1sVjmNN/i9QfHrieMU3zmU17fO2JxTmYr4GNWTmhRcLaZbUMJpqFnu5 tXXF//ADEfqYbD3klnzZfRQCvzvmmic5zGqWlkALthxaD9DyMo3p6f1gZ6ZuQaROZSq2 jgAzoQ/MWHfz+WlpJ1p/Bm0KbXJm646nuzg+c=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=r1liPTWkQvLcr5QRdmzTsl4jBSDzDwo74z015LDN5blePohZMVC0VRnTug5Y09euqY ep9KCecWwKRm1dFlGs1Fs/aFy/EGldGWA30y2jextb/H1IuSmM6t5mAGrl4FFa+4uGeg oxbdxvMgk1JwHG1lQNC5H923ShhtTvLN5QjHY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BC254D2.8090805@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>
Mail-followup-to: xen-users@xxxxxxxxxxxxxxxxxxx
References: <20100411103057.GA3244@whitebox> <h2jf4527be1004110655g4d61faa9va243867256de8a0f@xxxxxxxxxxxxxx> <20100411194457.GA27495@whitebox> <4BC254D2.8090805@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Mon, Apr 12, 2010 at 01:01:38AM +0200, Olivier B. wrote:
> Hi,
> 
> Are you using LVM ? Barriers was implemented on LVM in recent versions, 
> which can probably explain some performance regressions like this.
> 
> Olivier
> 

Yes, as a matter of fact, but not for those partitions.
Those are simply 4 partitions:

/dev/xvdb1               1       71799   576725436   83  Linux
/dev/xvdb2           71800       97908   209720542+  83  Linux
/dev/xvdb3           97909      117490   157292415   83  Linux
/dev/xvdb4          117491      121601    33021607+  83  Linux

each one formatted with XFS filesystem.

Another guess I made is about the destination fs' fragmentation (that's
about 90%). But this shouldn't affect the performance of only one
kernel.

It is so strange.

> On 11/04/2010 21:44, Fabiano Francesconi wrote:
> > Ok, confirmed. The problem is only visible when copying files so it's
> > not something related to the hard-disk itself.
> >
> > I sincerely don't know how to dig into this but I have made some tests
> > myself.
> >
> > I've tried copying a single avi file (350mb) from one partition to
> > another one. Both partition are on the same device (WDC WD10EADS-00M2B0)
> > and both formatted in XFS filesystem.
> >
> > Running 2.6.32-xen-r1 I have the following output:
> >
> > real        1m35.001s
> > user        0m0.016s
> > sys 0m0.722s
> >
> > Running 2.6.29-xen-r4 I have, instead, the following output:
> >
> > real        0m20.689s
> > user        0m0.018s
> > sys 0m2.047s
> >
> > How can I see such a difference? Is there some known regression for XFS
> > filesystem? I might try to run a vanilla kernel instead of a xen-patched
> > one.
> >
> > Any suggestion will be very much appreciated.
> >
> >    
> 
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
Fabiano Francesconi [GPG key: 0x81E53461]

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