<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 30, 2018 at 8:08 PM, Davide Obbi <span dir="ltr"><<a href="mailto:davide.obbi@booking.com" target="_blank">davide.obbi@booking.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Amar,<div><br></div><div>i have enabled the negative lookups cache on the volume:</div><div><br></div><div>To deflate a tar archive (not compressed) of 1.3GB it takes aprox 9mins which can be considered a slight improvement from the previous 12-15 however still not fast enough compared to local disk. The tar is present on the gluster share/volume and deflated inside the same folder structure.</div></div></blockquote><div><br></div><div>I am assuming this is with parallel-readdir enabled, right?</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Running the operation twice (without removing the already deflated files) also did not reduce the time spent.</div><div><br></div><div>Running the operation with the tar archive on local disk made no difference</div><div><br></div><div>What really made a huge difference while git cloning was setting "performance.parallel-readdir on". During the phase "Receiving objects" , as i enabled the xlator it bumped up from 3/4MBs to 27MBs</div></div></blockquote><div><br></div><div>What is the distribute count? Is it 1x3 replica?</div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>So in conclusion i'm trying to make the untar operation working at an acceptable level, not expecting local disks speed but at least being within the 4mins</div><div><br></div><div>I have attached the profiles collected at the end of the untar operations with the archive on the mount and outside</div><div><br></div><div>thanks</div><div>Davide</div><div><br></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 28, 2018 at 8:41 AM Amar Tumballi <<a href="mailto:atumball@redhat.com" target="_blank">atumball@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">One of the observation we had with git clone like work load was, nl-cache (negative-lookup cache), helps here.<div><br></div><div>Try 'gluster volume set $volume-name nl-cache enable'.</div><div><br></div><div>Also sharing the 'profile info' during this performance observations also helps us to narrow down the situation.</div><div><br></div><div>More on how to capture profile info @ <a href="https://hackmd.io/PhhT5jPdQIKxzfeLQmnjJQ?view" target="_blank">https://hackmd.io/<wbr>PhhT5jPdQIKxzfeLQmnjJQ?view</a></div><div><br></div><div>-Amar</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 23, 2018 at 7:11 PM, Davide Obbi <span dir="ltr"><<a href="mailto:davide.obbi@booking.com" target="_blank">davide.obbi@booking.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><br>did anyone ever managed to achieve reasonable waiting time while performing metadata intensive operations such as git clone, untar etc...? Is this possible workload or will never be in scope for glusterfs?<div><br>I'd like to know, if possible, what would be the options that affect such volume performances.<br>Albeit i managed to achieve decent git status/git grep operations, 3 and 30 secs, the git clone and untarring a file from/to the same share take ages. for a git repo of aprox 6GB.<br><br><div>I'm running a test environment with 3 way replica 128GB RAM and 24 cores are 2.40GHz, one internal SSD dedicated to the volume brick and 10Gb network</div><div><br><div>The options set so far that affects volume performances are:<br> 48 performance.readdir-ahead: on <br> 49 features.cache-invalidation-<wbr>timeout: 600 <br> 50 features.cache-invalidation: on <br> 51 performance.md-cache-timeout: 600 <br> 52 performance.stat-prefetch: on <br> 53 performance.cache-<wbr>invalidation: on <br> 54 performance.parallel-readdir: on <br> 55 network.inode-lru-limit: 900000 <br> 56 performance.io-thread-count: 32 <br> 57 performance.cache-size: 10GB</div></div></div></div>
<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="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_2054578596796752721m_6135096272534325129m_8587282507989722834m_-159724758825858482gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Amar Tumballi (amarts)<br></div></div></div></div></div>
</div>
</blockquote></div><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div dir="ltr" class="m_2054578596796752721m_6135096272534325129m_8587282507989722834gmail_signature" data-smartmail="gmail_signature"><span style="display:block;font-size:11.0pt;font-family:Century Gothic;color:#003580"><div style="color:rgb(0,53,128);font-family:Arial,Helvetica,sans-serif;font-weight:bold;font-size:15px"><div>Davide Obbi</div><div style="font-weight:normal;font-size:13px;color:rgb(0,174,239)">System Administrator<br><br></div><div style="font-weight:normal;font-size:13px;color:rgb(102,102,102)">Booking.com B.V.<br>Vijzelstraat 66-80 Amsterdam 1017HL Netherlands</div><div style="font-weight:normal;font-size:13px;color:rgb(102,102,102)"><span style="color:rgb(0,174,239)">Direct </span>+31207031558<br></div><div style="font-weight:normal;font-size:13px;color:rgb(102,102,102)"><div style="font-weight:bold;font-size:16px;color:rgb(0,53,128)"><a href="https://www.booking.com/" style="color:rgb(0,127,255);background-image:initial;background-position:initial;background-repeat:initial" target="_blank"><img src="https://bstatic.com/static/img/siglogo.jpg" alt="Booking.com" title="Booking.com"></a></div><span style="font-size:11px">The world's #1 accommodation site <br>43 languages, 198+ offices worldwide, 120,000+ global destinations, 1,550,000+ room nights booked every day <br>No booking fees, best price always guaranteed <br></span><span style="font-size:11px">Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)</span><span style="font-size:11px"><br></span></div></div></span></div>
</font></span><br>______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="https://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">https://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div>