<html><body><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div>Right. I'd also like to just add that in its current form, sharding does not support zerofill and discard operations and their development is underway.<br></div><div>As far as fallocate is concerned, it should be possible to use the operation on a sharded volume if it is invoked through posix_fallocate() API.<br></div><div><br></div><div>Also, in our testing we have found 512MB shard size to provide good performance as far as both IO and self-heal are concerned. I hope that works for you too!<br></div><div><br></div><div>-Krutika<br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Lindsay Mathieson" &lt;lindsay.mathieson@gmail.com&gt;<br><b>To: </b>"Krutika Dhananjay" &lt;kdhananj@redhat.com&gt;, "Bello Florent" &lt;florent.bello@ville-kourou.fr&gt;<br><b>Cc: </b>gluster-users@gluster.org<br><b>Sent: </b>Thursday, January 21, 2016 6:22:09 AM<br><b>Subject: </b>Re: [Gluster-users] Shard in production<br><div><br></div><div class="moz-cite-prefix">Heh, thanks Krutika.<br> <br> <br> I believe its pretty much there, have been stress testing it on our production VM cluster for weeks, though not with critical VM's. It is a huge improvement when for the heal process when dealing with large VM's. Failure modes have been very reliable to.<br> <br> Nb. All my testing has been VM's - e.g a few large files with only one process accessing them. I can't speak to the many thousands of dirs/files use case.<br> <br> <br> If you are using it for VM hosting (as you are) then it is essential that you set the "virt" group properties, other wise you will end up with VM corruption. These are the settings I've evolved over my testing:<br> <br> <tt><br> </tt><br><blockquote><tt>Options Reconfigured:</tt><br> <tt>performance.readdir-ahead: off</tt><br> <tt>features.shard: on</tt><br> <tt>features.shard-block-size: 512MB</tt><br> <tt>cluster.self-heal-window-size: 256</tt><br> <tt>server.event-threads: 4</tt><br> <tt>client.event-threads: 4</tt><br> <tt>cluster.quorum-type: auto</tt><br> <tt>cluster.server-quorum-type: server</tt><br> <tt>performance.low-prio-threads: 32</tt><br> <tt>performance.io-thread-count: 32</tt><br> <tt>performance.cache-refresh-timeout: 4</tt><br> <tt>nfs.disable: on</tt><br> <tt>nfs.addr-namelookup: off</tt><br> <tt>nfs.enable-ino32: off</tt><br> <tt>performance.write-behind: off</tt><br> <tt>performance.strict-write-ordering: on</tt><br> <tt>performance.stat-prefetch: off</tt><br> <tt>performance.quick-read: off</tt><br> <tt>performance.read-ahead: off</tt><br> <tt>performance.io-cache: off</tt><br> <tt>cluster.eager-lock: enable</tt><br> <tt>network.remote-dio: enable</tt><br> <tt>cluster.data-self-heal-algorithm: full</tt><br></blockquote><br> <br> <br> On 21/01/16 02:06, Krutika Dhananjay wrote:<br></div><blockquote cite="mid:362470944.7111136.1453305978918.JavaMail.zimbra@redhat.com"><div style="font-family: garamond,new york,times,serif; font-size:
        12pt; color: #000000" data-mce-style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000;"><div>Adding Lindsay Mathieson, who has tested sharding with VM store extensively. :)<br></div><div><br></div><div>-Krutika<br></div><hr id="zwchr"><blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid
#1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Bello Florent" <a class="moz-txt-link-rfc2396E" href="mailto:florent.bello@ville-kourou.fr" target="_blank" data-mce-href="mailto:florent.bello@ville-kourou.fr">&lt;florent.bello@ville-kourou.fr&gt;</a><br> <b>To: </b><a class="moz-txt-link-abbreviated" href="mailto:gluster-users@gluster.org" target="_blank" data-mce-href="mailto:gluster-users@gluster.org">gluster-users@gluster.org</a><br> <b>Sent: </b>Wednesday, January 20, 2016 8:12:27 PM<br> <b>Subject: </b>[Gluster-users] Shard in production<br><div><br></div><p>Hi,</p><p><br> i see recently the Shard feature is reached to stable. Soon, i want to install oVirt with Gluster Replica Storage and i guess shard feature is good for me. Can i use this feature for my VM Storage production or you guess it's not mature ?</p><br> _______________________________________________<br> Gluster-users mailing list<br> <a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org" target="_blank" data-mce-href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br> <a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank" data-mce-href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br data-mce-bogus="1"></blockquote><div><br></div></div></blockquote><br> <br><pre class="moz-signature">-- 
Lindsay Mathieson</pre></blockquote><div><br></div></div></body></html>