<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <div class="moz-cite-prefix">On 11/18/2014 04:14 PM, Lindsay
      Mathieson wrote:<br>
    </div>
    <blockquote cite="mid:1648831.TBTquAapmk@lindsay-office" type="cite">
      <pre wrap="">On Tue, 18 Nov 2014 02:36:19 PM Pranith Kumar Karampuri wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 11/18/2014 01:17 PM, Lindsay Mathieson wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">On 18 November 2014 17:40, Pranith Kumar Karampuri <a class="moz-txt-link-rfc2396E" href="mailto:pkarampu@redhat.com">&lt;pkarampu@redhat.com&gt;</a> 
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">wrote:
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">
However given the files are tens of GB in size, won't it thrash my
network?
</pre>
        </blockquote>
        <pre wrap="">
Yes you are right. I wonder why thrashing of the network is never
reported till now.
</pre>
      </blockquote>
      <pre wrap="">
Not sure if you are being sarcastic or not :) But from what I've observed, 
sync operations seem to self throttle, I've not seen them use more than 50% of 
bandwidth, and given most setups have a dedicated network for the servers 
maybe they just don't notice if it takes a while?</pre>
    </blockquote>
    No, I was not being sarcastic :-). I am genuinely wondering why it
    is not reported till now. May be Joe will have more inputs there,
    that is the reason I CCed him.<br>
    <blockquote cite="mid:1648831.TBTquAapmk@lindsay-office" type="cite">
      <pre wrap="">

</pre>
      <blockquote type="cite">
        <pre wrap="">I still need to think about how best to solve this problem.
</pre>
      </blockquote>
      <pre wrap="">
Setup a array of queues for self healing, sorted by size maybe?

</pre>
      <blockquote type="cite">
        <pre wrap="">
Let me tell you a bit more about this issue:
there are two processes which heal the VM images:
1) self-heal-daemon. 2) Mount process.
Self-heal daemon heals one VM image at a time. But mount process
triggers self-heals for all the opened files(VM image is nothing but an
opened file from filesystem's perspective) when a brick goes down and
comes backup.
</pre>
      </blockquote>
      <pre wrap="">

Thanks, interesting to know.

</pre>
      <blockquote type="cite">
        <pre wrap="">So we need to come up with a scheme to throttle self-heals
on the mount point to prevent this issue. I will update you as soon as I
come up with a fix. This should not be hard to do. Need some time to
choose the best approach. Thanks a lot for bringing up this issue.
</pre>
      </blockquote>
      <pre wrap="">
Thanks you for looking at it!

Cheers,


</pre>
      <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://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>