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 15:21:41 +0200
Delivery-date: Mon, 12 Apr 2010 06:23:27 -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:content-transfer-encoding:in-reply-to :user-agent; bh=AeMLrUhmdsrLD1JHcWEEncuoOkTfQEj65Q5LOBFMPgs=; b=q5LHeK9SITXZZ1Wd8TBMrr0s/vto3lnWBT+i7LgLqT2fMh1Qf6XUgMyhC7CjgKzf2Z m+T9y9ZnREQjXCmUWq8DuTsy3x4PkynZy/tSjJ953h+b1uRSMPXBkfTcKZFExJdUv8eB 0RaAswHWRSoarGvgmgux8Wt2Ue+1aBe8oJYk8=
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 :content-transfer-encoding:in-reply-to:user-agent; b=FsR+w5AVG3/MQtOtivpEmPCUPNmFHcMZ4xdtb0hGbHe5s0urSR0cqu20WSdmqnw/j8 OwSTvaqk4iFahrZocgUyt++Ffya9dOY0df1xZm8zbA22kCfXjuSZrGlREIqOMDH6BSdK YnB/MYyMrD1SmfeDYI/9zlEr5Id5MWcCJiR8A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100412111045.GJ1878@xxxxxxxxxxx>
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> <20100412084759.GA12582@whitebox> <20100412111045.GJ1878@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Mon, Apr 12, 2010 at 02:10:45PM +0300, Pasi Kärkkäinen wrote:
> On Mon, Apr 12, 2010 at 10:47:59AM +0200, Fabiano Francesconi wrote:
> > 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
> > 
> > 
> > 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.
> > 
> 
> How about oflag=direct transfers with dd? 
> 
> Are both kernels based on the novell/sles/opensuse patches? 
> 
> -- Pasi
> 

Here's the output of `time dd oflag=direct if=/dev/zero of=TESTFILE bs=4k 
count=10000`:

2.6.29-xen-r4:
10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 150,401 s, 272 kB/s

real    2m30.407s
user    0m0.009s
sys     0m0.226s


2.6.32-xen-r1:

10000+0 records in
10000+0 records out
40960000 bytes (41 MB) copied, 150,063 s, 273 kB/s

real    2m30.097s
user    0m0.005s
sys     0m0.170s

==

Same timings? Mhm.. interesting.. (althought those seem quite slowy)

Both kernels use the patchset provided by 
http://code.google.com/p/gentoo-xen-kernel/downloads/list .
If I remember correctly, the .29 patchset was provided by opensuse.
The .32 uses the patchset from SLE11 as reported in the link above.
-- 
Fabiano Francesconi [GPG key: 0x81E53461]

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