David Spisla
2019-Mar-01 07:48 UTC
[Gluster-users] Bitrot: Time of signing depending on the file size???
Hello folks, I did some observations concerning the bitrot daemon. It seems to be that the bitrot signer is signing files depending on file size. I copied files with different sizes into a volume and I was wonderung because the files get their signature not the same time (I keep the expiry time default with 120). Here are some examples: 300 KB file ~2-3 m 70 MB file ~ 40 m 115 MB file ~ 1 Sh 800 MB file ~ 4,5 h What is the expected behaviour here? Why does it take so long to sign a 800MB file? What about 500GB or 1TB? Is there a way to speed up the sign process? My ambition is to understand this observation Regards David Spisla -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20190301/98abc330/attachment.html>
Amudhan P
2019-Mar-01 07:59 UTC
[Gluster-users] Bitrot: Time of signing depending on the file size???
Hi David, I have also tested the bitrot signature process by default it takes < 250 KB/s. regards Amudhan P On Fri, Mar 1, 2019 at 1:19 PM David Spisla <spisla80 at gmail.com> wrote:> Hello folks, > > I did some observations concerning the bitrot daemon. It seems to be that > the bitrot signer is signing files depending on file size. I copied files > with different sizes into a volume and I was wonderung because the files > get their signature not the same time (I keep the expiry time default with > 120). Here are some examples: > > 300 KB file ~2-3 m > 70 MB file ~ 40 m > 115 MB file ~ 1 Sh > 800 MB file ~ 4,5 h > > What is the expected behaviour here? > Why does it take so long to sign a 800MB file? > What about 500GB or 1TB? > Is there a way to speed up the sign process? > > My ambition is to understand this observation > > Regards > David Spisla > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20190301/c506fd80/attachment.html>
Kotresh Hiremath Ravishankar
2019-Mar-01 17:29 UTC
[Gluster-users] [Gluster-devel] Bitrot: Time of signing depending on the file size???
Interesting observation! But as discussed in the thread bitrot signing processes depends 2 min timeout (by default) after last fd closes. It doesn't have any co-relation with the size of the file. Did you happen to verify that the fd was still open for large files for some reason? On Fri, Mar 1, 2019 at 1:19 PM David Spisla <spisla80 at gmail.com> wrote:> Hello folks, > > I did some observations concerning the bitrot daemon. It seems to be that > the bitrot signer is signing files depending on file size. I copied files > with different sizes into a volume and I was wonderung because the files > get their signature not the same time (I keep the expiry time default with > 120). Here are some examples: > > 300 KB file ~2-3 m > 70 MB file ~ 40 m > 115 MB file ~ 1 Sh > 800 MB file ~ 4,5 h > > What is the expected behaviour here? > Why does it take so long to sign a 800MB file? > What about 500GB or 1TB? > Is there a way to speed up the sign process? > > My ambition is to understand this observation > > Regards > David Spisla > _______________________________________________ > Gluster-devel mailing list > Gluster-devel at gluster.org > https://lists.gluster.org/mailman/listinfo/gluster-devel-- Thanks and Regards, Kotresh H R -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20190301/3d6a2064/attachment.html>