-
-
Notifications
You must be signed in to change notification settings - Fork 246
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
Add LZIP compression #68
Comments
Thought the provided binary was enough to implement support, but it lacks some features needed, so a code implementation or some code changes will be needed:
Optional:
Here a test version. Just for test purposes: Keka-1.1.0-beta.3r2151-lzip.zip |
This looks great!
Unfortunately, the command line version of lzip does not accept folders as an input. I tested a compression with your test version from above and I got an error message, that the archive could not be created. I hope, I could help :)
|
Thanks a lot for your research! In fact yesterday I got in to it and developed a patch so the binary accepts output folders and output filenames 😁 Did not noticed the
Noticed that. I'm currently using bsdtar for gzip and bzip, with lzip I think I'll need to create a two phase (tar first, lzip then). Right now I'm battling with the multivolume decompression, I don't understand why it decompresses each part separately. |
By the way, you use Lzip for backup purposes? |
Really great! Yes, I use Lzip for backups of my nextcloud server to backup all the data and settings. First I put everything into one tar archive and then I compress with Lzip which saves 20% to 30% space. Actually, when I compress only the mysql backup file the result is up to 85% smaller than the input :-) |
GNU tar has built in support for Lzip, gonna try this next, so there'll be no need to make a two step compression and extraction of tarball. |
Trying plzip but getting performance issues, seems to saturate all the CPU threads... |
Yes, I already thought something like this would happen. This compression ist quite a "CPU owner" - demands very much processor power. |
When I install plzip via homebrew I got the problem, that I am not shown the percentual progress, just 0% and 100%, but nothing in between... |
No performance issues? |
In fact now I remember I noticed this too, and this shows the CPU saturation. Here you have more test builds:
The plzip binary does not have the split ability integrated, and I'm yet unable to join an lzip multivolume, so I may just remove this feature altogether. |
|
I'm gonna use lzip for now (without split), I can't even get plzip paused on time. |
Will add an option to use plzip instead: defaults write com.aone.Keka UseMultithreadLzip <true|false> |
Great. This way it will not freeze the system or take too much CPU performance and users still can decide if they want this 😄 👍 |
Anyway I'll try to work on this, since plzip is much more faster for big files. Thanks to this thread I'm now using pigz and lbzip2 on the next Keka, for multithreaded gzip and bzip2 tarballs 😁 |
It would be great, if you could add LZIP to support .lz compression.
http://www.nongnu.org/lzip/lzip.html
The text was updated successfully, but these errors were encountered: