Comments (11)
from b2_command_line_tool.
I tried the pypy install and the default threads and it locked up for a several hours and now it is running ok. It's slow and this snapshot is 1.5tb and after 24 hours I'm less than halfway done. Would this work better on a PC? As it sits, B2 is not a viable option if recovery is going to to take days. I'm trialing the service for production use with client data, and I can only imagine a scenario where an office is down and I can't download the backups.
from b2_command_line_tool.
Cheap NAS devices can have notoriously low performance. I've been doing really fast downloads from B2 using the CLI and it was more than fine. The speed depends on what you run it on. For best performance use a fast CPU, really fast network (DigitalOcean will cut you off at a mere 2Gbps) and the newest version of python. Preferably on linux.
EDIT: perhaps the issue might be with the NAS taking a literal approach to TRIM command, preallocationg space for the target by zeroing it?
from b2_command_line_tool.
I think it may be the external drive connected to the NAS. Looking into the issue. Computer is an M2 MBP, NAS is QNAP TVS-472XT with an i5, network is 10Gb, but MBR has 2.5Gb connection. I will update if I discover something. Making room on a USB 3.2 G2 external SSD now to test again. Thanks for your help.
from b2_command_line_tool.
You might want to test your device with hdparm
and you might also want to test b2 itself on a ram drive - just kill the transfer before you run out of memory.
from b2_command_line_tool.
Tested with Blackmagic Disk Speed Test on the original target (USB3.0 external connected to NAS) and got all of 12Mbs write speeds, lol. I'll look into why later, but I was able to download a 1.5tb file using the download-file-by-name command successfully, although it did seem to slow down after about 15%. Took 4h24m to complete with 75 threads. The internal drives of the NAS speeds are at around 250mbs write and I will attempt the 6.5Tb file later, I need to rearrange some data first. Thanks for your help.
I will update if I am able to download the larger file.
from b2_command_line_tool.
I'd say this is probably too many threads, though if the array is rebuilding or scanning, that might actually be a correct amount I guess?
from b2_command_line_tool.
Pawel, I would be remiss if I said I knew enough about threads to make an informed decision. I tried to delve into the concept, but just ended up trying different settings to see what would provide the fastest connection. I have too much on my plate atm to give it the focus it deserves. I've cleared some space on the NAS and I'm ready to try the larger snapshot. How many threads do you recommend?
from b2_command_line_tool.
from b2_command_line_tool.
WD Red Pro 10Tb, Raid 5 ZFS, QNAP running QutsHero, 1 Gig cable Internet, 10Gb Network with 2.5Gb connection to Mac.
I was toying with the idea of setting up a VM on the NAS and eliminating the MBP from the loop.
from b2_command_line_tool.
I suggest that you use 24 threads, unless you are in Asia or Australia, then 48.
from b2_command_line_tool.
Related Issues (20)
- Install from source documentation section should be updated to PDM
- Prevent writing b2 file information to stdout when using download-file HOT 2
- [Question or Feature Request] Excluding Symbolic Links HOT 2
- Official Docker Image ? HOT 3
- delete_file_version needs bypassGovernance option HOT 1
- Can't upload FIFOs with upload-file HOT 6
- UnicodeEncodeError: 'ascii' codec can't encode character '\u2022' in position 1325: ordinal not in range(128) HOT 1
- [Question] Explain how sync between buckets work; slow overall speed HOT 8
- b2sdk.exception.InvalidAuthToken: Invalid authorization token. Server said: (bad_auth_token) HOT 2
- Error when resuming upload HOT 2
- switch to stable pypy version after new pypy is released HOT 2
- b2 ls --json destroys output structure with informational message HOT 1
- `Using https://api.backblazeb2.com` output to stderr causing problems for automation that only expects errors and warnings on stderr
- pip install breaks with setuptools 69.0.0 HOT 3
- b2 should respect the spec's default fallback for `XDG_CONFIG_HOME` HOT 4
- Feature request: Support transparent compression HOT 1
- error: the following arguments are required: command HOT 5
- Issue with b2 sync :: KeyError: 'content-length' HOT 11
- Package `b2` for Alpine Linux HOT 5
- Linux.Xor.DDoS false-positive from chkrootkit due PyInstaller use
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from b2_command_line_tool.