Skip to content

Trying to understand --set-datapack-growfactor/--set-treepack-growfactor #979

Answered by aawsome
kapitainsky asked this question in Q&A
Discussion options

You must be logged in to vote

What will be pack size for 5TiB (5120GiB) repo?

SQRT(5120) = 71.55

So am I correct that pack size in this case = 32 kiB * 32 * 71.55 = 73267 kiB = 72 MiB ?

Correct - your default datapack size is increased by 72MiB in this case. With a default size of 32 MiB this will result in targeted pack sizes of 104 MiB, then.

N.B: 32kiB * 32 = 1 MiB. This means the default is to increase the pack size by 1 MiB per sqrt(total size in GiB).

Some Examples using the default values:

  • 1 GiB total size => 33 MiB targeted packsize
  • 100 GiB total size => 42 MiB targeted packsize
  • 1600 GiB total size => 72 MiB targetd packsize

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@kapitainsky
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kapitainsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants