<div dir="ltr"><div>So SHARD_MIN_BLOCK_SIZE is currently hardcoded to 4MB.</div><div>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 - <a href="https://github.com/gluster/glusterfs/blob/43ed6fa34b259b568ae1442b65a5004a894a2654/xlators/features/shard/src/shard.h#L21">https://github.com/gluster/glusterfs/blob/43ed6fa34b259b568ae1442b65a5004a894a2654/xlators/features/shard/src/shard.h#L21</a></div><div>and recompile the code. And then set features.shard-block-size to whatever value you intend to use.</div><div>I&#39;d also suggest disabling performance.quick-read before you run your tests.</div><div><br></div><div>-Krutika<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 13, 2020 at 7:44 PM Dmitry Antipov &lt;<a href="mailto:dmantipov@yandex.ru">dmantipov@yandex.ru</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I&#39;m trying to investigate a few issues found on disperse volumes with sharding<br>
enabled (<a href="https://github.com/gluster/glusterfs/issues/1148" rel="noreferrer" target="_blank">https://github.com/gluster/glusterfs/issues/1148</a> for example). Since<br>
testing on huge files may be slow and consume a lot of system resources, I&#39;m<br>
trying to scale SHARD_MIN_BLOCK_SIZE down to very small values, say 4K, and<br>
use 1-4M files for testing. Since this tweak doesn&#39;t break replica 3 volumes,<br>
I expect that it should be valid for disperse volumes as well. Is that so?<br>
<br>
Dmitry<br>
_______________________________________________<br>
<br>
Community Meeting Calendar:<br>
<br>
Schedule -<br>
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC<br>
Bridge: <a href="https://bluejeans.com/441850968" rel="noreferrer" target="_blank">https://bluejeans.com/441850968</a><br>
<br>
<br>
<br>
<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org" target="_blank">Gluster-devel@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">https://lists.gluster.org/mailman/listinfo/gluster-devel</a><br>
<br>
</blockquote></div>