xfs
[Top] [All Lists]

Re: mkfs.xfs questions

To: Christian Kujau <lists@xxxxxxxxxxxxxxx>
Subject: Re: mkfs.xfs questions
From: Iustin Pop <iusty@xxxxxxxxx>
Date: Fri, 1 Dec 2006 19:30:34 +0100
Cc: Jasmin Buchert <jasmin@xxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.64.0612010410530.3735@sheep.housecafe.de>
Mail-followup-to: Christian Kujau <lists@xxxxxxxxxxxxxxx>, Jasmin Buchert <jasmin@xxxxxxxxxxx>, xfs@xxxxxxxxxxx
References: <20061129174553.e0ef3465.jasmin@pacifica.ch> <Pine.LNX.4.64.0612010410530.3735@sheep.housecafe.de>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Fri, Dec 01, 2006 at 04:23:41AM +0000, Christian Kujau wrote:
> On Wed, 29 Nov 2006, Jasmin Buchert wrote:
> >Is there any real advantage of making the log size 32-64 MB and
> 
> From 'man mkfs.xfs':
> 
>    If the  log  is  contained within the data section and size isn't
>    specified, mkfs.xfs will try to select a suitable log
>    size depending on the size of the filesystem.  The actual
>    logsize depends on the filesystem block size and the directory
>    block size.
> 
>    Otherwise, the size suboption is only needed if the log
>    section of the filesystem should occupy less space than the size
>    of the special file.
> 
> So, if you're not limited by very special space restrictions, you won't 
> need the "size" option.

I don't understand how you took that conclusion. The explanations refer
to the default log size. I believe the original poster asked about the
performance advantage of *raising* the log size above the default values
for internal logs, and my impression is that metadata-intensive
workloads benefit from increasing the log size (however no hard numbers
are available).

A while back when mkfs.xfs had more conservative default value, bigger log
sizes indeed helped for big filesystems.

Regards,
Iustin


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