<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 11/10/2016 09:05 PM, Raghavendra G
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADRNtgRK+M7j-L8zvJcr6Uzz8mbOAzTfvy-uzGHrXCZTy_Gb6Q@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Thu, Nov 10, 2016 at 8:57 PM,
            Vijay Bellur <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:vbellur@redhat.com" target="_blank">vbellur@redhat.com</a>&gt;</span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
                class="">On Thu, Nov 10, 2016 at 3:17 AM, Nithya
                Balachandran<br>
                &lt;<a moz-do-not-send="true"
                  href="mailto:nbalacha@redhat.com">nbalacha@redhat.com</a>&gt;
                wrote:<br>
                &gt;<br>
                &gt;<br>
                &gt; On 8 November 2016 at 20:21, Kyle Johnson &lt;<a
                  moz-do-not-send="true"
                  href="mailto:kjohnson@gnulnx.net"><a class="moz-txt-link-abbreviated" href="mailto:kjohnson@gnulnx.net">kjohnson@gnulnx.net</a></a>&gt;
                wrote:<br>
                &gt;&gt;<br>
                &gt;&gt; Hey there,<br>
                &gt;&gt;<br>
                &gt;&gt; We have a number of processes which daily walk
                our entire directory tree<br>
                &gt;&gt; and perform operations on the found files.<br>
                &gt;&gt;<br>
                &gt;&gt; Pre-gluster, this processes was able to
                complete within 24 hours of<br>
                &gt;&gt; starting.  After outgrowing that single server
                and moving to a gluster setup<br>
                &gt;&gt; (two bricks, two servers, distribute, 10gig
                uplink), the processes became<br>
                &gt;&gt; unusable.<br>
                &gt;&gt;<br>
                &gt;&gt; After turning this option on, we were back to
                normal run times, with the<br>
                &gt;&gt; process completing within 24 hours.<br>
                &gt;&gt;<br>
                &gt;&gt; Our data is heavy nested in a large number of
                subfolders under /media/ftp.<br>
                &gt;<br>
                &gt;<br>
                &gt; Thanks for getting back to us - this is very good
                information. Can you<br>
                &gt; provide a few more details?<br>
                &gt;<br>
                &gt; How deep is your directory tree and roughly how
                many directories do you have<br>
                &gt; at each level?<br>
                &gt; Are all your files in the lowest level dirs or do
                they exist on several<br>
                &gt; levels?<br>
                &gt; Would you be willing to provide the gluster volume
                info output for this<br>
                &gt; volume?<br>
                &gt;&gt;<br>
                <br>
                <br>
              </span>I have had performance improvement with this option
              when the first<br>
              level below the root consisted several thousands of
              directories<br>
              without any files. IIRC, I was testing this in a 16 x 2
              setup.<br>
            </blockquote>
            <div><br>
            </div>
            <div>Yes Vijay. I remember you mentioning it. This option is
              expected to only boost readdir performance on a directory
              containing subdirectories. For files it has no effect.<br>
              <br>
            </div>
            <div>On a similar note, I think we can also skip linkto
              files in readdirp  (on brick) as dht_readdirp picks the
              dentry from subvol containing data-file.<br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    doing so will break tier_readdirp.<br>
    <br>
    Rafi KC<br>
    <br>
    <blockquote
cite="mid:CADRNtgRK+M7j-L8zvJcr6Uzz8mbOAzTfvy-uzGHrXCZTy_Gb6Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div><br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <br>
              Regards,<br>
              Vijay<br>
              <div class="HOEnZb">
                <div class="h5">______________________________<wbr>_________________<br>
                  Gluster-devel mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.gluster.org/mailman/listinfo/gluster-devel"
                    rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-devel</a><br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <br>
          -- <br>
          <div class="gmail_signature" data-smartmail="gmail_signature">Raghavendra
            G<br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>