[Gluster-devel] Is it safe to lower SHARD_MIN_BLOCK_SIZE?

Krutika Dhananjay kdhananj at redhat.com
Tue Apr 14 09:16:24 UTC 2020

So SHARD_MIN_BLOCK_SIZE is currently hardcoded to 4MB.
If you want to reduce that value further (purely for the sake of testing,
not recommended otherwise), you will need to change its value in the source
code here -
and recompile the code. And then set features.shard-block-size to whatever
value you intend to use.
I'd also suggest disabling performance.quick-read before you run your tests.


On Mon, Apr 13, 2020 at 7:44 PM Dmitry Antipov <dmantipov at yandex.ru> wrote:

> I'm trying to investigate a few issues found on disperse volumes with
> sharding
> enabled (https://github.com/gluster/glusterfs/issues/1148 for example).
> Since
> testing on huge files may be slow and consume a lot of system resources,
> I'm
> trying to scale SHARD_MIN_BLOCK_SIZE down to very small values, say 4K, and
> use 1-4M files for testing. Since this tweak doesn't break replica 3
> volumes,
> I expect that it should be valid for disperse volumes as well. Is that so?
> Dmitry
> _______________________________________________
> Community Meeting Calendar:
> Schedule -
> Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
> Bridge: https://bluejeans.com/441850968
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> https://lists.gluster.org/mailman/listinfo/gluster-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20200414/11377ea2/attachment.html>

More information about the Gluster-devel mailing list