Re: Maximising Heal Speed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm with thousands of entries that need heal and need to be reported by heal-info, it seems that it is quite likely for
heal-info to take some time to report since it takes locks to examine if a file needs heal or not, and the self-heal daemon
is also a contender for the same lock.

`heal statistics heal-count` seems like a neat workaround that way.

-Krutika

On Thu, Apr 14, 2016 at 8:12 PM, Lindsay Mathieson <lindsay.mathieson@xxxxxxxxx> wrote:
On 15/04/2016 12:37 AM, Pranith Kumar Karampuri wrote:
You mean heal info exiting faster? Krutika sent the patch for it.

Sorry, typo on my part - I meant that I'm quite happy with the existing heal :)

Regards heal info - still very slow (tens of seconds) when 1000's of shards need healing and iowait is high.

Bu I found "gluster volume heal <DS> statistics heal-count" which is perfect for my needs, it returns immediately and displays the number of shards to be healed.

Usually I don't need to know the individual shard details, I just need a count so I can monitor progress.

--
Lindsay Mathieson


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux