[Gluster-devel] Is it safe to lower SHARD_MIN_BLOCK_SIZE?
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
> enabled (https://github.com/gluster/glusterfs/issues/1148 for example).
> testing on huge files may be slow and consume a lot of system resources,
> 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
> I expect that it should be valid for disperse volumes as well. Is that so?
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gluster-devel