| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: XFS vs Elevators (was Re: [PATCH RFC] nilfs2: continuous snapshotting file system) |
| From: | Szabolcs Szakacsits <szaka@xxxxxxxxxxx> |
| Date: | Sat, 23 Aug 2008 15:52:31 +0300 (MET DST) |
| Cc: | Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <Pine.LNX.4.61.0808221519000.4532@dhcppc2> |
| References: | <200808201613.AA00212@xxxxxxxxxxxxxxxxxxxxxx> <Pine.LNX.4.61.0808202352450.4532@dhcppc2> <20080820143916.1a7eddab.akpm@xxxxxxxxxxxxxxxxxxxx> <20080821021259.GA5706@disturbed> <Pine.LNX.4.62.0808210535450.25448@xxxxxxxxxxxxxxxxxxx> <20080821051508.GB5706@disturbed> <20080821060418.GC5706@disturbed> <20080821082532.GE5706@disturbed> <Pine.LNX.4.61.0808211447060.4532@dhcppc2> <Pine.LNX.4.61.0808212031050.4532@dhcppc2> <20080822022459.GL5706@disturbed> <Pine.LNX.4.61.0808221519000.4532@dhcppc2> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
On Fri, 22 Aug 2008, Szabolcs Szakacsits wrote:
> 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
Retested with a different disk, SATA-II, NCQ, capable of 70-110 MB/s
read/write:
MB/s Runtime (s)
----- -----------
btrfs unstable, no dup 51.42 168
btrfs unstable 42.67 197
ext4 2.6.26 35.63 245
nilfs2 2nd+ runs 26.43 287
ntfs-3g unstable 21.41 370
ext3 19.92 559
xfs nobarrier 14.17 562
reiserfs 13.11 595
nilfs2 1st run 12.06 3719
xfs nobarrier, ncq, wc off 6.89 1070
xfs 1.95 3786
Szaka
--
NTFS-3G: http://ntfs-3g.org
|
| Previous by Date: | Re: agi unlinked bucket, Christian Kujau |
|---|---|
| Next by Date: | Re: [PATCH 3/3] Add timeout feature, Oleg Nesterov |
| Previous by Thread: | Re: XFS vs Elevators (was Re: [PATCH RFC] nilfs2: continuous snapshotting file system), Szabolcs Szakacsits |
| Next by Thread: | Re: XFS vs Elevators (was Re: [PATCH RFC] nilfs2: continuous snapshotting file system), Matthew Wilcox |
| Indexes: | [Date] [Thread] [Top] [All Lists] |