public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Szabolcs Szakacsits <szaka@ntfs-3g.org>
To: Dave Chinner <david@fromorbit.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	xfs@oss.sgi.com
Subject: Re: XFS vs Elevators (was Re: [PATCH RFC] nilfs2: continuous snapshotting file system)
Date: Fri, 22 Aug 2008 15:44:29 +0300 (MET DST)	[thread overview]
Message-ID: <Pine.LNX.4.61.0808221519000.4532@dhcppc2> (raw)
In-Reply-To: <20080822022459.GL5706@disturbed>


On Fri, 22 Aug 2008, Dave Chinner wrote:
> On Thu, Aug 21, 2008 at 08:33:50PM +0300, Szabolcs Szakacsits wrote:
>
> > The 'nobarrier' mount option made a big improvement:
> 
> INteresting. Barriers make only a little difference on my laptop;
> 10-20% slower. But yes, barriers will have this effect on XFS.
> 
> If you've got NCQ, then you'd do better to turn off write caching
> on the drive, turn off barriers and use NCQ to give you back the
> performance that the write cache used to. That is, of course,
> assuming the NCQ implementation doesn't suck....

Write cache off, nobarrier and AHCI NCQ lowered the XFS result:

                               MB/s    Runtime (s)
                              -----    -----------
  btrfs unstable              17.09        572
  ext3                        13.24        877
  btrfs 0.16                  12.33        793
  ntfs-3g unstable            11.52        673
  nilfs2 2nd+ runs            11.29        674
  reiserfs                     8.38        966
  xfs nobarrier                7.89        949
  nilfs2 1st run               4.95       3800
  xfs nobarrier, ncq, wc off   3.81       1973
  xfs                          1.88       3901

	Szaka

-- 
NTFS-3G:  http://ntfs-3g.org

  parent reply	other threads:[~2008-08-22 12:40 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080820004326.519405a2.akpm@linux-foundation.org>
     [not found] ` <200808201613.AA00212@capsicum.lab.ntt.co.jp>
     [not found]   ` <Pine.LNX.4.61.0808202352450.4532@dhcppc2>
     [not found]     ` <20080820143916.1a7eddab.akpm@linux-foundation.org>
     [not found]       ` <20080821021259.GA5706@disturbed>
     [not found]         ` <Pine.LNX.4.62.0808210535450.25448@tamago.serverit.net>
2008-08-21  5:15           ` XFS vs Elevators (was Re: [PATCH RFC] nilfs2: continuous snapshotting file system) Dave Chinner
2008-08-21  6:00             ` gus3
2008-08-21  6:14               ` Dave Chinner
     [not found]                 ` <200808211700.39584.nickpiggin@yahoo.com.au>
2008-08-21  8:53                   ` Dave Chinner
2008-08-21 14:52                     ` Chris Mason
     [not found]                     ` <200808211933.34565.nickpiggin@yahoo.com.au>
2008-08-21 17:08                       ` Dave Chinner
     [not found]                         ` <200808221229.11069.nickpiggin@yahoo.com.au>
2008-08-25  1:59                           ` Dave Chinner
2008-08-25 12:01                             ` Jamie Lokier
2008-08-26  3:07                               ` Dave Chinner
2008-08-26  3:50                                 ` david
2008-08-27  1:20                                   ` Dave Chinner
2008-08-27 21:54                                     ` david
2008-08-28  1:08                                       ` Dave Chinner
2008-08-21  6:04             ` Dave Chinner
2008-08-21  8:07               ` Aaron Carroll
2008-08-21  8:25               ` Dave Chinner
2008-08-21 11:02                 ` Martin Steigerwald
2008-08-21 15:00                   ` Martin Steigerwald
2008-08-21 17:10                 ` Szabolcs Szakacsits
2008-08-21 17:33                   ` Szabolcs Szakacsits
2008-08-22  2:24                     ` Dave Chinner
2008-08-22  6:49                       ` Martin Steigerwald
2008-08-22 12:44                       ` Szabolcs Szakacsits [this message]
2008-08-23 12:52                         ` Szabolcs Szakacsits
2008-08-21 11:53               ` Matthew Wilcox
2008-08-21 15:56                 ` Dave Chinner
2008-08-21 11:05 Martin Knoblauch
2008-08-21 15:59 ` Dave Chinner

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=Pine.LNX.4.61.0808221519000.4532@dhcppc2 \
    --to=szaka@ntfs-3g.org \
    --cc=akpm@linux-foundation.org \
    --cc=david@fromorbit.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xfs@oss.sgi.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox