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 10:47:59 +0200
Delivery-date: Mon, 12 Apr 2010 01:49:30 -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=TTuo9qgVA7avpSGMQtfeq/zWLQ5wwxL6Zamb3bDVQMQ=; b=rjvMkjKB3l7F9We3nTI27r0AINT98XXKdB8Pi/T0mA/IJneAUwkq2HSHIZpjLe80ug Tuw2CglGnhGerem/962+sOtHvuBrcpbJbTbYugnUIlp1Cu4cBIKQYcvmppLFhKvDv27U W+vGn+z/jInn13xUcCinjFj5EBx+lgIWqEW5g=
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=c5gXyHxDkT2rkDj2usRbcloEuW7H3gc9KVhbPu7RcJOvoDoB4DHWSkdsoHR3qxICfY o2dS1bC59+jSS0/PedXi9qTJQV6lYFQweJR1gggXVR+XGYX/FwkiucT3BzWlGiahBePZ IRUhz+Mn7jhKCpYSYm6k1AKHKO40ZpeNMgYsM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BC25E1F.9040004@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> <20100411232905.GA8237@whitebox> <4BC25E1F.9040004@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Mon, Apr 12, 2010 at 01:41:19AM +0200, Olivier B. wrote:
> On 12/04/2010 01:29, Fabiano Francesconi wrote:
> > I've tried with a (almost) vanilla kernel (only gentoo patchsets).
> >
> > I have the same issue so, I guess, it's a kernel misconfiguration /
> > kernel regression but it must be something wrong upstream too.
> >
> > Since I've been sharing with you my whole anamnesi, any of you has any
> > clue?
> >    
> 
> Can you try some more synthetics tests, with "dd" ?|
> latency on writes : dd oflag=dsync if=/dev/zero of=TESTFILE bs=4k 
> count=10000
> write speed :|| dd conv=fdatasync if=/dev/zero of=TESTFILE bs=4k 
> count=128000
> read speed : ||dd if=/dev/sda of=/dev/null bs=4k count=128000||| (this 
> one will be greatly affected by cache)
> 
> And can you try with differents FS, ext3 and ext4 for example ?
> 
> Olivier

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

I've ran the test you pointed me out. The results are interesting
althought I haven't found an explanation for such a behaviour.

The dsync transfer ration is more than a minute slower on .32 kernel.
The same for fdatasync.

This for what concerns the root hard-disk (that's *not* the one I've
been talking since now).

The storage hard-drive, instead, shows that dsync transfer is _very_
faster on .32, but fdatasync isn't.

These results are very strange.

You'll find both log file attached here. I made them in a way you can
easily (vim)diff those.

-- 
Fabiano Francesconi [GPG key: 0x81E53461]

Attachment: dd.2.6.29.log
Description: Text document

Attachment: dd.2.6.32.log
Description: Text document

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