Skip to contentSkip to conversation

logbufs default value

DISCUSSION Michael Weissenbacher 2 participants 2 messages May 28, 2011 – May 31, 2011

lore
Share & tools
lore
#0 lore raw

Hi List!

Quoted 1 line

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
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 13 lines · Michael Weissenbacher

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.

Quoted 2 lines

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.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs