Git Product home page Git Product logo

Comments (5)

alekdavis avatar alekdavis commented on June 20, 2024

I have, but I was afraid it would confuse most users. Which particular parameters would you want to be configurable?

from plexbackup.

patrix87 avatar patrix87 commented on June 20, 2024

Reducing the level of compression would greatly increase performance. Setting it to -mx1 would still reduce the fill size a lot but would make the backup take seconds instead of minutes.

from plexbackup.

alekdavis avatar alekdavis commented on June 20, 2024

@patrix87 : What about other flags (like the CPU utilization)? Wouldn't they need to be configurable as well?

from plexbackup.

yangqi avatar yangqi commented on June 20, 2024

After reading the docs, 7z has multithreading 'on' by default. However, the LZMA2 algorithm it chooses only use 2 thread by default for following reason.

mt=[off | on | {N}]
Sets multithread mode. If you have a multiprocessor or multicore system, you can get a increase with this switch. 7-Zip supports multithread mode only for LZMA / LZMA2 compression and BZip2 compression / decompression. If you specify {N}, for example mt=4, 7-Zip tries to use 4 threads. LZMA compression uses only 2 threads.

LZMA2 uses: 1 thread for each chunk in x1 and x3 modes; and 2 threads for each chunk in x5, x7 and x9 modes. If LZMA2 is set to use only such number of threads required for one chunk, it doesn't split stream to chunks. So you can get different compression ratio for different number of threads. You can get the best compression ratio, when you use 1 or 2 threads.

from plexbackup.

alekdavis avatar alekdavis commented on June 20, 2024

Implemented in v1.7.0. You can specify optional 7-zip switches for compression and decompression in the configuration file.

from plexbackup.

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.