public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* logbufs default value
@ 2011-05-28  7:45 Michael Weissenbacher
  2011-05-31  0:11 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Weissenbacher @ 2011-05-28  7:45 UTC (permalink / raw)
  To: xfs

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?

tia,
Michael

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: logbufs default value
  2011-05-28  7:45 logbufs default value Michael Weissenbacher
@ 2011-05-31  0:11 ` Dave Chinner
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2011-05-31  0:11 UTC (permalink / raw)
  To: Michael Weissenbacher; +Cc: xfs

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.

Cheers,

Dave.
-- 
Dave Chinner
david@fromorbit.com

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-31  0:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-28  7:45 logbufs default value Michael Weissenbacher
2011-05-31  0:11 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox