diskrsync icon indicating copy to clipboard operation
diskrsync copied to clipboard

Increasing order or depth of tree?

Open jeredfloyd opened this issue 6 years ago • 2 comments

I would like to increase the tree size so that I can achieve a smaller block size on a 1 TiB transfer. Before I simply do so (and add a command line option), are there any specific challenges of which I should be aware? An 8x increase in number of blocks would be sufficient to meet my needs.

jeredfloyd avatar Jan 28 '19 09:01 jeredfloyd

Specifically, would there be a concern to making the value at sync.go:206 (1048576) parameterized as something like maxBlocks? This wouldn't increase the depth, but would increase order beyond the current max of 7. Obviously this would proportionally increase the memory requirements for the Merkle tree.

jeredfloyd avatar Jan 28 '19 15:01 jeredfloyd

Should be fine

dop251 avatar Jan 28 '19 20:01 dop251