We talk about this in the user's guide.
1. Always use 4K blocksize.
2. Never set the cluster size less than the database block size.
Having a smaller cluster size could mean that a db block may not be contiguous.
And you don't want that for performance and other reasons. Having a still
larger
cluster size is an easy way to ensure the files are contiguous. Contiguity can
only
help perf.
On 11/14/2011 03:35 PM, Pravin K Patil wrote:> Hi All,
> Is there a benchmark study done different block sizes of ocfs2 and
corrosponding db_block_size and its impact on read / write?
> Similar way s there any study done for cluster size of ocfs2 and
corrosponding db_block_size and its impact on read / write?
> For example if the db_block_size is 8K and if we have ocfs2 cluster size as
4K will it have any performance impact or in other words, if we make cluster
size of file systems on which data files are located as 8K will it improve
performance? if so is it for read or write?
> Looking for actual expereince on the settings of ocfs2 block size, cluster
size and db_block_size corelation.
>
> Regards,
> Pravin
>