<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 10/08/2014 02:15 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:justglusterfs@gmail.com">justglusterfs@gmail.com</a> wrote:<br>
    </div>
    <blockquote cite="mid:201410081645090458151@gmail.com" type="cite">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <style>body { line-height: 1.5; }body { font-size: 10.5pt; font-family: å¾®è½¯é›…黑; color: rgb(0, 0, 0); line-height: 1.5; }</style>
      <div><span></span>
        <div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;">Hi
            all:</div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"> 
            Â  Â  I do the Â following test:</div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"> 
            Â  Â <span style="font-size: 10.5pt; line-height: 1.5;
              background-color: window;">I create a glusterfs Â </span><span
              style="font-size: 10.5pt; line-height: 1.5;
              background-color: window;">replica volume (replica count
              is 2 ) with two server node(server A and server B),use XFS
              as the underlying filesystem, Â then Â mount the volume in
              client node,</span></div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><span
              style="font-size: 10.5pt; line-height: 1.5;
              background-color: window;"> </span><span
              style="line-height: 1.5;">   then, I Â s</span><span
              style="line-height: 24px;">hut down the network of server
              A node, in Â client node, I copy a dir(which has a</span><span
              style="line-height: 24px;"> lot of small files</span><span
              style="line-height: 24px;">), the dir size is <b>2.9GByte,</b></span></div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><span
              style="line-height: 24px;">  Â  when Â copy finish, I
              unmount the volume from the Â client, then I start the
              network of server A node, Â  now, glusterfs
              Â self-heal-daemon start heal dir Â from Â server B to
              Â server Â A, </span></div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><span
              style="line-height: 24px;">  Â  in the Â end, Â I find the
              self-heal-daemon Â  heal the Â dir <b>use Â 40 m</b></span><span
              style="line-height: 19.1875px;"><b>inutes, </b> </span><span
              style="line-height: 24px;"><b>It's too slow! Â why?</b></span></div>
        </div>
      </div>
    </blockquote>
    <blockquote cite="mid:201410081645090458151@gmail.com" type="cite">
      <div>
        <div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><span
              style="line-height: 24px;">  Â I Â </span><span
              style="line-height: 24px;"> </span><span
              style="line-height: 24px;">find out Â  r</span><span
              style="line-height: 19.1875px;">elated</span><span
              style="line-height: 24px;"> options Â with Â self-heal, as
              Â follow:</span></div>
        </div>
      </div>
    </blockquote>
    Sorry for the delay in response. It is better to enable profile on
    the volume and find what is happening. Just before restoring the
    network connection, enable profiling using 'gluster volume profile
    &lt;volname&gt; start' Let the healing complete. Give the output of
    'gluster volume profile &lt;volname&gt; info' output. We can check
    that to figure out what is happening.<br>
    <br>
    Pranith<br>
    <blockquote cite="mid:201410081645090458151@gmail.com" type="cite">
      <div>
        <div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><b><span
                style="line-height: 24px;">  Â </span><span
                style="line-height: 1.5;">cluster.self-heal-window-size</span></b></div>
          <span style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"></span>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><b> 
              Â <span style="text-align: justify; text-indent: 21pt;
                line-height: 1.5;">cluster.self-heal-readdir-size</span></b></div>
          <span style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><b> 
              Â <span lang="X-NONE">cluster.background-self-heal-count</span></b></span></div>
        <div><font face="微软雅黑, Tahoma"><span style="line-height:
              normal;"><b><br>
              </b></span></font></div>
        <div><font face="微软雅黑, Tahoma"><span style="line-height:
              normal;"><b>  Â </b></span></font></div>
        <div><font face="微软雅黑, Tahoma"><span style="line-height:
              normal;"><b>  then Â I Â config :</b></span></font></div>
        <div><b style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><span
              style="line-height: 24px;">  </span><span
              style="line-height: 1.5;">cluster.self-heal-window-size
              Â is Â 1024(max value)</span></b></div>
        <div><font face="微软雅黑, Tahoma"><b>  <span lang="EN-US">cluster.self-heal-readdir-size
                Â  is  131072(max Â value)</span></b></font></div>
        <div><font face="微软雅黑, Tahoma"><b>  Â </b></font></div>
        <div><b><font face="微软雅黑, Tahoma">  and Â then Â do Â the Â same
              Â test case, Â find Â this times Â heal the dir Â use 35
              minutes, Â Â </font></b><span style="line-height: 24px;"><font
              face="微软雅黑, Tahoma"><b>The effective is not obvious, </b></font></span></div>
        <div><font face="微软雅黑, Tahoma"><b>  <br>
            </b></font>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><b><br>
            </b></div>
          <div style="line-height: normal;"><span style="font-family:
              å¾®è½¯é›…黑, Tahoma;"> </span><font face="微软雅黑, Tahoma"><b> I
                Â want Â to ask, Â <span style="line-height: 24px;">If
                  there are better ways to improve replica volume self
                  heal Â lots of small file Â </span><a
                  moz-do-not-send="true" class="clickable
                  js-inline-clickable" style="line-height: 24px; margin:
                  0px; padding: 0px; border: 0px; outline: 0px; cursor:
                  pointer;">performance??</a></b></font></div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><span
              style="line-height: 24px;">  </span></div>
          <div style="font-family: å¾®è½¯é›…黑, Tahoma; line-height: normal;"><span
              style="line-height: 24px;">  thanks!</span></div>
        </div>
      </div>
      <div><br>
      </div>
      <hr style="width: 210px; height: 1px;" size="1" align="left"
        color="#b5c4df">
      <div><span>
          <div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE:
            10pt">
            <div><a class="moz-txt-link-abbreviated" href="mailto:justglusterfs@gmail.com">justglusterfs@gmail.com</a></div>
          </div>
        </span></div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-devel">http://supercolony.gluster.org/mailman/listinfo/gluster-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>