All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francesco Degrassi <francesco.degrassi@emaze.net>
To: iusty@k1024.org
Cc: Eric Sandeen <sandeen@sandeen.net>, linux-xfs@oss.sgi.com
Subject: Re: Possible performance problem introduced between kernel 2.6.15 and 2.6.17 on xfs code
Date: Thu, 28 Dec 2006 10:56:58 +0100	[thread overview]
Message-ID: <459394EA.3000304@emaze.net> (raw)
In-Reply-To: <20061227180542.GA6888@teal.hq.k1024.org>

Hi Iustin,
i tried and it and indeed the performance problem does not manifest if i
mount the xfs filesystem with the -o nobarrier option. Seems like we are
a little bit closer to the real problem now.
The code in gnomevfs-copy calls fadvice POSIX_FADV_DONTNEED (in
gnome_vfs_forget_cache) and disabling this behaviour gets back normal
performance, so it has something to do with that.

Thanks for your help

Francesco


Iustin Pop wrote:
> On Wed, Dec 27, 2006 at 07:03:45PM +0100, Francesco Degrassi wrote:
>> I tried ext2, ext3, jfs, reiser3, vfat and the problem does not show up.
>> Anyway i discovered that if i create a regular file in an XFS partition,
>> create an XFS filesystem on it as if it was a regular block device, and
>> mount it with the loop device, the problem does NOT manifest.
>> So it seems to affect XFS filesystems on regular block devices only ?
>> I'm confused.
> 
> This is probably not related, but I remember that barriers were added
> sometime between 2.6.15 and 2.6.17 and probably barriers are not enabled
> on a loop filesystem. Maybe the gnome vfs thing does some sync which
> force flushes or such. I'm no expert, just guessing.
> 
> Just to invalidate this (probably wrong) guess, could you try to mount
> /tmp with "-o nobarrier" and re-test?
> 
> Iustin, who wishes md raid1 would support barriers.

      reply	other threads:[~2006-12-28  9:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-23 15:16 Possible performance problem introduced between kernel 2.6.15 and 2.6.17 on xfs code fdegrassi
2006-12-23 15:44 ` Eric Sandeen
2006-12-24  0:36   ` fdegrassi
2006-12-27 15:41     ` Eric Sandeen
2006-12-27 18:03       ` Francesco Degrassi
2006-12-27 18:05         ` Iustin Pop
2006-12-28  9:56           ` Francesco Degrassi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=459394EA.3000304@emaze.net \
    --to=francesco.degrassi@emaze.net \
    --cc=iusty@k1024.org \
    --cc=linux-xfs@oss.sgi.com \
    --cc=sandeen@sandeen.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.