xfs
[Top] [All Lists]

Re: mkfs.xfs questions

To: Christian Kujau <christian@xxxxxxxxxxxxxxx>
Subject: Re: mkfs.xfs questions
From: David Chinner <dgc@xxxxxxx>
Date: Wed, 6 Dec 2006 08:26:49 +1100
Cc: Iustin Pop <iusty@xxxxxxxxx>, xfs@xxxxxxxxxxx, jasmin@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.64.0612051741520.22257@xxxxxxxxxxxxxxxxxx>
References: <20061129174553.e0ef3465.jasmin@xxxxxxxxxxx> <Pine.LNX.4.64.0612010410530.3735@xxxxxxxxxxxxxxxxxx> <20061201183034.GA20595@xxxxxxxxxxxxxxxxx> <Pine.LNX.4.64.0612012349020.3735@xxxxxxxxxxxxxxxxxx> <20061202111546.GA18661@xxxxxxxxxxxxxxxxx> <Pine.LNX.4.64.0612051741520.22257@xxxxxxxxxxxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Tue, Dec 05, 2006 at 05:46:15PM +0000, Christian Kujau wrote:
> On Sat, 2 Dec 2006, Iustin Pop wrote:
> >Hmm, I am pretty sure that it makes a difference, but only from personal
> >experience, not from benchmarks. A while ago, mkfs.xfs used to make <8M
> >logs even for big filesystems[0]. Nowadays it chooses a more sane value.
> 
> I could not stand my own curiosity, so here it is: 
> http://nerdbynature.de/wp/?cat=4

One line summary:

"The results however are a bit boring and I for one have no reason to tweak
these options for a desktop machine."

For that data set size you tested. However you might find a
difference if your tests actually write the data back to disk
because a lot of the tests are running out of cache.

> I think I'll repeat the benchmarks with bigger test sizes. The 
> testscript can easily be adjusted to test more options/values.

I think you need to to have any hope of demonstrating a
difference in performance from the mkfs/mount options.

Typically, you need to be writing/reading files at least 2x the
size of memory and create/delete a fileset of at least 1,000,000
files to really determine differences in performance from
these parameters...

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


<Prev in Thread] Current Thread [Next in Thread>