parameter strong_len in function rs_sig_file in librsync 1.0.0 (to generate the signature)

63 views
Skip to first unread message

stepha...@gmail.com

unread,
Mar 20, 2015, 4:43:14 AM3/20/15
to libr...@googlegroups.com
Hi,

I have put the parameter strong_len=RS_BLAKE2_SUM_LENGTH in the function rs_sig_file. ( I use BLAKE2)
I want to test the generation of signature in rs_sig_file with strong_len=8 or strong_len=16 because with big files (size>= 4Gb) the generation of deltas files after with rs_delta_file takes a lot of time (25 minutes about with a 4.04 Gb file).I have put too a paramter block_len=1024 in the function rs_sig_file.
If I put a parameter strong_len of 8 or 16 what is the consequence ?

bests regards


Stéphane

stepha...@gmail.com

unread,
Mar 20, 2015, 10:33:26 AM3/20/15
to libr...@googlegroups.com, stepha...@gmail.com
I have tested with strong_len=16 and with a big file it takes so long to generate a delta as with strong_len=RS_BLAKE2_SUM_LENGTH.
I have tested rdiff in 64 bits and it seems to be a little bit faster than in 32 bits.

bests regards.

stephane


stepha...@gmail.com

unread,
Mar 20, 2015, 11:47:16 AM3/20/15
to libr...@googlegroups.com, stepha...@gmail.com
Le vendredi 20 mars 2015 09:43:14 UTC+1, stepha...@gmail.com a écrit :
I have found a solution for my problem with large files.I put the input and output buffer =16Mb -rs_inbuflen=16777216 and rs_outbuflen- and I put the size of blocks =1Mb in the rs_sig_file function.

Stephane


Reply all
Reply to author
Forward
0 new messages