-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeouts and unreliable progress reporting for large --set-datapack-growfactor #791
Comments
About the packsize-tuning-options:
Actually not really. The targeted packsize for data packs is computed by: A better option in your case would be to pick a fixed multiple of 64 MiB (e.g. 64, 128 or 180) and substract some MiB (as you did) to ensure you'll really land below. But then use |
About the progress: I think this is a known issue in indicatif which (IIRC) is solved in some newer versions - which now use a exponential estimator. So, maybe #790 already solves this - which would mean it will be in the upcoming 0.6.0 release. Another possibility for older rustic versions is to adjust the progress bar update using |
Thank you! It's 0.5.4.
Ah I just realized something: my repo is currently at 256 GB, so the targeted packsize is actually about 1GiB.. It's probably a lot to transfer reliably over a 100 Mbps line..
I never realized I could set the growfactor to zero! I'll try this and report back. Thanks! |
I think this worked, thanks! The maximum datapack size ended up staying at 79MiB, which is less than it was with the default config. Perhaps deleting old snapshots and/or doing a full repack would bring it even closer to 64MiB, but this is good enough for now. Would it make sense to explicitly say that it's possible to set the growth factor to zero?
Unfortunately this didn't help much.. That said, I'll gladly wait for 0.6.0. Closing now, thank you! |
This may well be a misunderstanding on my part of how the growfactor works, but please bear with me.
I'm backing up to storj, where they charge a small per-segment fee. To optimize for this fee, files should be multiples of 64MiB in size. I've set the datapack size to be 60MiB, and the datapack growfactor to be 64MiB (1024). I believe this ensures that files are a tad smaller than a multiple of 64MiB.
Unfortunately, after increasing the growfactor I get consistent timeouts:
Does it make sense to use the growfactor this way? Are there any unexpected consequences, apart from the timeouts?
Increasing the repository timeout does prevent the errors:
Unfortunately it makes the progress bar completely unusable. I get short bouts of high data rate followed by long periods where it seems to stall:
Measuring with
vnstat -l
reveals that the real datarate is actually ok at slightly above 100 Mbps (my line limit) with a few short periods at 50 or 60 Mbps.The text was updated successfully, but these errors were encountered: