[Top] [All Lists]

Re: logbufs default value

To: Michael Weissenbacher <mw@xxxxxxxxxxxx>
Subject: Re: logbufs default value
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 31 May 2011 10:11:27 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <4DE0A80C.7060806@xxxxxxxxxxxx>
References: <4DE0A80C.7060806@xxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Sat, May 28, 2011 at 09:45:16AM +0200, Michael Weissenbacher wrote:
> Hi List!
> From linux-2.6.39/Documentation/filesystems/xfs.txt:
>   logbufs=value
>         Set the number of in-memory log buffers.  Valid numbers range
>         from 2-8 inclusive.
>         The default value is 8 buffers for filesystems with a
>         blocksize of 64KiB, 4 buffers for filesystems with a blocksize
>         of 32KiB, 3 buffers for filesystems with a blocksize of 16KiB
>         and 2 buffers for all other configurations.  Increasing the
>         number of buffers may increase performance on some workloads
>         at the cost of the memory used for the additional log buffers
>         and their associated control structures.
> Is this still valid? I thought that newer kernels would always use 8 as
> default?

No, it's not. Patches to fix the documentation are welcome.


Dave Chinner

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