<div dir="ltr"><div><div>For the case of reading from Glusterfs mount, read-ahead should help. However, we&#39;ve known issues with read-ahead[1][2]. To work around these, can you try with,<br><br></div>1. Turn off performance.open-behind<br></div>#gluster volume set &lt;volname&gt; performance.open-behind off<br><br><div>2. enable group meta metadata-cache<br>
# gluster volume set  &lt;volname&gt; group metadata-cache<br><br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 21, 2018 at 5:00 AM, Pat Haley <span dir="ltr">&lt;<a href="mailto:phaley@mit.edu" target="_blank">phaley@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi,<br>
<br>
We were recently revisiting our problems with the slowness of gluster writes (<a href="http://lists.gluster.org/pipermail/gluster-users/2017-April/030529.html" rel="noreferrer" target="_blank">http://lists.gluster.org/pipe<wbr>rmail/gluster-users/2017-April<wbr>/030529.html</a>). Specifically we were testing the suggestions in a recent post (<a href="http://lists.gluster.org/pipermail/gluster-users/2018-March/033699.html" rel="noreferrer" target="_blank">http://lists.gluster.org/pipe<wbr>rmail/gluster-users/2018-March<wbr>/033699.html</a>). The first two suggestions (specifying a negative-timeout in the mount settings or adding rpc-auth-allow-insecure to glusterd.vol) did not improve our performance, while setting &quot;disperse.eager-lock off&quot; provided a tiny (5%) speed-up.<br>
<br>
Some of the various tests we have tried earlier can be seen in the links below.  Do any of the above observations suggest what we could try next to either improve the speed or debug the issue?  Thanks<br>
<br>
<a href="http://lists.gluster.org/pipermail/gluster-users/2017-June/031565.html" rel="noreferrer" target="_blank">http://lists.gluster.org/piper<wbr>mail/gluster-users/2017-June/0<wbr>31565.html</a><br>
<a href="http://lists.gluster.org/pipermail/gluster-users/2017-May/030937.html" rel="noreferrer" target="_blank">http://lists.gluster.org/piper<wbr>mail/gluster-users/2017-May/03<wbr>0937.html</a><br>
<br>
Pat<br>
<br>
-- <br>
<br>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<wbr>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=<wbr>-=-=-<br>
Pat Haley                          Email:  <a href="mailto:phaley@mit.edu" target="_blank">phaley@mit.edu</a><br>
Center for Ocean Engineering       Phone:  (617) 253-6824<br>
Dept. of Mechanical Engineering    Fax:    (617) 253-8125<br>
MIT, Room 5-213                    <a href="http://web.mit.edu/phaley/www/" rel="noreferrer" target="_blank">http://web.mit.edu/phaley/www/</a><br>
77 Massachusetts Avenue<br>
Cambridge, MA  02139-4301<br>
<br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org" target="_blank">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/mailm<wbr>an/listinfo/gluster-users</a></blockquote></div><br></div></div></div></div></div></div>