GithubHelp home page GithubHelp logo

Comments (11)

ppolewicz avatar ppolewicz commented on July 23, 2024 1

from b2_command_line_tool.

buzaw0nk avatar buzaw0nk commented on July 23, 2024

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.

ppolewicz avatar ppolewicz commented on July 23, 2024

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.

buzaw0nk avatar buzaw0nk commented on July 23, 2024

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.

ppolewicz avatar ppolewicz commented on July 23, 2024

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.

buzaw0nk avatar buzaw0nk commented on July 23, 2024

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.

ppolewicz avatar ppolewicz commented on July 23, 2024

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.

buzaw0nk avatar buzaw0nk commented on July 23, 2024

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.

ppolewicz avatar ppolewicz commented on July 23, 2024

from b2_command_line_tool.

buzaw0nk avatar buzaw0nk commented on July 23, 2024

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.

ppolewicz avatar ppolewicz commented on July 23, 2024

I suggest that you use 24 threads, unless you are in Asia or Australia, then 48.

from b2_command_line_tool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.